2
* arch/arm/mach-sa1100/include/mach/jornada720.h
4
* SSP/MCU communication definitions for HP Jornada 710/720/728
6
* Copyright 2007,2008 Kristoffer Ericson <Kristoffer.Ericson@gmail.com>
7
* Copyright 2000 John Ankcorn <jca@lcs.mit.edu>
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.
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
27
#define ERRORCODE 0x00
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);