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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/dt-bindings/pinctrl/k210-fpioa.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 /scripts/dtc/include-prefixes/dt-bindings/pinctrl/k210-fpioa.h (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/dt-bindings/pinctrl/k210-fpioa.h (Version linux-4.13.16)


  1 /* SPDX-License-Identifier: GPL-2.0+ */             1 
  2 /*                                                
  3  * Copyright (C) 2020 Sean Anderson <seanga2@g    
  4  * Copyright (c) 2020 Western Digital Corporat    
  5  */                                               
  6 #ifndef PINCTRL_K210_FPIOA_H                      
  7 #define PINCTRL_K210_FPIOA_H                      
  8                                                   
  9 /*                                                
 10  * Full list of FPIOA functions from              
 11  * kendryte-standalone-sdk/lib/drivers/include    
 12  */                                               
 13 #define K210_PCF_MASK           GENMASK(7, 0)     
 14 #define K210_PCF_JTAG_TCLK      0   /* JTAG Te    
 15 #define K210_PCF_JTAG_TDI       1   /* JTAG Te    
 16 #define K210_PCF_JTAG_TMS       2   /* JTAG Te    
 17 #define K210_PCF_JTAG_TDO       3   /* JTAG Te    
 18 #define K210_PCF_SPI0_D0        4   /* SPI0 Da    
 19 #define K210_PCF_SPI0_D1        5   /* SPI0 Da    
 20 #define K210_PCF_SPI0_D2        6   /* SPI0 Da    
 21 #define K210_PCF_SPI0_D3        7   /* SPI0 Da    
 22 #define K210_PCF_SPI0_D4        8   /* SPI0 Da    
 23 #define K210_PCF_SPI0_D5        9   /* SPI0 Da    
 24 #define K210_PCF_SPI0_D6        10  /* SPI0 Da    
 25 #define K210_PCF_SPI0_D7        11  /* SPI0 Da    
 26 #define K210_PCF_SPI0_SS0       12  /* SPI0 Ch    
 27 #define K210_PCF_SPI0_SS1       13  /* SPI0 Ch    
 28 #define K210_PCF_SPI0_SS2       14  /* SPI0 Ch    
 29 #define K210_PCF_SPI0_SS3       15  /* SPI0 Ch    
 30 #define K210_PCF_SPI0_ARB       16  /* SPI0 Ar    
 31 #define K210_PCF_SPI0_SCLK      17  /* SPI0 Se    
 32 #define K210_PCF_UARTHS_RX      18  /* UART Hi    
 33 #define K210_PCF_UARTHS_TX      19  /* UART Hi    
 34 #define K210_PCF_RESV6          20  /* Reserve    
 35 #define K210_PCF_RESV7          21  /* Reserve    
 36 #define K210_PCF_CLK_SPI1       22  /* Clock S    
 37 #define K210_PCF_CLK_I2C1       23  /* Clock I    
 38 #define K210_PCF_GPIOHS0        24  /* GPIO Hi    
 39 #define K210_PCF_GPIOHS1        25  /* GPIO Hi    
 40 #define K210_PCF_GPIOHS2        26  /* GPIO Hi    
 41 #define K210_PCF_GPIOHS3        27  /* GPIO Hi    
 42 #define K210_PCF_GPIOHS4        28  /* GPIO Hi    
 43 #define K210_PCF_GPIOHS5        29  /* GPIO Hi    
 44 #define K210_PCF_GPIOHS6        30  /* GPIO Hi    
 45 #define K210_PCF_GPIOHS7        31  /* GPIO Hi    
 46 #define K210_PCF_GPIOHS8        32  /* GPIO Hi    
 47 #define K210_PCF_GPIOHS9        33  /* GPIO Hi    
 48 #define K210_PCF_GPIOHS10       34  /* GPIO Hi    
 49 #define K210_PCF_GPIOHS11       35  /* GPIO Hi    
 50 #define K210_PCF_GPIOHS12       36  /* GPIO Hi    
 51 #define K210_PCF_GPIOHS13       37  /* GPIO Hi    
 52 #define K210_PCF_GPIOHS14       38  /* GPIO Hi    
 53 #define K210_PCF_GPIOHS15       39  /* GPIO Hi    
 54 #define K210_PCF_GPIOHS16       40  /* GPIO Hi    
 55 #define K210_PCF_GPIOHS17       41  /* GPIO Hi    
 56 #define K210_PCF_GPIOHS18       42  /* GPIO Hi    
 57 #define K210_PCF_GPIOHS19       43  /* GPIO Hi    
 58 #define K210_PCF_GPIOHS20       44  /* GPIO Hi    
 59 #define K210_PCF_GPIOHS21       45  /* GPIO Hi    
 60 #define K210_PCF_GPIOHS22       46  /* GPIO Hi    
 61 #define K210_PCF_GPIOHS23       47  /* GPIO Hi    
 62 #define K210_PCF_GPIOHS24       48  /* GPIO Hi    
 63 #define K210_PCF_GPIOHS25       49  /* GPIO Hi    
 64 #define K210_PCF_GPIOHS26       50  /* GPIO Hi    
 65 #define K210_PCF_GPIOHS27       51  /* GPIO Hi    
 66 #define K210_PCF_GPIOHS28       52  /* GPIO Hi    
 67 #define K210_PCF_GPIOHS29       53  /* GPIO Hi    
 68 #define K210_PCF_GPIOHS30       54  /* GPIO Hi    
 69 #define K210_PCF_GPIOHS31       55  /* GPIO Hi    
 70 #define K210_PCF_GPIO0          56  /* GPIO pi    
 71 #define K210_PCF_GPIO1          57  /* GPIO pi    
 72 #define K210_PCF_GPIO2          58  /* GPIO pi    
 73 #define K210_PCF_GPIO3          59  /* GPIO pi    
 74 #define K210_PCF_GPIO4          60  /* GPIO pi    
 75 #define K210_PCF_GPIO5          61  /* GPIO pi    
 76 #define K210_PCF_GPIO6          62  /* GPIO pi    
 77 #define K210_PCF_GPIO7          63  /* GPIO pi    
 78 #define K210_PCF_UART1_RX       64  /* UART1 R    
 79 #define K210_PCF_UART1_TX       65  /* UART1 T    
 80 #define K210_PCF_UART2_RX       66  /* UART2 R    
 81 #define K210_PCF_UART2_TX       67  /* UART2 T    
 82 #define K210_PCF_UART3_RX       68  /* UART3 R    
 83 #define K210_PCF_UART3_TX       69  /* UART3 T    
 84 #define K210_PCF_SPI1_D0        70  /* SPI1 Da    
 85 #define K210_PCF_SPI1_D1        71  /* SPI1 Da    
 86 #define K210_PCF_SPI1_D2        72  /* SPI1 Da    
 87 #define K210_PCF_SPI1_D3        73  /* SPI1 Da    
 88 #define K210_PCF_SPI1_D4        74  /* SPI1 Da    
 89 #define K210_PCF_SPI1_D5        75  /* SPI1 Da    
 90 #define K210_PCF_SPI1_D6        76  /* SPI1 Da    
 91 #define K210_PCF_SPI1_D7        77  /* SPI1 Da    
 92 #define K210_PCF_SPI1_SS0       78  /* SPI1 Ch    
 93 #define K210_PCF_SPI1_SS1       79  /* SPI1 Ch    
 94 #define K210_PCF_SPI1_SS2       80  /* SPI1 Ch    
 95 #define K210_PCF_SPI1_SS3       81  /* SPI1 Ch    
 96 #define K210_PCF_SPI1_ARB       82  /* SPI1 Ar    
 97 #define K210_PCF_SPI1_SCLK      83  /* SPI1 Se    
 98 #define K210_PCF_SPI2_D0        84  /* SPI2 Da    
 99 #define K210_PCF_SPI2_SS        85  /* SPI2 Se    
100 #define K210_PCF_SPI2_SCLK      86  /* SPI2 Se    
101 #define K210_PCF_I2S0_MCLK      87  /* I2S0 Ma    
102 #define K210_PCF_I2S0_SCLK      88  /* I2S0 Se    
103 #define K210_PCF_I2S0_WS        89  /* I2S0 Wo    
104 #define K210_PCF_I2S0_IN_D0     90  /* I2S0 Se    
105 #define K210_PCF_I2S0_IN_D1     91  /* I2S0 Se    
106 #define K210_PCF_I2S0_IN_D2     92  /* I2S0 Se    
107 #define K210_PCF_I2S0_IN_D3     93  /* I2S0 Se    
108 #define K210_PCF_I2S0_OUT_D0    94  /* I2S0 Se    
109 #define K210_PCF_I2S0_OUT_D1    95  /* I2S0 Se    
110 #define K210_PCF_I2S0_OUT_D2    96  /* I2S0 Se    
111 #define K210_PCF_I2S0_OUT_D3    97  /* I2S0 Se    
112 #define K210_PCF_I2S1_MCLK      98  /* I2S1 Ma    
113 #define K210_PCF_I2S1_SCLK      99  /* I2S1 Se    
114 #define K210_PCF_I2S1_WS        100 /* I2S1 Wo    
115 #define K210_PCF_I2S1_IN_D0     101 /* I2S1 Se    
116 #define K210_PCF_I2S1_IN_D1     102 /* I2S1 Se    
117 #define K210_PCF_I2S1_IN_D2     103 /* I2S1 Se    
118 #define K210_PCF_I2S1_IN_D3     104 /* I2S1 Se    
119 #define K210_PCF_I2S1_OUT_D0    105 /* I2S1 Se    
120 #define K210_PCF_I2S1_OUT_D1    106 /* I2S1 Se    
121 #define K210_PCF_I2S1_OUT_D2    107 /* I2S1 Se    
122 #define K210_PCF_I2S1_OUT_D3    108 /* I2S1 Se    
123 #define K210_PCF_I2S2_MCLK      109 /* I2S2 Ma    
124 #define K210_PCF_I2S2_SCLK      110 /* I2S2 Se    
125 #define K210_PCF_I2S2_WS        111 /* I2S2 Wo    
126 #define K210_PCF_I2S2_IN_D0     112 /* I2S2 Se    
127 #define K210_PCF_I2S2_IN_D1     113 /* I2S2 Se    
128 #define K210_PCF_I2S2_IN_D2     114 /* I2S2 Se    
129 #define K210_PCF_I2S2_IN_D3     115 /* I2S2 Se    
130 #define K210_PCF_I2S2_OUT_D0    116 /* I2S2 Se    
131 #define K210_PCF_I2S2_OUT_D1    117 /* I2S2 Se    
132 #define K210_PCF_I2S2_OUT_D2    118 /* I2S2 Se    
133 #define K210_PCF_I2S2_OUT_D3    119 /* I2S2 Se    
134 #define K210_PCF_RESV0          120 /* Reserve    
135 #define K210_PCF_RESV1          121 /* Reserve    
136 #define K210_PCF_RESV2          122 /* Reserve    
137 #define K210_PCF_RESV3          123 /* Reserve    
138 #define K210_PCF_RESV4          124 /* Reserve    
139 #define K210_PCF_RESV5          125 /* Reserve    
140 #define K210_PCF_I2C0_SCLK      126 /* I2C0 Se    
141 #define K210_PCF_I2C0_SDA       127 /* I2C0 Se    
142 #define K210_PCF_I2C1_SCLK      128 /* I2C1 Se    
143 #define K210_PCF_I2C1_SDA       129 /* I2C1 Se    
144 #define K210_PCF_I2C2_SCLK      130 /* I2C2 Se    
145 #define K210_PCF_I2C2_SDA       131 /* I2C2 Se    
146 #define K210_PCF_DVP_XCLK       132 /* DVP Sys    
147 #define K210_PCF_DVP_RST        133 /* DVP Sys    
148 #define K210_PCF_DVP_PWDN       134 /* DVP Pow    
149 #define K210_PCF_DVP_VSYNC      135 /* DVP Ver    
150 #define K210_PCF_DVP_HSYNC      136 /* DVP Hor    
151 #define K210_PCF_DVP_PCLK       137 /* Pixel C    
152 #define K210_PCF_DVP_D0         138 /* Data Bi    
153 #define K210_PCF_DVP_D1         139 /* Data Bi    
154 #define K210_PCF_DVP_D2         140 /* Data Bi    
155 #define K210_PCF_DVP_D3         141 /* Data Bi    
156 #define K210_PCF_DVP_D4         142 /* Data Bi    
157 #define K210_PCF_DVP_D5         143 /* Data Bi    
158 #define K210_PCF_DVP_D6         144 /* Data Bi    
159 #define K210_PCF_DVP_D7         145 /* Data Bi    
160 #define K210_PCF_SCCB_SCLK      146 /* Serial     
161 #define K210_PCF_SCCB_SDA       147 /* Serial     
162 #define K210_PCF_UART1_CTS      148 /* UART1 C    
163 #define K210_PCF_UART1_DSR      149 /* UART1 D    
164 #define K210_PCF_UART1_DCD      150 /* UART1 D    
165 #define K210_PCF_UART1_RI       151 /* UART1 R    
166 #define K210_PCF_UART1_SIR_IN   152 /* UART1 S    
167 #define K210_PCF_UART1_DTR      153 /* UART1 D    
168 #define K210_PCF_UART1_RTS      154 /* UART1 R    
169 #define K210_PCF_UART1_OUT2     155 /* UART1 U    
170 #define K210_PCF_UART1_OUT1     156 /* UART1 U    
171 #define K210_PCF_UART1_SIR_OUT  157 /* UART1 S    
172 #define K210_PCF_UART1_BAUD     158 /* UART1 T    
173 #define K210_PCF_UART1_RE       159 /* UART1 R    
174 #define K210_PCF_UART1_DE       160 /* UART1 D    
175 #define K210_PCF_UART1_RS485_EN 161 /* UART1 R    
176 #define K210_PCF_UART2_CTS      162 /* UART2 C    
177 #define K210_PCF_UART2_DSR      163 /* UART2 D    
178 #define K210_PCF_UART2_DCD      164 /* UART2 D    
179 #define K210_PCF_UART2_RI       165 /* UART2 R    
180 #define K210_PCF_UART2_SIR_IN   166 /* UART2 S    
181 #define K210_PCF_UART2_DTR      167 /* UART2 D    
182 #define K210_PCF_UART2_RTS      168 /* UART2 R    
183 #define K210_PCF_UART2_OUT2     169 /* UART2 U    
184 #define K210_PCF_UART2_OUT1     170 /* UART2 U    
185 #define K210_PCF_UART2_SIR_OUT  171 /* UART2 S    
186 #define K210_PCF_UART2_BAUD     172 /* UART2 T    
187 #define K210_PCF_UART2_RE       173 /* UART2 R    
188 #define K210_PCF_UART2_DE       174 /* UART2 D    
189 #define K210_PCF_UART2_RS485_EN 175 /* UART2 R    
190 #define K210_PCF_UART3_CTS      176 /* UART3 C    
191 #define K210_PCF_UART3_DSR      177 /* UART3 D    
192 #define K210_PCF_UART3_DCD      178 /* UART3 D    
193 #define K210_PCF_UART3_RI       179 /* UART3 R    
194 #define K210_PCF_UART3_SIR_IN   180 /* UART3 S    
195 #define K210_PCF_UART3_DTR      181 /* UART3 D    
196 #define K210_PCF_UART3_RTS      182 /* UART3 R    
197 #define K210_PCF_UART3_OUT2     183 /* UART3 U    
198 #define K210_PCF_UART3_OUT1     184 /* UART3 U    
199 #define K210_PCF_UART3_SIR_OUT  185 /* UART3 S    
200 #define K210_PCF_UART3_BAUD     186 /* UART3 T    
201 #define K210_PCF_UART3_RE       187 /* UART3 R    
202 #define K210_PCF_UART3_DE       188 /* UART3 D    
203 #define K210_PCF_UART3_RS485_EN 189 /* UART3 R    
204 #define K210_PCF_TIMER0_TOGGLE1 190 /* TIMER0     
205 #define K210_PCF_TIMER0_TOGGLE2 191 /* TIMER0     
206 #define K210_PCF_TIMER0_TOGGLE3 192 /* TIMER0     
207 #define K210_PCF_TIMER0_TOGGLE4 193 /* TIMER0     
208 #define K210_PCF_TIMER1_TOGGLE1 194 /* TIMER1     
209 #define K210_PCF_TIMER1_TOGGLE2 195 /* TIMER1     
210 #define K210_PCF_TIMER1_TOGGLE3 196 /* TIMER1     
211 #define K210_PCF_TIMER1_TOGGLE4 197 /* TIMER1     
212 #define K210_PCF_TIMER2_TOGGLE1 198 /* TIMER2     
213 #define K210_PCF_TIMER2_TOGGLE2 199 /* TIMER2     
214 #define K210_PCF_TIMER2_TOGGLE3 200 /* TIMER2     
215 #define K210_PCF_TIMER2_TOGGLE4 201 /* TIMER2     
216 #define K210_PCF_CLK_SPI2       202 /* Clock S    
217 #define K210_PCF_CLK_I2C2       203 /* Clock I    
218 #define K210_PCF_INTERNAL0      204 /* Interna    
219 #define K210_PCF_INTERNAL1      205 /* Interna    
220 #define K210_PCF_INTERNAL2      206 /* Interna    
221 #define K210_PCF_INTERNAL3      207 /* Interna    
222 #define K210_PCF_INTERNAL4      208 /* Interna    
223 #define K210_PCF_INTERNAL5      209 /* Interna    
224 #define K210_PCF_INTERNAL6      210 /* Interna    
225 #define K210_PCF_INTERNAL7      211 /* Interna    
226 #define K210_PCF_INTERNAL8      212 /* Interna    
227 #define K210_PCF_INTERNAL9      213 /* Interna    
228 #define K210_PCF_INTERNAL10     214 /* Interna    
229 #define K210_PCF_INTERNAL11     215 /* Interna    
230 #define K210_PCF_INTERNAL12     216 /* Interna    
231 #define K210_PCF_INTERNAL13     217 /* Interna    
232 #define K210_PCF_INTERNAL14     218 /* Interna    
233 #define K210_PCF_INTERNAL15     219 /* Interna    
234 #define K210_PCF_INTERNAL16     220 /* Interna    
235 #define K210_PCF_INTERNAL17     221 /* Interna    
236 #define K210_PCF_CONSTANT       222 /* Constan    
237 #define K210_PCF_INTERNAL18     223 /* Interna    
238 #define K210_PCF_DEBUG0         224 /* Debug f    
239 #define K210_PCF_DEBUG1         225 /* Debug f    
240 #define K210_PCF_DEBUG2         226 /* Debug f    
241 #define K210_PCF_DEBUG3         227 /* Debug f    
242 #define K210_PCF_DEBUG4         228 /* Debug f    
243 #define K210_PCF_DEBUG5         229 /* Debug f    
244 #define K210_PCF_DEBUG6         230 /* Debug f    
245 #define K210_PCF_DEBUG7         231 /* Debug f    
246 #define K210_PCF_DEBUG8         232 /* Debug f    
247 #define K210_PCF_DEBUG9         233 /* Debug f    
248 #define K210_PCF_DEBUG10        234 /* Debug f    
249 #define K210_PCF_DEBUG11        235 /* Debug f    
250 #define K210_PCF_DEBUG12        236 /* Debug f    
251 #define K210_PCF_DEBUG13        237 /* Debug f    
252 #define K210_PCF_DEBUG14        238 /* Debug f    
253 #define K210_PCF_DEBUG15        239 /* Debug f    
254 #define K210_PCF_DEBUG16        240 /* Debug f    
255 #define K210_PCF_DEBUG17        241 /* Debug f    
256 #define K210_PCF_DEBUG18        242 /* Debug f    
257 #define K210_PCF_DEBUG19        243 /* Debug f    
258 #define K210_PCF_DEBUG20        244 /* Debug f    
259 #define K210_PCF_DEBUG21        245 /* Debug f    
260 #define K210_PCF_DEBUG22        246 /* Debug f    
261 #define K210_PCF_DEBUG23        247 /* Debug f    
262 #define K210_PCF_DEBUG24        248 /* Debug f    
263 #define K210_PCF_DEBUG25        249 /* Debug f    
264 #define K210_PCF_DEBUG26        250 /* Debug f    
265 #define K210_PCF_DEBUG27        251 /* Debug f    
266 #define K210_PCF_DEBUG28        252 /* Debug f    
267 #define K210_PCF_DEBUG29        253 /* Debug f    
268 #define K210_PCF_DEBUG30        254 /* Debug f    
269 #define K210_PCF_DEBUG31        255 /* Debug f    
270                                                   
271 #define K210_FPIOA(pin, func)           (((pin    
272                                                   
273 #define K210_PC_POWER_3V3       0                 
274 #define K210_PC_POWER_1V8       1                 
275                                                   
276 #endif /* PINCTRL_K210_FPIOA_H */                 
277                                                   

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