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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.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/fsl-imx-gpio.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml (Version linux-6.5.13)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/gpio/fsl-im      4 $id: http://devicetree.org/schemas/gpio/fsl-imx-gpio.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Freescale i.MX/MXC GPIO controller           7 title: Freescale i.MX/MXC GPIO controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Shawn Guo <shawnguo@kernel.org>             !!  10   - Anson Huang <Anson.Huang@nxp.com>
 11   - Sascha Hauer <s.hauer@pengutronix.de>       << 
 12   - Fabio Estevam <festevam@gmail.com>          << 
 13                                                    11 
 14 properties:                                        12 properties:
 15   compatible:                                      13   compatible:
 16     oneOf:                                         14     oneOf:
 17       - enum:                                      15       - enum:
 18           - fsl,imx1-gpio                          16           - fsl,imx1-gpio
 19           - fsl,imx21-gpio                         17           - fsl,imx21-gpio
 20           - fsl,imx31-gpio                         18           - fsl,imx31-gpio
 21           - fsl,imx35-gpio                         19           - fsl,imx35-gpio
 22           - fsl,imx7d-gpio                         20           - fsl,imx7d-gpio
 23       - items:                                     21       - items:
 24           - enum:                              << 
 25               - fsl,imx27-gpio                 << 
 26           - const: fsl,imx21-gpio              << 
 27       - items:                                 << 
 28           - const: fsl,imx35-gpio                  22           - const: fsl,imx35-gpio
 29           - const: fsl,imx31-gpio                  23           - const: fsl,imx31-gpio
 30       - items:                                     24       - items:
 31           - enum:                                  25           - enum:
 32               - fsl,imx25-gpio                 << 
 33           - const: fsl,imx35-gpio              << 
 34       - items:                                 << 
 35           - enum:                              << 
 36               - fsl,imx50-gpio                     26               - fsl,imx50-gpio
 37               - fsl,imx51-gpio                     27               - fsl,imx51-gpio
 38               - fsl,imx53-gpio                     28               - fsl,imx53-gpio
 39               - fsl,imx6q-gpio                     29               - fsl,imx6q-gpio
 40               - fsl,imx6sl-gpio                    30               - fsl,imx6sl-gpio
 41               - fsl,imx6sll-gpio                   31               - fsl,imx6sll-gpio
 42               - fsl,imx6sx-gpio                    32               - fsl,imx6sx-gpio
 43               - fsl,imx6ul-gpio                    33               - fsl,imx6ul-gpio
 44               - fsl,imx7d-gpio                     34               - fsl,imx7d-gpio
 45               - fsl,imx8dxl-gpio               << 
 46               - fsl,imx8mm-gpio                    35               - fsl,imx8mm-gpio
 47               - fsl,imx8mn-gpio                    36               - fsl,imx8mn-gpio
 48               - fsl,imx8mp-gpio                    37               - fsl,imx8mp-gpio
 49               - fsl,imx8mq-gpio                    38               - fsl,imx8mq-gpio
 50               - fsl,imx8qm-gpio                << 
 51               - fsl,imx8qxp-gpio                   39               - fsl,imx8qxp-gpio
 52               - fsl,imxrt1050-gpio                 40               - fsl,imxrt1050-gpio
 53               - fsl,imxrt1170-gpio                 41               - fsl,imxrt1170-gpio
 54           - const: fsl,imx35-gpio                  42           - const: fsl,imx35-gpio
 55                                                    43 
 56   reg:                                             44   reg:
 57     maxItems: 1                                    45     maxItems: 1
 58                                                    46 
 59   interrupts:                                      47   interrupts:
 60     description: |                                 48     description: |
 61       Should be the port interrupt shared by a     49       Should be the port interrupt shared by all 32 pins, if one number.
 62       If two numbers, the first one is the int     50       If two numbers, the first one is the interrupt shared by low 16 pins
 63       and the second one is for high 16 pins.      51       and the second one is for high 16 pins.
 64     minItems: 1                                    52     minItems: 1
 65     maxItems: 2                                    53     maxItems: 2
 66                                                    54 
 67   interrupt-controller: true                       55   interrupt-controller: true
 68                                                    56 
 69   "#interrupt-cells":                              57   "#interrupt-cells":
 70     const: 2                                       58     const: 2
 71                                                    59 
 72   clocks:                                          60   clocks:
 73     maxItems: 1                                    61     maxItems: 1
 74                                                    62 
 75   "#gpio-cells":                                   63   "#gpio-cells":
 76     const: 2                                       64     const: 2
 77                                                    65 
 78   gpio-controller: true                            66   gpio-controller: true
 79   gpio-line-names: true                            67   gpio-line-names: true
 80   gpio-ranges: true                                68   gpio-ranges: true
 81                                                    69 
 82   power-domains:                                   70   power-domains:
 83     maxItems: 1                                    71     maxItems: 1
 84                                                    72 
 85 patternProperties:                                 73 patternProperties:
 86   "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":               74   "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
 87     type: object                                   75     type: object
                                                   >>  76     properties:
                                                   >>  77       gpio-hog: true
                                                   >>  78       gpios: true
                                                   >>  79       input: true
                                                   >>  80       output-high: true
                                                   >>  81       output-low: true
                                                   >>  82       line-name: true
                                                   >>  83 
 88     required:                                      84     required:
 89       - gpio-hog                                   85       - gpio-hog
                                                   >>  86       - gpios
                                                   >>  87 
                                                   >>  88     additionalProperties: false
 90                                                    89 
 91 required:                                          90 required:
 92   - compatible                                     91   - compatible
 93   - reg                                            92   - reg
 94   - interrupts                                     93   - interrupts
 95   - interrupt-controller                           94   - interrupt-controller
 96   - "#interrupt-cells"                             95   - "#interrupt-cells"
 97   - "#gpio-cells"                                  96   - "#gpio-cells"
 98   - gpio-controller                                97   - gpio-controller
 99                                                    98 
100 additionalProperties: false                        99 additionalProperties: false
101                                                   100 
102 examples:                                         101 examples:
103   - |                                             102   - |
104     gpio0: gpio@73f84000 {                        103     gpio0: gpio@73f84000 {
105         compatible = "fsl,imx35-gpio";            104         compatible = "fsl,imx35-gpio";
106         reg = <0x73f84000 0x4000>;                105         reg = <0x73f84000 0x4000>;
107         interrupts = <50 51>;                     106         interrupts = <50 51>;
108         gpio-controller;                          107         gpio-controller;
109         #gpio-cells = <2>;                        108         #gpio-cells = <2>;
110         interrupt-controller;                     109         interrupt-controller;
111         #interrupt-cells = <2>;                   110         #interrupt-cells = <2>;
112     };                                            111     };
113                                                   112 
114 ...                                               113 ...
                                                      

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