• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/arm/mach-sa1100/include/mach/
1/*
2 * arch/arm/mach-sa1100/include/mach/jornada720.h
3 *
4 * SSP/MCU communication definitions for HP Jornada 710/720/728
5 *
6 * Copyright 2007,2008 Kristoffer Ericson <Kristoffer.Ericson@gmail.com>
7 *  Copyright 2000 John Ankcorn <jca@lcs.mit.edu>
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
28
29extern void jornada_ssp_start(void);
30extern void jornada_ssp_end(void);
31extern int jornada_ssp_inout(u8 byte);
32extern int jornada_ssp_byte(u8 byte);
33