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

TOMOYO Linux Cross Reference
Linux/include/dt-bindings/pinctrl/pinctrl-starfive-jh7100.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/dt-bindings/pinctrl/pinctrl-starfive-jh7100.h (Version linux-6.11-rc3) and /include/dt-bindings/pinctrl/pinctrl-starfive-jh7100.h (Version linux-5.19.17)


  1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */       1 
  2 /*                                                
  3  * Copyright (C) 2021 Emil Renner Berthing <ke    
  4  */                                               
  5                                                   
  6 #ifndef __DT_BINDINGS_PINCTRL_STARFIVE_JH7100_    
  7 #define __DT_BINDINGS_PINCTRL_STARFIVE_JH7100_    
  8                                                   
  9 #define PAD_GPIO_OFFSET         0                 
 10 #define PAD_FUNC_SHARE_OFFSET   64                
 11 #define PAD_GPIO(x)             (PAD_GPIO_OFFS    
 12 #define PAD_FUNC_SHARE(x)       (PAD_FUNC_SHAR    
 13                                                   
 14 /*                                                
 15  * GPIOMUX bits:                                  
 16  *  | 31 - 24 | 23 - 16 | 15 - 8 |     7    |     
 17  *  |  dout   |  doen   |  din   | dout rev |     
 18  *                                                
 19  * dout:     output signal                        
 20  * doen:     output enable signal                 
 21  * din:      optional input signal, 0xff = non    
 22  * dout rev: output signal reverse bit            
 23  * doen rev: output enable signal reverse bit     
 24  * gpio nr:  gpio number, 0 - 63                  
 25  */                                               
 26 #define GPIOMUX(n, dout, doen, din) ( \           
 27                 (((dout) & 0x80000000) >> (31     
 28                 (((doen) & 0x80000000) >> (31     
 29                 (((din) & 0xff) << 8) | \         
 30                 ((n) & 0x3f))                     
 31                                                   
 32 #define GPO_REVERSE                               
 33                                                   
 34 #define GPO_LOW                                   
 35 #define GPO_HIGH                                  
 36 #define GPO_ENABLE                                
 37 #define GPO_DISABLE                               
 38 #define GPO_CLK_GMAC_PAPHYREF                     
 39 #define GPO_JTAG_TDO                              
 40 #define GPO_JTAG_TDO_OEN                          
 41 #define GPO_DMIC_CLK_OUT                          
 42 #define GPO_DSP_JTDOEN_PAD                        
 43 #define GPO_DSP_JTDO_PAD                          
 44 #define GPO_I2C0_PAD_SCK_OE                       
 45 #define GPO_I2C0_PAD_SCK_OEN                      
 46 #define GPO_I2C0_PAD_SDA_OE                       
 47 #define GPO_I2C0_PAD_SDA_OEN                      
 48 #define GPO_I2C1_PAD_SCK_OE                       
 49 #define GPO_I2C1_PAD_SCK_OEN                      
 50 #define GPO_I2C1_PAD_SDA_OE                       
 51 #define GPO_I2C1_PAD_SDA_OEN                      
 52 #define GPO_I2C2_PAD_SCK_OE                       
 53 #define GPO_I2C2_PAD_SCK_OEN                      
 54 #define GPO_I2C2_PAD_SDA_OE                       
 55 #define GPO_I2C2_PAD_SDA_OEN                      
 56 #define GPO_I2C3_PAD_SCK_OE                       
 57 #define GPO_I2C3_PAD_SCK_OEN                      
 58 #define GPO_I2C3_PAD_SDA_OE                       
 59 #define GPO_I2C3_PAD_SDA_OEN                      
 60 #define GPO_I2SRX_BCLK_OUT                        
 61 #define GPO_I2SRX_BCLK_OUT_OEN                    
 62 #define GPO_I2SRX_LRCK_OUT                        
 63 #define GPO_I2SRX_LRCK_OUT_OEN                    
 64 #define GPO_I2SRX_MCLK_OUT                        
 65 #define GPO_I2STX_BCLK_OUT                        
 66 #define GPO_I2STX_BCLK_OUT_OEN                    
 67 #define GPO_I2STX_LRCK_OUT                        
 68 #define GPO_I2STX_LRCK_OUT_OEN                    
 69 #define GPO_I2STX_MCLK_OUT                        
 70 #define GPO_I2STX_SDOUT0                          
 71 #define GPO_I2STX_SDOUT1                          
 72 #define GPO_LCD_PAD_CSM_N                         
 73 #define GPO_PWM_PAD_OE_N_BIT0                     
 74 #define GPO_PWM_PAD_OE_N_BIT1                     
 75 #define GPO_PWM_PAD_OE_N_BIT2                     
 76 #define GPO_PWM_PAD_OE_N_BIT3                     
 77 #define GPO_PWM_PAD_OE_N_BIT4                     
 78 #define GPO_PWM_PAD_OE_N_BIT5                     
 79 #define GPO_PWM_PAD_OE_N_BIT6                     
 80 #define GPO_PWM_PAD_OE_N_BIT7                     
 81 #define GPO_PWM_PAD_OUT_BIT0                      
 82 #define GPO_PWM_PAD_OUT_BIT1                      
 83 #define GPO_PWM_PAD_OUT_BIT2                      
 84 #define GPO_PWM_PAD_OUT_BIT3                      
 85 #define GPO_PWM_PAD_OUT_BIT4                      
 86 #define GPO_PWM_PAD_OUT_BIT5                      
 87 #define GPO_PWM_PAD_OUT_BIT6                      
 88 #define GPO_PWM_PAD_OUT_BIT7                      
 89 #define GPO_PWMDAC_LEFT_OUT                       
 90 #define GPO_PWMDAC_RIGHT_OUT                      
 91 #define GPO_QSPI_CSN1_OUT                         
 92 #define GPO_QSPI_CSN2_OUT                         
 93 #define GPO_QSPI_CSN3_OUT                         
 94 #define GPO_REGISTER23_SCFG_CMSENSOR_RST0         
 95 #define GPO_REGISTER23_SCFG_CMSENSOR_RST1         
 96 #define GPO_REGISTER32_SCFG_GMAC_PHY_RSTN         
 97 #define GPO_SDIO0_PAD_CARD_POWER_EN               
 98 #define GPO_SDIO0_PAD_CCLK_OUT                    
 99 #define GPO_SDIO0_PAD_CCMD_OE                     
100 #define GPO_SDIO0_PAD_CCMD_OEN                    
101 #define GPO_SDIO0_PAD_CCMD_OUT                    
102 #define GPO_SDIO0_PAD_CDATA_OE_BIT0               
103 #define GPO_SDIO0_PAD_CDATA_OEN_BIT0              
104 #define GPO_SDIO0_PAD_CDATA_OE_BIT1               
105 #define GPO_SDIO0_PAD_CDATA_OEN_BIT1              
106 #define GPO_SDIO0_PAD_CDATA_OE_BIT2               
107 #define GPO_SDIO0_PAD_CDATA_OEN_BIT2              
108 #define GPO_SDIO0_PAD_CDATA_OE_BIT3               
109 #define GPO_SDIO0_PAD_CDATA_OEN_BIT3              
110 #define GPO_SDIO0_PAD_CDATA_OE_BIT4               
111 #define GPO_SDIO0_PAD_CDATA_OEN_BIT4              
112 #define GPO_SDIO0_PAD_CDATA_OE_BIT5               
113 #define GPO_SDIO0_PAD_CDATA_OEN_BIT5              
114 #define GPO_SDIO0_PAD_CDATA_OE_BIT6               
115 #define GPO_SDIO0_PAD_CDATA_OEN_BIT6              
116 #define GPO_SDIO0_PAD_CDATA_OE_BIT7               
117 #define GPO_SDIO0_PAD_CDATA_OEN_BIT7              
118 #define GPO_SDIO0_PAD_CDATA_OUT_BIT0              
119 #define GPO_SDIO0_PAD_CDATA_OUT_BIT1              
120 #define GPO_SDIO0_PAD_CDATA_OUT_BIT2              
121 #define GPO_SDIO0_PAD_CDATA_OUT_BIT3              
122 #define GPO_SDIO0_PAD_CDATA_OUT_BIT4              
123 #define GPO_SDIO0_PAD_CDATA_OUT_BIT5              
124 #define GPO_SDIO0_PAD_CDATA_OUT_BIT6              
125 #define GPO_SDIO0_PAD_CDATA_OUT_BIT7              
126 #define GPO_SDIO0_PAD_RST_N                       
127 #define GPO_SDIO1_PAD_CARD_POWER_EN               
128 #define GPO_SDIO1_PAD_CCLK_OUT                    
129 #define GPO_SDIO1_PAD_CCMD_OE                     
130 #define GPO_SDIO1_PAD_CCMD_OEN                    
131 #define GPO_SDIO1_PAD_CCMD_OUT                    
132 #define GPO_SDIO1_PAD_CDATA_OE_BIT0               
133 #define GPO_SDIO1_PAD_CDATA_OEN_BIT0              
134 #define GPO_SDIO1_PAD_CDATA_OE_BIT1               
135 #define GPO_SDIO1_PAD_CDATA_OEN_BIT1              
136 #define GPO_SDIO1_PAD_CDATA_OE_BIT2               
137 #define GPO_SDIO1_PAD_CDATA_OEN_BIT2              
138 #define GPO_SDIO1_PAD_CDATA_OE_BIT3               
139 #define GPO_SDIO1_PAD_CDATA_OEN_BIT3              
140 #define GPO_SDIO1_PAD_CDATA_OE_BIT4               
141 #define GPO_SDIO1_PAD_CDATA_OEN_BIT4              
142 #define GPO_SDIO1_PAD_CDATA_OE_BIT5               
143 #define GPO_SDIO1_PAD_CDATA_OEN_BIT5              
144 #define GPO_SDIO1_PAD_CDATA_OE_BIT6               
145 #define GPO_SDIO1_PAD_CDATA_OEN_BIT6              
146 #define GPO_SDIO1_PAD_CDATA_OE_BIT7               
147 #define GPO_SDIO1_PAD_CDATA_OEN_BIT7              
148 #define GPO_SDIO1_PAD_CDATA_OUT_BIT0              
149 #define GPO_SDIO1_PAD_CDATA_OUT_BIT1              
150 #define GPO_SDIO1_PAD_CDATA_OUT_BIT2              
151 #define GPO_SDIO1_PAD_CDATA_OUT_BIT3              
152 #define GPO_SDIO1_PAD_CDATA_OUT_BIT4              
153 #define GPO_SDIO1_PAD_CDATA_OUT_BIT5              
154 #define GPO_SDIO1_PAD_CDATA_OUT_BIT6              
155 #define GPO_SDIO1_PAD_CDATA_OUT_BIT7              
156 #define GPO_SDIO1_PAD_RST_N                       
157 #define GPO_SPDIF_TX_SDOUT                        
158 #define GPO_SPDIF_TX_SDOUT_OEN                    
159 #define GPO_SPI0_PAD_OE_N                         
160 #define GPO_SPI0_PAD_SCK_OUT                      
161 #define GPO_SPI0_PAD_SS_0_N                       
162 #define GPO_SPI0_PAD_SS_1_N                       
163 #define GPO_SPI0_PAD_TXD                          
164 #define GPO_SPI1_PAD_OE_N                         
165 #define GPO_SPI1_PAD_SCK_OUT                      
166 #define GPO_SPI1_PAD_SS_0_N                       
167 #define GPO_SPI1_PAD_SS_1_N                       
168 #define GPO_SPI1_PAD_TXD                          
169 #define GPO_SPI2_PAD_OE_N                         
170 #define GPO_SPI2_PAD_SCK_OUT                      
171 #define GPO_SPI2_PAD_SS_0_N                       
172 #define GPO_SPI2_PAD_SS_1_N                       
173 #define GPO_SPI2_PAD_TXD                          
174 #define GPO_SPI2AHB_PAD_OE_N_BIT0                 
175 #define GPO_SPI2AHB_PAD_OE_N_BIT1                 
176 #define GPO_SPI2AHB_PAD_OE_N_BIT2                 
177 #define GPO_SPI2AHB_PAD_OE_N_BIT3                 
178 #define GPO_SPI2AHB_PAD_TXD_BIT0                  
179 #define GPO_SPI2AHB_PAD_TXD_BIT1                  
180 #define GPO_SPI2AHB_PAD_TXD_BIT2                  
181 #define GPO_SPI2AHB_PAD_TXD_BIT3                  
182 #define GPO_SPI3_PAD_OE_N                         
183 #define GPO_SPI3_PAD_SCK_OUT                      
184 #define GPO_SPI3_PAD_SS_0_N                       
185 #define GPO_SPI3_PAD_SS_1_N                       
186 #define GPO_SPI3_PAD_TXD                          
187 #define GPO_UART0_PAD_DTRN                        
188 #define GPO_UART0_PAD_RTSN                        
189 #define GPO_UART0_PAD_SOUT                        
190 #define GPO_UART1_PAD_SOUT                        
191 #define GPO_UART2_PAD_DTR_N                       
192 #define GPO_UART2_PAD_RTS_N                       
193 #define GPO_UART2_PAD_SOUT                        
194 #define GPO_UART3_PAD_SOUT                        
195 #define GPO_USB_DRV_BUS                           
196                                                   
197 #define GPI_CPU_JTAG_TCK                          
198 #define GPI_CPU_JTAG_TDI                          
199 #define GPI_CPU_JTAG_TMS                          
200 #define GPI_CPU_JTAG_TRST                         
201 #define GPI_DMIC_SDIN_BIT0                        
202 #define GPI_DMIC_SDIN_BIT1                        
203 #define GPI_DSP_JTCK_PAD                          
204 #define GPI_DSP_JTDI_PAD                          
205 #define GPI_DSP_JTMS_PAD                          
206 #define GPI_DSP_TRST_PAD                          
207 #define GPI_I2C0_PAD_SCK_IN                       
208 #define GPI_I2C0_PAD_SDA_IN                       
209 #define GPI_I2C1_PAD_SCK_IN                       
210 #define GPI_I2C1_PAD_SDA_IN                       
211 #define GPI_I2C2_PAD_SCK_IN                       
212 #define GPI_I2C2_PAD_SDA_IN                       
213 #define GPI_I2C3_PAD_SCK_IN                       
214 #define GPI_I2C3_PAD_SDA_IN                       
215 #define GPI_I2SRX_BCLK_IN                         
216 #define GPI_I2SRX_LRCK_IN                         
217 #define GPI_I2SRX_SDIN_BIT0                       
218 #define GPI_I2SRX_SDIN_BIT1                       
219 #define GPI_I2SRX_SDIN_BIT2                       
220 #define GPI_I2STX_BCLK_IN                         
221 #define GPI_I2STX_LRCK_IN                         
222 #define GPI_SDIO0_PAD_CARD_DETECT_N               
223 #define GPI_SDIO0_PAD_CARD_WRITE_PRT              
224 #define GPI_SDIO0_PAD_CCMD_IN                     
225 #define GPI_SDIO0_PAD_CDATA_IN_BIT0               
226 #define GPI_SDIO0_PAD_CDATA_IN_BIT1               
227 #define GPI_SDIO0_PAD_CDATA_IN_BIT2               
228 #define GPI_SDIO0_PAD_CDATA_IN_BIT3               
229 #define GPI_SDIO0_PAD_CDATA_IN_BIT4               
230 #define GPI_SDIO0_PAD_CDATA_IN_BIT5               
231 #define GPI_SDIO0_PAD_CDATA_IN_BIT6               
232 #define GPI_SDIO0_PAD_CDATA_IN_BIT7               
233 #define GPI_SDIO1_PAD_CARD_DETECT_N               
234 #define GPI_SDIO1_PAD_CARD_WRITE_PRT              
235 #define GPI_SDIO1_PAD_CCMD_IN                     
236 #define GPI_SDIO1_PAD_CDATA_IN_BIT0               
237 #define GPI_SDIO1_PAD_CDATA_IN_BIT1               
238 #define GPI_SDIO1_PAD_CDATA_IN_BIT2               
239 #define GPI_SDIO1_PAD_CDATA_IN_BIT3               
240 #define GPI_SDIO1_PAD_CDATA_IN_BIT4               
241 #define GPI_SDIO1_PAD_CDATA_IN_BIT5               
242 #define GPI_SDIO1_PAD_CDATA_IN_BIT6               
243 #define GPI_SDIO1_PAD_CDATA_IN_BIT7               
244 #define GPI_SPDIF_RX_SDIN                         
245 #define GPI_SPI0_PAD_RXD                          
246 #define GPI_SPI0_PAD_SS_IN_N                      
247 #define GPI_SPI1_PAD_RXD                          
248 #define GPI_SPI1_PAD_SS_IN_N                      
249 #define GPI_SPI2_PAD_RXD                          
250 #define GPI_SPI2_PAD_SS_IN_N                      
251 #define GPI_SPI2AHB_PAD_RXD_BIT0                  
252 #define GPI_SPI2AHB_PAD_RXD_BIT1                  
253 #define GPI_SPI2AHB_PAD_RXD_BIT2                  
254 #define GPI_SPI2AHB_PAD_RXD_BIT3                  
255 #define GPI_SPI2AHB_PAD_SS_N                      
256 #define GPI_SPI2AHB_SLV_SCLKIN                    
257 #define GPI_SPI3_PAD_RXD                          
258 #define GPI_SPI3_PAD_SS_IN_N                      
259 #define GPI_UART0_PAD_CTSN                        
260 #define GPI_UART0_PAD_DCDN                        
261 #define GPI_UART0_PAD_DSRN                        
262 #define GPI_UART0_PAD_RIN                         
263 #define GPI_UART0_PAD_SIN                         
264 #define GPI_UART1_PAD_SIN                         
265 #define GPI_UART2_PAD_CTS_N                       
266 #define GPI_UART2_PAD_DCD_N                       
267 #define GPI_UART2_PAD_DSR_N                       
268 #define GPI_UART2_PAD_RI_N                        
269 #define GPI_UART2_PAD_SIN                         
270 #define GPI_UART3_PAD_SIN                         
271 #define GPI_USB_OVER_CURRENT                      
272                                                   
273 #define GPI_NONE                                  
274                                                   
275 #endif /* __DT_BINDINGS_PINCTRL_STARFIVE_JH710    
276                                                   

~ [ 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