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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/i2c/i2c-imx.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/i2c/i2c-imx.yaml (Architecture alpha) and /Documentation/devicetree/bindings/i2c/i2c-imx.yaml (Architecture mips)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/i2c/i2c-imx      4 $id: http://devicetree.org/schemas/i2c/i2c-imx.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Freescale Inter IC (I2C) and High Speed      7 title: Freescale Inter IC (I2C) and High Speed Inter IC (HS-I2C) for i.MX
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Oleksij Rempel <o.rempel@pengutronix.de>        10   - Oleksij Rempel <o.rempel@pengutronix.de>
 11                                                    11 
 12 allOf:                                             12 allOf:
 13   - $ref: /schemas/i2c/i2c-controller.yaml#        13   - $ref: /schemas/i2c/i2c-controller.yaml#
 14                                                    14 
 15 properties:                                        15 properties:
 16   compatible:                                      16   compatible:
 17     oneOf:                                         17     oneOf:
 18       - const: fsl,imx1-i2c                        18       - const: fsl,imx1-i2c
 19       - const: fsl,imx21-i2c                       19       - const: fsl,imx21-i2c
 20       - const: fsl,vf610-i2c                       20       - const: fsl,vf610-i2c
 21       - items:                                     21       - items:
 22           - enum:                                  22           - enum:
 23               - fsl,ls1012a-i2c                    23               - fsl,ls1012a-i2c
 24               - fsl,ls1021a-i2c                    24               - fsl,ls1021a-i2c
 25               - fsl,ls1028a-i2c                    25               - fsl,ls1028a-i2c
 26               - fsl,ls1043a-i2c                    26               - fsl,ls1043a-i2c
 27               - fsl,ls1046a-i2c                    27               - fsl,ls1046a-i2c
 28               - fsl,ls1088a-i2c                    28               - fsl,ls1088a-i2c
 29               - fsl,ls208xa-i2c                    29               - fsl,ls208xa-i2c
 30               - fsl,lx2160a-i2c                    30               - fsl,lx2160a-i2c
 31           - const: fsl,vf610-i2c                   31           - const: fsl,vf610-i2c
 32       - items:                                     32       - items:
 33           - const: fsl,imx35-i2c                   33           - const: fsl,imx35-i2c
 34           - const: fsl,imx1-i2c                    34           - const: fsl,imx1-i2c
 35       - items:                                     35       - items:
 36           - const: fsl,imx7d-i2c                   36           - const: fsl,imx7d-i2c
 37           - const: fsl,imx21-i2c                   37           - const: fsl,imx21-i2c
 38       - items:                                     38       - items:
 39           - enum:                                  39           - enum:
 40               - fsl,imx25-i2c                      40               - fsl,imx25-i2c
 41               - fsl,imx27-i2c                      41               - fsl,imx27-i2c
 42               - fsl,imx31-i2c                      42               - fsl,imx31-i2c
 43               - fsl,imx50-i2c                      43               - fsl,imx50-i2c
 44               - fsl,imx51-i2c                      44               - fsl,imx51-i2c
 45               - fsl,imx53-i2c                      45               - fsl,imx53-i2c
 46               - fsl,imx6q-i2c                      46               - fsl,imx6q-i2c
 47               - fsl,imx6sl-i2c                     47               - fsl,imx6sl-i2c
 48               - fsl,imx6sx-i2c                     48               - fsl,imx6sx-i2c
 49               - fsl,imx6sll-i2c                    49               - fsl,imx6sll-i2c
 50               - fsl,imx6ul-i2c                     50               - fsl,imx6ul-i2c
 51               - fsl,imx7s-i2c                      51               - fsl,imx7s-i2c
 52               - fsl,imx8mq-i2c                     52               - fsl,imx8mq-i2c
 53               - fsl,imx8mm-i2c                     53               - fsl,imx8mm-i2c
 54               - fsl,imx8mn-i2c                     54               - fsl,imx8mn-i2c
 55               - fsl,imx8mp-i2c                     55               - fsl,imx8mp-i2c
 56           - const: fsl,imx21-i2c                   56           - const: fsl,imx21-i2c
 57                                                    57 
 58   reg:                                             58   reg:
 59     maxItems: 1                                    59     maxItems: 1
 60                                                    60 
 61   interrupts:                                      61   interrupts:
 62     maxItems: 1                                    62     maxItems: 1
 63                                                    63 
 64   clocks:                                          64   clocks:
 65     maxItems: 1                                    65     maxItems: 1
 66                                                    66 
 67   clock-names:                                     67   clock-names:
 68     const: ipg                                     68     const: ipg
 69                                                    69 
 70   clock-frequency:                                 70   clock-frequency:
 71     minimum: 1                                     71     minimum: 1
 72     default: 100000                                72     default: 100000
 73     maximum: 400000                                73     maximum: 400000
 74                                                    74 
 75   dmas:                                            75   dmas:
 76     items:                                         76     items:
 77       - description: DMA controller phandle an     77       - description: DMA controller phandle and request line for RX
 78       - description: DMA controller phandle an     78       - description: DMA controller phandle and request line for TX
 79                                                    79 
 80   dma-names:                                       80   dma-names:
 81     items:                                         81     items:
 82       - const: rx                                  82       - const: rx
 83       - const: tx                                  83       - const: tx
 84                                                    84 
 85   sda-gpios:                                       85   sda-gpios:
 86     maxItems: 1                                    86     maxItems: 1
 87                                                    87 
 88   scl-gpios:                                       88   scl-gpios:
 89     maxItems: 1                                    89     maxItems: 1
 90                                                    90 
 91 required:                                          91 required:
 92   - compatible                                     92   - compatible
 93   - reg                                            93   - reg
 94   - interrupts                                     94   - interrupts
 95   - clocks                                         95   - clocks
 96                                                    96 
 97 unevaluatedProperties: false                       97 unevaluatedProperties: false
 98                                                    98 
 99 examples:                                          99 examples:
100   - |                                             100   - |
101     #include <dt-bindings/clock/imx5-clock.h>     101     #include <dt-bindings/clock/imx5-clock.h>
102     #include <dt-bindings/interrupt-controller    102     #include <dt-bindings/interrupt-controller/irq.h>
103                                                   103 
104     i2c@83fc4000 {                                104     i2c@83fc4000 {
105         compatible = "fsl,imx51-i2c", "fsl,imx    105         compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
106         reg = <0x83fc4000 0x4000>;                106         reg = <0x83fc4000 0x4000>;
107         interrupts = <63>;                        107         interrupts = <63>;
108         clocks = <&clks IMX5_CLK_I2C2_GATE>;      108         clocks = <&clks IMX5_CLK_I2C2_GATE>;
109     };                                            109     };
110                                                   110 
111   - |                                             111   - |
112     #include <dt-bindings/clock/vf610-clock.h>    112     #include <dt-bindings/clock/vf610-clock.h>
113                                                   113 
114     i2c@40066000 {                                114     i2c@40066000 {
115         compatible = "fsl,vf610-i2c";             115         compatible = "fsl,vf610-i2c";
116         reg = <0x40066000 0x1000>;                116         reg = <0x40066000 0x1000>;
117         interrupts = <71 IRQ_TYPE_LEVEL_HIGH>;    117         interrupts = <71 IRQ_TYPE_LEVEL_HIGH>;
118         clocks = <&clks VF610_CLK_I2C0>;          118         clocks = <&clks VF610_CLK_I2C0>;
119         clock-names = "ipg";                      119         clock-names = "ipg";
120         dmas = <&edma0 0 50>,                     120         dmas = <&edma0 0 50>,
121                <&edma0 0 51>;                     121                <&edma0 0 51>;
122         dma-names = "rx", "tx";                   122         dma-names = "rx", "tx";
123     };                                            123     };
                                                      

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