提交 8e25b84e 编写于 作者: K Kristoffer Ericson 提交者: Russell King

[ARM] 3890/1: [Jornada7xx] Addition of MCU commands into jornada720.h

This adds relevant MCU commands for the j7xx chipset.
Signed-off-by: NKristoffer Ericson <Kristoffer_e1@hotmail.com>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 48e3becb
...@@ -19,6 +19,20 @@ ...@@ -19,6 +19,20 @@
#define GPIO_JORNADA720_KEYBOARD_IRQ IRQ_GPIO0 #define GPIO_JORNADA720_KEYBOARD_IRQ IRQ_GPIO0
#define GPIO_JORNADA720_MOUSE_IRQ IRQ_GPIO9 #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__ #ifndef __ASSEMBLY__
void jornada720_mcu_init(void); void jornada720_mcu_init(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册