~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-pxa/spitz.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/arm/mach-pxa/spitz.h (Version linux-6.12-rc7) and /arch/i386/mach-pxa/spitz.h (Version linux-6.11.7)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  * Hardware specific definitions for SL-Cx000     
  4  *                                                
  5  * Copyright (c) 2005 Alexander Wykes             
  6  * Copyright (c) 2005 Richard Purdie              
  7  *                                                
  8  * Based on Sharp's 2.4 kernel patches            
  9  */                                               
 10 #ifndef __ASM_ARCH_SPITZ_H                        
 11 #define __ASM_ARCH_SPITZ_H  1                     
 12 #endif                                            
 13                                                   
 14 #include "irqs.h" /* PXA_NR_BUILTIN_GPIO, PXA_    
 15 #include <linux/fb.h>                             
 16                                                   
 17 /* Spitz/Akita GPIOs */                           
 18                                                   
 19 #define SPITZ_GPIO_KEY_INT         (0) /* Key     
 20 #define SPITZ_GPIO_RESET           (1)            
 21 #define SPITZ_GPIO_nSD_DETECT      (9)            
 22 #define SPITZ_GPIO_TP_INT          (11) /* Tou    
 23 #define SPITZ_GPIO_AK_INT          (13) /* Rem    
 24 #define SPITZ_GPIO_ADS7846_CS      (14)           
 25 #define SPITZ_GPIO_SYNC            (16)           
 26 #define SPITZ_GPIO_MAX1111_CS      (20)           
 27 #define SPITZ_GPIO_FATAL_BAT       (21)           
 28 #define SPITZ_GPIO_HSYNC           (22)           
 29 #define SPITZ_GPIO_nSD_CLK         (32)           
 30 #define SPITZ_GPIO_USB_DEVICE      (35)           
 31 #define SPITZ_GPIO_USB_HOST        (37)           
 32 #define SPITZ_GPIO_USB_CONNECT     (41)           
 33 #define SPITZ_GPIO_LCDCON_CS       (53)           
 34 #define SPITZ_GPIO_nPCE            (54)           
 35 #define SPITZ_GPIO_nSD_WP          (81)           
 36 #define SPITZ_GPIO_ON_RESET        (89)           
 37 #define SPITZ_GPIO_BAT_COVER       (90)           
 38 #define SPITZ_GPIO_CF_CD           (94)           
 39 #define SPITZ_GPIO_ON_KEY          (95)           
 40 #define SPITZ_GPIO_SWA             (97)           
 41 #define SPITZ_GPIO_SWB             (96)           
 42 #define SPITZ_GPIO_CHRG_FULL       (101)          
 43 #define SPITZ_GPIO_CO              (101)          
 44 #define SPITZ_GPIO_CF_IRQ          (105)          
 45 #define SPITZ_GPIO_AC_IN           (115)          
 46 #define SPITZ_GPIO_HP_IN           (116)          
 47                                                   
 48 /* Spitz Only GPIOs */                            
 49                                                   
 50 #define SPITZ_GPIO_CF2_IRQ         (106) /* CF    
 51 #define SPITZ_GPIO_CF2_CD          (93)           
 52                                                   
 53                                                   
 54 /* Spitz/Akita Keyboard Definitions */            
 55                                                   
 56 #define SPITZ_KEY_STROBE_NUM         (11)         
 57 #define SPITZ_KEY_SENSE_NUM          (7)          
 58 #define SPITZ_GPIO_G0_STROBE_BIT     0x0f80000    
 59 #define SPITZ_GPIO_G1_STROBE_BIT     0x0010000    
 60 #define SPITZ_GPIO_G2_STROBE_BIT     0x0100000    
 61 #define SPITZ_GPIO_G3_STROBE_BIT     0x0004188    
 62 #define SPITZ_GPIO_G0_SENSE_BIT      0x0002100    
 63 #define SPITZ_GPIO_G1_SENSE_BIT      0x000000d    
 64 #define SPITZ_GPIO_G2_SENSE_BIT      0x0800000    
 65 #define SPITZ_GPIO_G3_SENSE_BIT      0x0000000    
 66                                                   
 67 #define SPITZ_GPIO_KEY_STROBE0       88           
 68 #define SPITZ_GPIO_KEY_STROBE1       23           
 69 #define SPITZ_GPIO_KEY_STROBE2       24           
 70 #define SPITZ_GPIO_KEY_STROBE3       25           
 71 #define SPITZ_GPIO_KEY_STROBE4       26           
 72 #define SPITZ_GPIO_KEY_STROBE5       27           
 73 #define SPITZ_GPIO_KEY_STROBE6       52           
 74 #define SPITZ_GPIO_KEY_STROBE7       103          
 75 #define SPITZ_GPIO_KEY_STROBE8       107          
 76 #define SPITZ_GPIO_KEY_STROBE9       108          
 77 #define SPITZ_GPIO_KEY_STROBE10      114          
 78                                                   
 79 #define SPITZ_GPIO_KEY_SENSE0        12           
 80 #define SPITZ_GPIO_KEY_SENSE1        17           
 81 #define SPITZ_GPIO_KEY_SENSE2        91           
 82 #define SPITZ_GPIO_KEY_SENSE3        34           
 83 #define SPITZ_GPIO_KEY_SENSE4        36           
 84 #define SPITZ_GPIO_KEY_SENSE5        38           
 85 #define SPITZ_GPIO_KEY_SENSE6        39           
 86                                                   
 87                                                   
 88 /* Spitz Scoop Device (No. 1) GPIOs */            
 89 /* Suspend States in comments */                  
 90 #define SPITZ_SCP_LED_GREEN     SCOOP_GPCR_PA1    
 91 #define SPITZ_SCP_JK_B          SCOOP_GPCR_PA1    
 92 #define SPITZ_SCP_CHRG_ON       SCOOP_GPCR_PA1    
 93 #define SPITZ_SCP_MUTE_L        SCOOP_GPCR_PA1    
 94 #define SPITZ_SCP_MUTE_R        SCOOP_GPCR_PA1    
 95 #define SPITZ_SCP_CF_POWER      SCOOP_GPCR_PA1    
 96 #define SPITZ_SCP_LED_ORANGE    SCOOP_GPCR_PA1    
 97 #define SPITZ_SCP_JK_A          SCOOP_GPCR_PA1    
 98 #define SPITZ_SCP_ADC_TEMP_ON   SCOOP_GPCR_PA1    
 99                                                   
100 #define SPITZ_SCP_IO_DIR      (SPITZ_SCP_JK_B     
101                                SPITZ_SCP_MUTE_    
102                                SPITZ_SCP_CF_PO    
103 #define SPITZ_SCP_IO_OUT      (SPITZ_SCP_CHRG_    
104 #define SPITZ_SCP_SUS_CLR     (SPITZ_SCP_MUTE_    
105 #define SPITZ_SCP_SUS_SET     0                   
106                                                   
107 #define SPITZ_SCP_GPIO_BASE     (PXA_NR_BUILTI    
108 #define SPITZ_GPIO_LED_GREEN    (SPITZ_SCP_GPI    
109 #define SPITZ_GPIO_JK_B         (SPITZ_SCP_GPI    
110 #define SPITZ_GPIO_CHRG_ON      (SPITZ_SCP_GPI    
111 #define SPITZ_GPIO_MUTE_L       (SPITZ_SCP_GPI    
112 #define SPITZ_GPIO_MUTE_R       (SPITZ_SCP_GPI    
113 #define SPITZ_GPIO_CF_POWER     (SPITZ_SCP_GPI    
114 #define SPITZ_GPIO_LED_ORANGE   (SPITZ_SCP_GPI    
115 #define SPITZ_GPIO_JK_A         (SPITZ_SCP_GPI    
116 #define SPITZ_GPIO_ADC_TEMP_ON  (SPITZ_SCP_GPI    
117                                                   
118 /* Spitz Scoop Device (No. 2) GPIOs */            
119 /* Suspend States in comments */                  
120 #define SPITZ_SCP2_IR_ON           SCOOP_GPCR_    
121 #define SPITZ_SCP2_AKIN_PULLUP     SCOOP_GPCR_    
122 #define SPITZ_SCP2_RESERVED_1      SCOOP_GPCR_    
123 #define SPITZ_SCP2_RESERVED_2      SCOOP_GPCR_    
124 #define SPITZ_SCP2_RESERVED_3      SCOOP_GPCR_    
125 #define SPITZ_SCP2_RESERVED_4      SCOOP_GPCR_    
126 #define SPITZ_SCP2_BACKLIGHT_CONT  SCOOP_GPCR_    
127 #define SPITZ_SCP2_BACKLIGHT_ON    SCOOP_GPCR_    
128 #define SPITZ_SCP2_MIC_BIAS        SCOOP_GPCR_    
129                                                   
130 #define SPITZ_SCP2_IO_DIR (SPITZ_SCP2_AKIN_PUL    
131                            SPITZ_SCP2_RESERVED    
132                            SPITZ_SCP2_BACKLIGH    
133                                                   
134 #define SPITZ_SCP2_IO_OUT   (SPITZ_SCP2_AKIN_P    
135 #define SPITZ_SCP2_SUS_CLR  (SPITZ_SCP2_RESERV    
136                              SPITZ_SCP2_BACKLI    
137 #define SPITZ_SCP2_SUS_SET  (SPITZ_SCP2_IR_ON     
138                                                   
139 #define SPITZ_SCP2_GPIO_BASE            (PXA_N    
140 #define SPITZ_GPIO_IR_ON                (SPITZ    
141 #define SPITZ_GPIO_AKIN_PULLUP          (SPITZ    
142 #define SPITZ_GPIO_RESERVED_1           (SPITZ    
143 #define SPITZ_GPIO_RESERVED_2           (SPITZ    
144 #define SPITZ_GPIO_RESERVED_3           (SPITZ    
145 #define SPITZ_GPIO_RESERVED_4           (SPITZ    
146 #define SPITZ_GPIO_BACKLIGHT_CONT       (SPITZ    
147 #define SPITZ_GPIO_BACKLIGHT_ON         (SPITZ    
148 #define SPITZ_GPIO_MIC_BIAS             (SPITZ    
149                                                   
150 /* Akita IO Expander GPIOs */                     
151 #define AKITA_IOEXP_GPIO_BASE           (PXA_N    
152 #define AKITA_GPIO_RESERVED_0           (AKITA    
153 #define AKITA_GPIO_RESERVED_1           (AKITA    
154 #define AKITA_GPIO_MIC_BIAS             (AKITA    
155 #define AKITA_GPIO_BACKLIGHT_ON         (AKITA    
156 #define AKITA_GPIO_BACKLIGHT_CONT       (AKITA    
157 #define AKITA_GPIO_AKIN_PULLUP          (AKITA    
158 #define AKITA_GPIO_IR_ON                (AKITA    
159 #define AKITA_GPIO_RESERVED_7           (AKITA    
160                                                   
161 /* Spitz IRQ Definitions */                       
162                                                   
163 #define SPITZ_IRQ_GPIO_KEY_INT        PXA_GPIO    
164 #define SPITZ_IRQ_GPIO_AC_IN          PXA_GPIO    
165 #define SPITZ_IRQ_GPIO_AK_INT         PXA_GPIO    
166 #define SPITZ_IRQ_GPIO_HP_IN          PXA_GPIO    
167 #define SPITZ_IRQ_GPIO_TP_INT         PXA_GPIO    
168 #define SPITZ_IRQ_GPIO_SYNC           PXA_GPIO    
169 #define SPITZ_IRQ_GPIO_ON_KEY         PXA_GPIO    
170 #define SPITZ_IRQ_GPIO_SWA            PXA_GPIO    
171 #define SPITZ_IRQ_GPIO_SWB            PXA_GPIO    
172 #define SPITZ_IRQ_GPIO_BAT_COVER      PXA_GPIO    
173 #define SPITZ_IRQ_GPIO_FATAL_BAT      PXA_GPIO    
174 #define SPITZ_IRQ_GPIO_CO             PXA_GPIO    
175 #define SPITZ_IRQ_GPIO_CF_IRQ         PXA_GPIO    
176 #define SPITZ_IRQ_GPIO_CF_CD          PXA_GPIO    
177 #define SPITZ_IRQ_GPIO_CF2_IRQ        PXA_GPIO    
178 #define SPITZ_IRQ_GPIO_nSD_INT        PXA_GPIO    
179 #define SPITZ_IRQ_GPIO_nSD_DETECT     PXA_GPIO    
180                                                   
181 /*                                                
182  * Shared data structures                         
183  */                                               
184 extern struct platform_device spitzssp_device;    
185 extern struct sharpsl_charger_machinfo spitz_p    
186                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php