Commit | Line | Data |
---|---|---|
69ebb222 | 1 | /* |
a09e64fb | 2 | * arch/arm/mach-sa1100/include/mach/jornada720.h |
69ebb222 | 3 | * |
58005b32 | 4 | * SSP/MCU communication definitions for HP Jornada 710/720/728 |
69ebb222 | 5 | * |
58005b32 KE |
6 | * Copyright 2007,2008 Kristoffer Ericson <Kristoffer.Ericson@gmail.com> |
7 | * Copyright 2000 John Ankcorn <jca@lcs.mit.edu> | |
69ebb222 KE |
8 | * |
9 | * This program is free software; you can redistribute it and/or modify | |
10 | * it under the terms of the GNU General Public License version 2 as | |
11 | * published by the Free Software Foundation. | |
12 | * | |
13 | */ | |
14 | ||
15 | /* HP Jornada 7xx microprocessor commands */ | |
16 | #define GETBATTERYDATA 0xc0 | |
17 | #define GETSCANKEYCODE 0x90 | |
18 | #define GETTOUCHSAMPLES 0xa0 | |
19 | #define GETCONTRAST 0xD0 | |
20 | #define SETCONTRAST 0xD1 | |
21 | #define GETBRIGHTNESS 0xD2 | |
22 | #define SETBRIGHTNESS 0xD3 | |
23 | #define CONTRASTOFF 0xD8 | |
24 | #define BRIGHTNESSOFF 0xD9 | |
25 | #define PWMOFF 0xDF | |
26 | #define TXDUMMY 0x11 | |
27 | #define ERRORCODE 0x00 | |
58005b32 KE |
28 | |
29 | extern void jornada_ssp_start(void); | |
30 | extern void jornada_ssp_end(void); | |
31 | extern int jornada_ssp_inout(u8 byte); | |
32 | extern int jornada_ssp_byte(u8 byte); |