From: <bob...@us...> - 2007-07-28 07:36:04
|
Revision: 1214 http://hackndev.svn.sourceforge.net/hackndev/?rev=1214&view=rev Author: bobofdoom Date: 2007-07-28 00:36:00 -0700 (Sat, 28 Jul 2007) Log Message: ----------- PalmT650: Added GPIO definitions for GSM wake signals. Modified Paths: -------------- linux4palm/linux/trunk/include/asm-arm/arch-pxa/palmt650-gpio.h Modified: linux4palm/linux/trunk/include/asm-arm/arch-pxa/palmt650-gpio.h =================================================================== --- linux4palm/linux/trunk/include/asm-arm/arch-pxa/palmt650-gpio.h 2007-07-28 07:35:11 UTC (rev 1213) +++ linux4palm/linux/trunk/include/asm-arm/arch-pxa/palmt650-gpio.h 2007-07-28 07:36:00 UTC (rev 1214) @@ -66,6 +66,8 @@ #define GPIO_NR_PALMT650_LCD_POWER 20 #define GPIO_NR_PALMT650_LCD_FADEOUT 77 /* switching this GPIO makes LCD fade out */ #define GPIO_NR_PALMT650_USB_PULLUP 114 +#define GPIO_NR_PALMT650_GSM_HOST_WAKE 11 +#define GPIO_NR_PALMT650_GSM_WAKE 57 #define GPIO_NR_PALMT650_KP_MKIN0 100 #define GPIO_NR_PALMT650_KP_MKIN1 101 @@ -95,6 +97,8 @@ #define IRQ_GPIO_PALMT650_SD_DETECT_N IRQ_GPIO(GPIO_NR_PALMT650_SD_DETECT_N) #define IRQ_GPIO_PALMT650_WM9712_IRQ IRQ_GPIO(GPIO_NR_PALMT650_WM9712_IRQ) +#define IRQ_GPIO_PALMT650_GSM_HOST_WAKE IRQ_GPIO(GPIO_NR_PALMT650_GSM_HOST_WAKE) +#define IRQ_GPIO_PALMT650_GSM_WAKE IRQ_GPIO(GPIO_NR_PALMT650_GSM_WAKE) #define GPIO_NR_PALMT650_KP_MKIN0_MD (GPIO_NR_PALMT650_KP_MKIN0 | GPIO_ALT_FN_1_IN) #define GPIO_NR_PALMT650_KP_MKIN1_MD (GPIO_NR_PALMT650_KP_MKIN1 | GPIO_ALT_FN_1_IN) @@ -113,7 +117,9 @@ #define GPIO_NR_PALMT650_KP_MKOUT5_MD (GPIO_NR_PALMT650_KP_MKOUT5 | GPIO_ALT_FN_2_OUT) #define GPIO_NR_PALMT650_KP_MKOUT6_MD (GPIO_NR_PALMT650_KP_MKOUT6 | GPIO_ALT_FN_1_OUT) -#define GPIO_NR_PALMT650_USB_PULLUP_MD (GPIO_NR_PALMT650_USB_PULLUP | GPIO_OUT) +#define GPIO_NR_PALMT650_USB_PULLUP_MD (GPIO_NR_PALMT650_USB_PULLUP | GPIO_OUT) +#define GPIO_NR_PALMT650_GSM_HOST_WAKE_MD (GPIO_NR_PALMT650_GSM_HOST_WAKE | GPIO_IN) +#define GPIO_NR_PALMT650_GSM_WAKE_MD (GPIO_NR_PALMT650_GSM_WAKE | GPIO_OUT) /* Utility macros */ #define GET_PALMT650_GPIO(gpio) \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |