]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 3890/1: [Jornada7xx] Addition of MCU commands into jornada720.h
authorKristoffer Ericson <Kristoffer_e1@com.rmk.(none)>
Sun, 8 Oct 2006 19:00:53 +0000 (20:00 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 14 Oct 2006 15:02:00 +0000 (16:02 +0100)
This adds relevant MCU commands for the j7xx chipset.

Signed-off-by: Kristoffer Ericson <Kristoffer_e1@hotmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-sa1100/jornada720.h

index 1b8e8a304800748cd43179add4c10de2df40a91b..3f37ca07806dc046f25dd832f8b9a52d4da86af2 100644 (file)
 #define GPIO_JORNADA720_KEYBOARD_IRQ   IRQ_GPIO0
 #define GPIO_JORNADA720_MOUSE_IRQ              IRQ_GPIO9
 
+/* MCU COMMANDS */
+#define MCU_GetBatteryData  0xc0
+#define MCU_GetScanKeyCode  0x90
+#define MCU_GetTouchSamples 0xa0
+#define MCU_GetContrast     0xD0
+#define MCU_SetContrast     0xD1
+#define MCU_GetBrightness   0xD2
+#define MCU_SetBrightness   0xD3
+#define MCU_ContrastOff     0xD8
+#define MCU_BrightnessOff   0xD9
+#define MCU_PWMOFF          0xDF
+#define MCU_TxDummy         0x11
+#define MCU_ErrorCode       0x00
+
 #ifndef __ASSEMBLY__
 
 void jornada720_mcu_init(void);