diff options
author | Kristoffer Ericson <kristoffer_e1@hotmail.com> | 2006-07-03 00:45:47 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-07-03 00:45:47 +0000 |
commit | 41877a64eb6d2e3ad8722ea89eb8eaa424a73516 (patch) | |
tree | 86275c4add84fc65d3619c8135b837c31b10dac4 /packages/linux/linux-jlime-arm-2.6.17/AsmArm-ArchSa1100-Jornada720.patch | |
parent | c2fd5f3f9f19914fc7a1e41ffdc9935f54022b49 (diff) |
packages/linux/linux-jlime-arm-2.6.17/* : Addition of patches for HP 7xx
* Addition of patches to make the vanilla kernel know of the
HP Jornada 7xx. Patches kept seperate because development is ongoing.
Should work resonable though and should get incorperated into
the mainline tree within 1-2 versions.
packages/linux/linux-jlime-arm_2.6.17.bb: Changes to reflect updates
* Addition of patches to file and also removal of all sh leftovers.
Diffstat (limited to 'packages/linux/linux-jlime-arm-2.6.17/AsmArm-ArchSa1100-Jornada720.patch')
-rw-r--r-- | packages/linux/linux-jlime-arm-2.6.17/AsmArm-ArchSa1100-Jornada720.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/linux/linux-jlime-arm-2.6.17/AsmArm-ArchSa1100-Jornada720.patch b/packages/linux/linux-jlime-arm-2.6.17/AsmArm-ArchSa1100-Jornada720.patch new file mode 100644 index 0000000000..a1bc077242 --- /dev/null +++ b/packages/linux/linux-jlime-arm-2.6.17/AsmArm-ArchSa1100-Jornada720.patch @@ -0,0 +1,40 @@ +--- linux-2.6.17/include/asm-arm/arch-sa1100/jornada720.h_orig 2006-07-02 23:42:42.000000000 +0000 ++++ linux-2.6.17/include/asm-arm/arch-sa1100/jornada720.h 2006-07-02 23:50:32.000000000 +0000 +@@ -19,9 +19,37 @@ + #define GPIO_JORNADA720_KEYBOARD_IRQ IRQ_GPIO0 + #define GPIO_JORNADA720_MOUSE_IRQ IRQ_GPIO9 + ++/* Epson 1356 LCD controll parameters */ ++#define REGISTER_OFFSET ((unsigned char *) 0xf00000000) ++#define DISP_MEM_OFFSET ((unsigned char *) 0xf10000000) ++#define DISP_MEM_OFFSET_PHYS ((unsigned char *) 0x482000000) ++ ++#define MAX_BPP 16 ++#define MAX_XRES 640 ++#define MAX_YRES 240 ++#define MIN_XRES 64 ++#define MIN_YRES 64 ++ ++/* 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); ++int jornada720_mcu_byte(int arg_data); ++int jornada720_mcu_start(int arg_data); ++voide jornada720_mcu_end(void); + void jornada_contrast(int arg_contrast); + void jornada720_battery(void); + int jornada720_getkey(unsigned char *data, int size); |