summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include/mach/mioa701.h
diff options
context:
space:
mode:
authorRobert Jarzmik2008-11-18 20:23:32 +0100
committerEric Miao2008-12-02 07:43:48 +0100
commitc96763d4dc2f4032369f068a5d185238e01da478 (patch)
treef6fca23cb7de429019536f6fcbc7dfc81560a55a /arch/arm/mach-pxa/include/mach/mioa701.h
parent[ARM] pxa/MioA701: change reset function to preserve RTC. (diff)
downloadkernel-qcow2-linux-c96763d4dc2f4032369f068a5d185238e01da478.tar.gz
kernel-qcow2-linux-c96763d4dc2f4032369f068a5d185238e01da478.tar.xz
kernel-qcow2-linux-c96763d4dc2f4032369f068a5d185238e01da478.zip
[ARM] pxa/MioA701: discovered new gpio definitions.
The charger enable gpio is straight (1 means draw from USB Vbus, 0 mean do not draw). The USB Vbus sensing is inverted (1 means no Vbus voltage sensed, 0 means Vbus voltage present). Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/mioa701.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/mioa701.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/include/mach/mioa701.h b/arch/arm/mach-pxa/include/mach/mioa701.h
index 8483cb511831..02868447b0b1 100644
--- a/arch/arm/mach-pxa/include/mach/mioa701.h
+++ b/arch/arm/mach-pxa/include/mach/mioa701.h
@@ -10,12 +10,14 @@
(MFP_PIN(pin) | MFP_##af | MFP_DIR_OUT | MFP_LPM_##state))
/* Global GPIOs */
-#define GPIO9_CHARGE_nEN 9
+#define GPIO9_CHARGE_EN 9
#define GPIO18_POWEROFF 18
#define GPIO87_LCD_POWER 87
+#define GPIO96_AC_DETECT 96
+#define GPIO80_MAYBE_CHARGE_VDROP 80 /* Drop of 88mV */
/* USB */
-#define GPIO13_USB_DETECT 13
+#define GPIO13_nUSB_DETECT 13
#define GPIO22_USB_ENABLE 22
/* SDIO bits */
@@ -24,7 +26,10 @@
#define GPIO91_SDIO_EN 91
/* Bluetooth */
+#define GPIO14_BT_nACTIVITY 14
#define GPIO83_BT_ON 83
+#define GPIO77_BT_UNKNOWN1 77
+#define GPIO86_BT_MAYBE_nRESET 86
/* GPS */
#define GPIO23_GPS_UNKNOWN1 23