Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia Add TEGRA_EHCI_PHY_VBUS_WAKEUP_ID_REG an...
details: https://anonhg.NetBSD.org/src/rev/85616d97aafe
branches: trunk
changeset: 350806:85616d97aafe
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sun Jan 22 17:46:20 2017 +0000
description:
Add TEGRA_EHCI_PHY_VBUS_WAKEUP_ID_REG and bit definitions.
diffstat:
sys/arch/arm/nvidia/tegra_usbreg.h | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r bccc5b7071ab -r 85616d97aafe sys/arch/arm/nvidia/tegra_usbreg.h
--- a/sys/arch/arm/nvidia/tegra_usbreg.h Sun Jan 22 17:43:23 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_usbreg.h Sun Jan 22 17:46:20 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_usbreg.h,v 1.1 2015/10/21 20:02:12 jmcneill Exp $ */
+/* $NetBSD: tegra_usbreg.h,v 1.2 2017/01/22 17:46:20 jakllsch Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -75,6 +75,15 @@
#define TEGRA_EHCI_PHY_VBUS_SENSORS_B_VLD_SW_VALUE __BIT(12)
#define TEGRA_EHCI_PHY_VBUS_SENSORS_B_VLD_SW_EN __BIT(11)
+#define TEGRA_EHCI_PHY_VBUS_WAKEUP_ID_REG 0x408
+#define TEGRA_EHCI_PHY_VBUS_WAKEUP_ID_ID_PU __BIT(6)
+#define TEGRA_EHCI_PHY_VBUS_WAKEUP_ID_ID_DEB_SEL_B __BIT(5)
+#define TEGRA_EHCI_PHY_VBUS_WAKEUP_ID_ID_SW_VALUE __BIT(4)
+#define TEGRA_EHCI_PHY_VBUS_WAKEUP_ID_ID_SW_EN __BIT(3)
+#define TEGRA_EHCI_PHY_VBUS_WAKEUP_ID_ID_STS __BIT(2)
+#define TEGRA_EHCI_PHY_VBUS_WAKEUP_ID_ID_CHG_DET __BIT(1)
+#define TEGRA_EHCI_PHY_VBUS_WAKEUP_ID_ID_INT_EN __BIT(0)
+
#define TEGRA_EHCI_UTMIP_XCVR_CFG0_REG 0x808
#define TEGRA_EHCI_UTMIP_XCVR_CFG0_HSSLEW_MSB __BITS(31,25)
#define TEGRA_EHCI_UTMIP_XCVR_CFG0_SETUP_MSB __BITS(24,22)
Home |
Main Index |
Thread Index |
Old Index