| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Hardware specific definitions for Sharp SL-C6000x series of PDAs |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2005 Dirk Opfer |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Based on Sharp's 2.4 kernel patches |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 9 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 10 | | - * published by the Free Software Foundation. |
|---|
| 11 | | - * |
|---|
| 12 | 8 | */ |
|---|
| 13 | 9 | #ifndef _ASM_ARCH_TOSA_H_ |
|---|
| 14 | 10 | #define _ASM_ARCH_TOSA_H_ 1 |
|---|
| .. | .. |
|---|
| 75 | 71 | #define TOSA_GPIO_BAT_SW_ON (TOSA_TC6393XB_GPIO_BASE + 12) |
|---|
| 76 | 72 | #define TOSA_GPIO_BAT0_TH_ON (TOSA_TC6393XB_GPIO_BASE + 14) |
|---|
| 77 | 73 | #define TOSA_GPIO_BAT1_TH_ON (TOSA_TC6393XB_GPIO_BASE + 15) |
|---|
| 78 | | - |
|---|
| 79 | | -/* |
|---|
| 80 | | - * Timing Generator |
|---|
| 81 | | - */ |
|---|
| 82 | | -#define TG_PNLCTL 0x00 |
|---|
| 83 | | -#define TG_TPOSCTL 0x01 |
|---|
| 84 | | -#define TG_DUTYCTL 0x02 |
|---|
| 85 | | -#define TG_GPOSR 0x03 |
|---|
| 86 | | -#define TG_GPODR1 0x04 |
|---|
| 87 | | -#define TG_GPODR2 0x05 |
|---|
| 88 | | -#define TG_PINICTL 0x06 |
|---|
| 89 | | -#define TG_HPOSCTL 0x07 |
|---|
| 90 | 74 | |
|---|
| 91 | 75 | /* |
|---|
| 92 | 76 | * PXA GPIOs |
|---|
| .. | .. |
|---|
| 195 | 179 | #define TOSA_KEY_FN KEY_FN |
|---|
| 196 | 180 | #define TOSA_KEY_MAIL KEY_MAIL |
|---|
| 197 | 181 | #endif |
|---|
| 198 | | - |
|---|
| 199 | | -struct spi_device; |
|---|
| 200 | | -extern int tosa_bl_enable(struct spi_device *spi, int enable); |
|---|
| 201 | 182 | |
|---|
| 202 | 183 | #endif /* _ASM_ARCH_TOSA_H_ */ |
|---|