xref: /linux/arch/arm/mach-sa1100/include/mach/jornada720.h (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1*d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
2a09e64fbSRussell King /*
3a09e64fbSRussell King  * arch/arm/mach-sa1100/include/mach/jornada720.h
4a09e64fbSRussell King  *
558005b32SKristoffer Ericson  * SSP/MCU communication definitions for HP Jornada 710/720/728
6a09e64fbSRussell King  *
758005b32SKristoffer Ericson  * Copyright 2007,2008 Kristoffer Ericson <Kristoffer.Ericson@gmail.com>
858005b32SKristoffer Ericson  *  Copyright 2000 John Ankcorn <jca@lcs.mit.edu>
9a09e64fbSRussell King  */
10a09e64fbSRussell King 
11a09e64fbSRussell King  /* HP Jornada 7xx microprocessor commands */
12a09e64fbSRussell King #define GETBATTERYDATA		0xc0
13a09e64fbSRussell King #define GETSCANKEYCODE		0x90
14a09e64fbSRussell King #define GETTOUCHSAMPLES		0xa0
15a09e64fbSRussell King #define GETCONTRAST		0xD0
16a09e64fbSRussell King #define SETCONTRAST		0xD1
17a09e64fbSRussell King #define GETBRIGHTNESS		0xD2
18a09e64fbSRussell King #define SETBRIGHTNESS		0xD3
19a09e64fbSRussell King #define CONTRASTOFF		0xD8
20a09e64fbSRussell King #define BRIGHTNESSOFF		0xD9
21a09e64fbSRussell King #define PWMOFF			0xDF
22a09e64fbSRussell King #define TXDUMMY			0x11
23a09e64fbSRussell King #define ERRORCODE		0x00
2458005b32SKristoffer Ericson 
2558005b32SKristoffer Ericson extern void jornada_ssp_start(void);
2658005b32SKristoffer Ericson extern void jornada_ssp_end(void);
2758005b32SKristoffer Ericson extern int jornada_ssp_inout(u8 byte);
2858005b32SKristoffer Ericson extern int jornada_ssp_byte(u8 byte);
29