aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
authorKristoffer Ericson <Kristoffer_e1@com.rmk.(none)>2006-10-08 15:00:53 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-10-14 11:02:00 -0400
commit8e25b84e76a0b2c117218405818cadd591512ff8 (patch)
tree818265b09fd9f29bc60fa94a24190a31c4c74fa4 /include/asm-arm
parent48e3becbee8906b44050c9300b668227b85f0c95 (diff)
[ARM] 3890/1: [Jornada7xx] Addition of MCU commands into jornada720.h
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>
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/arch-sa1100/jornada720.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-arm/arch-sa1100/jornada720.h b/include/asm-arm/arch-sa1100/jornada720.h
index 1b8e8a304800..3f37ca07806d 100644
--- a/include/asm-arm/arch-sa1100/jornada720.h
+++ b/include/asm-arm/arch-sa1100/jornada720.h
@@ -19,6 +19,20 @@
19#define GPIO_JORNADA720_KEYBOARD_IRQ IRQ_GPIO0 19#define GPIO_JORNADA720_KEYBOARD_IRQ IRQ_GPIO0
20#define GPIO_JORNADA720_MOUSE_IRQ IRQ_GPIO9 20#define GPIO_JORNADA720_MOUSE_IRQ IRQ_GPIO9
21 21
22/* MCU COMMANDS */
23#define MCU_GetBatteryData 0xc0
24#define MCU_GetScanKeyCode 0x90
25#define MCU_GetTouchSamples 0xa0
26#define MCU_GetContrast 0xD0
27#define MCU_SetContrast 0xD1
28#define MCU_GetBrightness 0xD2
29#define MCU_SetBrightness 0xD3
30#define MCU_ContrastOff 0xD8
31#define MCU_BrightnessOff 0xD9
32#define MCU_PWMOFF 0xDF
33#define MCU_TxDummy 0x11
34#define MCU_ErrorCode 0x00
35
22#ifndef __ASSEMBLY__ 36#ifndef __ASSEMBLY__
23 37
24void jornada720_mcu_init(void); 38void jornada720_mcu_init(void);