Commit 5cd372e1 authored by Kristoffer Ericson's avatar Kristoffer Ericson Committed by Russell King
Browse files

[ARM] 3936/1: [Jornada7xx] - No use for jornada720.h



* We don't need this header anymore - there is no data we need to share this way. FB driver gets this data through a resources structure. MCU Driver api will go to a jornada720_mcu.h file.

Signed-off-by: default avatarFilip Zyzniewski <filip.zyzniewski@tefnet.pl>
Signed-off-by: default avatarKristoffer Ericson <Kristoffer_e1@hotmail.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 46ec0ce8
Loading
Loading
Loading
Loading
+0 −42
Original line number Diff line number Diff line
/*
 * linux/include/asm-arm/arch-sa1100/jornada720.h
 *
 * Created 2000/11/29 by John Ankcorn <jca@lcs.mit.edu>
 *
 * This file contains the hardware specific definitions for HP Jornada 720
 *
 */

#ifndef __ASM_ARCH_HARDWARE_H
#error "include <asm/hardware.h> instead"
#endif

#define SA1111_BASE             (0x40000000)

#define GPIO_JORNADA720_KEYBOARD	GPIO_GPIO(0)
#define GPIO_JORNADA720_MOUSE		GPIO_GPIO(9)

#define GPIO_JORNADA720_KEYBOARD_IRQ	IRQ_GPIO0
#define GPIO_JORNADA720_MOUSE_IRQ		IRQ_GPIO9

/* 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);
void jornada_contrast(int arg_contrast);
void jornada720_battery(void);
int jornada720_getkey(unsigned char *data, int size);
#endif