hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/mach-pxa/include/mach/tosa.h
....@@ -1,14 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Hardware specific definitions for Sharp SL-C6000x series of PDAs
34 *
45 * Copyright (c) 2005 Dirk Opfer
56 *
67 * 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
- *
128 */
139 #ifndef _ASM_ARCH_TOSA_H_
1410 #define _ASM_ARCH_TOSA_H_ 1
....@@ -75,18 +71,6 @@
7571 #define TOSA_GPIO_BAT_SW_ON (TOSA_TC6393XB_GPIO_BASE + 12)
7672 #define TOSA_GPIO_BAT0_TH_ON (TOSA_TC6393XB_GPIO_BASE + 14)
7773 #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
9074
9175 /*
9276 * PXA GPIOs
....@@ -195,8 +179,5 @@
195179 #define TOSA_KEY_FN KEY_FN
196180 #define TOSA_KEY_MAIL KEY_MAIL
197181 #endif
198
-
199
-struct spi_device;
200
-extern int tosa_bl_enable(struct spi_device *spi, int enable);
201182
202183 #endif /* _ASM_ARCH_TOSA_H_ */