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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/gpio/gpio-zynq.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/gpio/gpio-zynq.yaml (Architecture sparc64) and /Documentation/devicetree/bindings/gpio/gpio-zynq.yaml (Architecture sparc)


  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C      1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/gpio/gpio-z      4 $id: http://devicetree.org/schemas/gpio/gpio-zynq.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Xilinx Zynq GPIO controller                  7 title: Xilinx Zynq GPIO controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Michal Simek <michal.simek@amd.com>             10   - Michal Simek <michal.simek@amd.com>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     enum:                                          14     enum:
 15       - xlnx,zynq-gpio-1.0                         15       - xlnx,zynq-gpio-1.0
 16       - xlnx,zynqmp-gpio-1.0                       16       - xlnx,zynqmp-gpio-1.0
 17       - xlnx,versal-gpio-1.0                       17       - xlnx,versal-gpio-1.0
 18       - xlnx,pmc-gpio-1.0                          18       - xlnx,pmc-gpio-1.0
 19                                                    19 
 20   reg:                                             20   reg:
 21     maxItems: 1                                    21     maxItems: 1
 22                                                    22 
 23   "#gpio-cells":                                   23   "#gpio-cells":
 24     const: 2                                       24     const: 2
 25                                                    25 
 26   interrupts:                                      26   interrupts:
 27     maxItems: 1                                    27     maxItems: 1
 28                                                    28 
 29   gpio-controller: true                            29   gpio-controller: true
 30                                                    30 
 31   gpio-line-names:                                 31   gpio-line-names:
 32     description: strings describing the names      32     description: strings describing the names of each gpio line
 33     minItems: 58                                   33     minItems: 58
 34     maxItems: 174                                  34     maxItems: 174
 35                                                    35 
 36   interrupt-controller: true                       36   interrupt-controller: true
 37                                                    37 
 38   "#interrupt-cells":                              38   "#interrupt-cells":
 39     const: 2                                       39     const: 2
 40                                                    40 
 41   clocks:                                          41   clocks:
 42     maxItems: 1                                    42     maxItems: 1
 43                                                    43 
 44   power-domains:                                   44   power-domains:
 45     maxItems: 1                                    45     maxItems: 1
 46                                                    46 
 47 allOf:                                             47 allOf:
 48   - if:                                            48   - if:
 49       properties:                                  49       properties:
 50         compatible:                                50         compatible:
 51           enum:                                    51           enum:
 52             - xlnx,zynqmp-gpio-1.0                 52             - xlnx,zynqmp-gpio-1.0
 53     then:                                          53     then:
 54       properties:                                  54       properties:
 55         gpio-line-names:                           55         gpio-line-names:
 56           minItems: 174                            56           minItems: 174
 57           maxItems: 174                            57           maxItems: 174
 58                                                    58 
 59   - if:                                            59   - if:
 60       properties:                                  60       properties:
 61         compatible:                                61         compatible:
 62           enum:                                    62           enum:
 63             - xlnx,zynq-gpio-1.0                   63             - xlnx,zynq-gpio-1.0
 64     then:                                          64     then:
 65       properties:                                  65       properties:
 66         gpio-line-names:                           66         gpio-line-names:
 67           minItems: 118                            67           minItems: 118
 68           maxItems: 118                            68           maxItems: 118
 69                                                    69 
 70   - if:                                            70   - if:
 71       properties:                                  71       properties:
 72         compatible:                                72         compatible:
 73           enum:                                    73           enum:
 74             - xlnx,versal-gpio-1.0                 74             - xlnx,versal-gpio-1.0
 75     then:                                          75     then:
 76       properties:                                  76       properties:
 77         gpio-line-names:                           77         gpio-line-names:
 78           minItems: 58                             78           minItems: 58
 79           maxItems: 58                             79           maxItems: 58
 80                                                    80 
 81   - if:                                            81   - if:
 82       properties:                                  82       properties:
 83         compatible:                                83         compatible:
 84           enum:                                    84           enum:
 85             - xlnx,pmc-gpio-1.0                    85             - xlnx,pmc-gpio-1.0
 86     then:                                          86     then:
 87       properties:                                  87       properties:
 88         gpio-line-names:                           88         gpio-line-names:
 89           minItems: 116                            89           minItems: 116
 90           maxItems: 116                            90           maxItems: 116
 91                                                    91 
 92 required:                                          92 required:
 93   - compatible                                     93   - compatible
 94   - reg                                            94   - reg
 95   - "#gpio-cells"                                  95   - "#gpio-cells"
 96   - interrupts                                     96   - interrupts
 97   - gpio-controller                                97   - gpio-controller
 98   - interrupt-controller                           98   - interrupt-controller
 99   - "#interrupt-cells"                             99   - "#interrupt-cells"
100   - clocks                                        100   - clocks
101                                                   101 
102 additionalProperties: false                       102 additionalProperties: false
103                                                   103 
104 examples:                                         104 examples:
105   - |                                             105   - |
106     gpio@e000a000 {                               106     gpio@e000a000 {
107       #gpio-cells = <2>;                          107       #gpio-cells = <2>;
108       compatible = "xlnx,zynq-gpio-1.0";          108       compatible = "xlnx,zynq-gpio-1.0";
109       clocks = <&clkc 42>;                        109       clocks = <&clkc 42>;
110       gpio-controller;                            110       gpio-controller;
111       interrupt-parent = <&intc>;                 111       interrupt-parent = <&intc>;
112       interrupts = <0 20 4>;                      112       interrupts = <0 20 4>;
113       interrupt-controller;                       113       interrupt-controller;
114       #interrupt-cells = <2>;                     114       #interrupt-cells = <2>;
115       reg = <0xe000a000 0x1000>;                  115       reg = <0xe000a000 0x1000>;
116     };                                            116     };
                                                      

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