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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/awinic,aw9523-pinctrl.yaml

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 /Documentation/devicetree/bindings/pinctrl/awinic,aw9523-pinctrl.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/pinctrl/awinic,aw9523-pinctrl.yaml (Version linux-4.17.19)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS    
  2 %YAML 1.2                                         
  3 ---                                               
  4 $id: http://devicetree.org/schemas/pinctrl/awi    
  5 $schema: http://devicetree.org/meta-schemas/co    
  6                                                   
  7 title: Awinic AW9523/AW9523B I2C GPIO Expander    
  8                                                   
  9 maintainers:                                      
 10   - AngeloGioacchino Del Regno <angelogioacchin    
 11                                                   
 12 description: |                                    
 13   The Awinic AW9523/AW9523B I2C GPIO Expander     
 14   I/O, 256 steps PWM mode and interrupt suppor    
 15                                                   
 16 properties:                                       
 17   compatible:                                     
 18     const: awinic,aw9523-pinctrl                  
 19                                                   
 20   reg:                                            
 21     maxItems: 1                                   
 22                                                   
 23   '#gpio-cells':                                  
 24     description: |                                
 25       Specifying the pin number and flags, as     
 26       include/dt-bindings/gpio/gpio.h             
 27     const: 2                                      
 28                                                   
 29   gpio-controller: true                           
 30                                                   
 31   gpio-ranges:                                    
 32     maxItems: 1                                   
 33                                                   
 34   interrupt-controller: true                      
 35                                                   
 36   interrupts:                                     
 37     maxItems: 1                                   
 38     description: Specifies the INTN pin IRQ.      
 39                                                   
 40   '#interrupt-cells':                             
 41     description:                                  
 42       Specifies the PIN numbers and Flags, as     
 43       include/dt-bindings/interrupt-controller    
 44     const: 2                                      
 45                                                   
 46   reset-gpios:                                    
 47     maxItems: 1                                   
 48                                                   
 49 # PIN CONFIGURATION NODES                         
 50 patternProperties:                                
 51   '-pins$':                                       
 52     type: object                                  
 53     description:                                  
 54       Pinctrl node's client devices use subnod    
 55       Client device subnodes use below standar    
 56     $ref: /schemas/pinctrl/pincfg-node.yaml       
 57                                                   
 58     properties:                                   
 59       pins:                                       
 60         description:                              
 61           List of gpio pins affected by the pr    
 62           this subnode.                           
 63         items:                                    
 64           pattern: "^gpio([0-9]|1[0-5])$"         
 65         minItems: 1                               
 66         maxItems: 16                              
 67                                                   
 68       function:                                   
 69         description:                              
 70           Specify the alternative function to     
 71           specified pins.                         
 72                                                   
 73         enum: [ gpio, pwm ]                       
 74                                                   
 75       bias-disable: true                          
 76       bias-pull-down: true                        
 77       bias-pull-up: true                          
 78       drive-open-drain: true                      
 79       drive-push-pull: true                       
 80       input-enable: true                          
 81       input-disable: true                         
 82       output-high: true                           
 83       output-low: true                            
 84                                                   
 85     required:                                     
 86       - pins                                      
 87       - function                                  
 88                                                   
 89     additionalProperties: false                   
 90                                                   
 91 required:                                         
 92   - compatible                                    
 93   - reg                                           
 94   - gpio-controller                               
 95   - '#gpio-cells'                                 
 96   - gpio-ranges                                   
 97                                                   
 98 additionalProperties: false                       
 99                                                   
100 examples:                                         
101   # Example configuration to drive pins for a     
102   - |                                             
103     #include <dt-bindings/gpio/gpio.h>            
104     #include <dt-bindings/interrupt-controller    
105                                                   
106     i2c {                                         
107         #address-cells = <1>;                     
108         #size-cells = <0>;                        
109                                                   
110         aw9523: gpio-expander@58 {                
111                 compatible = "awinic,aw9523-pi    
112                 reg = <0x58>;                     
113                 interrupt-parent = <&tlmm>;       
114                 interrupts = <50 IRQ_TYPE_EDGE    
115                 gpio-controller;                  
116                 #gpio-cells = <2>;                
117                 gpio-ranges = <&tlmm 0 0 16>;     
118                 interrupt-controller;             
119                 #interrupt-cells = <2>;           
120                 reset-gpios = <&tlmm 51 GPIO_A    
121                                                   
122                 keyboard-matrix-col-pins {        
123                         pins = "gpio8", "gpio9    
124                                "gpio12", "gpio    
125                         function = "gpio";        
126                         input-disable;            
127                         output-low;               
128                 };                                
129                                                   
130                 keyboard-matrix-row-pins {        
131                         pins = "gpio0", "gpio1    
132                                "gpio4", "gpio5    
133                         function = "gpio";        
134                         bias-pull-up;             
135                         drive-open-drain;         
136                         input-enable;             
137                 };                                
138         };                                        
139     };                                            
                                                      

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