From: Leblanc f. <fle...@us...> - 2002-06-13 07:45:23
|
Update of /cvsroot/linux-mips/linux/include/asm-mips/vr41xx In directory usw-pr-cvs1:/tmp/cvs-serv8622/include/asm-mips/vr41xx Modified Files: e15.h Log Message: *Casio cassiopeia E15 halt/restart full support throw win ce. *Gpio mapping update. Index: e15.h =================================================================== RCS file: /cvsroot/linux-mips/linux/include/asm-mips/vr41xx/e15.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- e15.h 23 Apr 2002 13:14:29 -0000 1.2 +++ e15.h 13 Jun 2002 07:45:20 -0000 1.3 @@ -50,7 +50,7 @@ #define FB_Y_RES 320 #define FB_BPP 4 #define FB_IS_GREY 1 -#define FB_IS_INVERSE 0 //1 +#define FB_IS_INVERSE 1 // GPIO[27] is speaker power on/off bit #define VR41XX_ENABLE_SPEAKER() \ @@ -86,10 +86,17 @@ /* GPIO buttons mapping from GPIO0 to GPIO31 */ #define GPIO_BTN_MAP { \ - 0, 0, 0, 0, 0, BTN_POWER_GPIO, BTN_ACTION, BTN_EXIT, \ - BTN_AP3, BTN_AP2, BTN_AP1, BTN_AP4, BTN_UP, BTN_DOWN, BTN_SYNC, \ - 0, 0, BTN_NOTIFICATION, 0, BTN_NOTIFICATION, 0, 0, 0, \ + 0, BTN_AP13, BTN_AP14, BTN_AP15, BTN_AP16, BTN_POWER_GPIO, BTN_ACTION, BTN_EXIT, \ + BTN_AP3, BTN_AP2, BTN_AP1, BTN_AP4, BTN_DOWN, BTN_UP, BTN_DOWN, BTN_AP12, \ + BTN_AP6, BTN_AP7, BTN_NOTIFICATION, BTN_AP8, BTN_NOTIFICATION, BTN_AP9, BTN_AP10, BTN_AP11, \ 0, 0, 0, 0, 0, BTN_NORTH, BTN_WEST, BTN_EAST \ } + +#define GPIO_BTN_PRESS_LOW + +#define VR41XX_ENABLE_SERIAL(x) do { } while (0) +#define VR41XX_DISABLE_SERIAL(x) do { } while (0) +#define VR41XX_ENABLE_IRDA() do { } while (0) +#define VR41XX_DISABLE_IRDA() do { } while (0) #endif /* __CASIO_E15_H */ |