Path: blob/master/arch/sh/include/mach-common/mach/hp6xx.h
26495 views
/* SPDX-License-Identifier: GPL-2.01*2* Copyright (C) 2003, 2004, 2005 Andriy Skulysh3*/4#ifndef __ASM_SH_HP6XX_H5#define __ASM_SH_HP6XX_H67#include <linux/sh_intc.h>89#define HP680_BTN_IRQ evt2irq(0x600) /* IRQ0_IRQ */10#define HP680_TS_IRQ evt2irq(0x660) /* IRQ3_IRQ */11#define HP680_HD64461_IRQ evt2irq(0x680) /* IRQ4_IRQ */1213#define DAC_LCD_BRIGHTNESS 014#define DAC_SPEAKER_VOLUME 11516#define PGDR_OPENED 0x0117#define PGDR_MAIN_BATTERY_OUT 0x0418#define PGDR_PLAY_BUTTON 0x0819#define PGDR_REWIND_BUTTON 0x1020#define PGDR_RECORD_BUTTON 0x202122#define PHDR_TS_PEN_DOWN 0x082324#define PJDR_LED_BLINK 0x022526#define PKDR_LED_GREEN 0x102728/* HP Palmtop 620lx/660lx speaker on/off */29#define PKDR_SPEAKER 0x203031#define SCPDR_TS_SCAN_ENABLE 0x2032#define SCPDR_TS_SCAN_Y 0x0233#define SCPDR_TS_SCAN_X 0x013435#define SCPCR_TS_ENABLE 0x40536#define SCPCR_TS_MASK 0xc0f3738#define ADC_CHANNEL_TS_Y 139#define ADC_CHANNEL_TS_X 240#define ADC_CHANNEL_BATTERY 341#define ADC_CHANNEL_BACKUP 442#define ADC_CHANNEL_CHARGE 54344/* HP Jornada 680/690 speaker on/off */45#define HD64461_GPADR_SPEAKER 0x0146#define HD64461_GPADR_PCMCIA0 (0x02|0x08)4748#define HD64461_GPBDR_LCDOFF 0x0149#define HD64461_GPBDR_LCD_CONTRAST_MASK 0x7850#define HD64461_GPBDR_LED_RED 0x805152#include <asm/hd64461.h>53#include <asm/io.h>5455#define PJDR 0xa400013056#define PKDR 0xa40001325758#endif /* __ASM_SH_HP6XX_H */596061