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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/i2c/renesas,rcar-i2c.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/renesas,rcar-i2c.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/i2c/renesas,rcar-i2c.yaml (Version linux-6.4.16)


  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/renesas      4 $id: http://devicetree.org/schemas/i2c/renesas,rcar-i2c.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Renesas R-Car I2C Controller                 7 title: Renesas R-Car I2C Controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Wolfram Sang <wsa+renesas@sang-engineering.     10   - Wolfram Sang <wsa+renesas@sang-engineering.com>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     oneOf:                                         14     oneOf:
 15       - items:                                     15       - items:
 16           - enum:                                  16           - enum:
 17               - renesas,i2c-r8a7778      # R-C     17               - renesas,i2c-r8a7778      # R-Car M1A
 18               - renesas,i2c-r8a7779      # R-C     18               - renesas,i2c-r8a7779      # R-Car H1
 19           - const: renesas,rcar-gen1-i2c # R-C     19           - const: renesas,rcar-gen1-i2c # R-Car Gen1
 20                                                    20 
 21       - items:                                     21       - items:
 22           - enum:                                  22           - enum:
 23               - renesas,i2c-r8a7742      # RZ/     23               - renesas,i2c-r8a7742      # RZ/G1H
 24               - renesas,i2c-r8a7743      # RZ/     24               - renesas,i2c-r8a7743      # RZ/G1M
 25               - renesas,i2c-r8a7744      # RZ/     25               - renesas,i2c-r8a7744      # RZ/G1N
 26               - renesas,i2c-r8a7745      # RZ/     26               - renesas,i2c-r8a7745      # RZ/G1E
 27               - renesas,i2c-r8a77470     # RZ/     27               - renesas,i2c-r8a77470     # RZ/G1C
 28               - renesas,i2c-r8a7790      # R-C     28               - renesas,i2c-r8a7790      # R-Car H2
 29               - renesas,i2c-r8a7791      # R-C     29               - renesas,i2c-r8a7791      # R-Car M2-W
 30               - renesas,i2c-r8a7792      # R-C     30               - renesas,i2c-r8a7792      # R-Car V2H
 31               - renesas,i2c-r8a7793      # R-C     31               - renesas,i2c-r8a7793      # R-Car M2-N
 32               - renesas,i2c-r8a7794      # R-C     32               - renesas,i2c-r8a7794      # R-Car E2
 33           - const: renesas,rcar-gen2-i2c # R-C     33           - const: renesas,rcar-gen2-i2c # R-Car Gen2 and RZ/G1
 34                                                    34 
 35       - items:                                     35       - items:
 36           - enum:                                  36           - enum:
 37               - renesas,i2c-r8a774a1     # RZ/     37               - renesas,i2c-r8a774a1     # RZ/G2M
 38               - renesas,i2c-r8a774b1     # RZ/     38               - renesas,i2c-r8a774b1     # RZ/G2N
 39               - renesas,i2c-r8a774c0     # RZ/     39               - renesas,i2c-r8a774c0     # RZ/G2E
 40               - renesas,i2c-r8a774e1     # RZ/     40               - renesas,i2c-r8a774e1     # RZ/G2H
 41               - renesas,i2c-r8a7795      # R-C     41               - renesas,i2c-r8a7795      # R-Car H3
 42               - renesas,i2c-r8a7796      # R-C     42               - renesas,i2c-r8a7796      # R-Car M3-W
 43               - renesas,i2c-r8a77961     # R-C     43               - renesas,i2c-r8a77961     # R-Car M3-W+
 44               - renesas,i2c-r8a77965     # R-C     44               - renesas,i2c-r8a77965     # R-Car M3-N
 45               - renesas,i2c-r8a77970     # R-C     45               - renesas,i2c-r8a77970     # R-Car V3M
 46               - renesas,i2c-r8a77980     # R-C     46               - renesas,i2c-r8a77980     # R-Car V3H
 47               - renesas,i2c-r8a77990     # R-C     47               - renesas,i2c-r8a77990     # R-Car E3
 48               - renesas,i2c-r8a77995     # R-C     48               - renesas,i2c-r8a77995     # R-Car D3
 49           - const: renesas,rcar-gen3-i2c # R-C     49           - const: renesas,rcar-gen3-i2c # R-Car Gen3 and RZ/G2
 50                                                    50 
 51       - items:                                     51       - items:
 52           - enum:                                  52           - enum:
 53               - renesas,i2c-r8a779a0     # R-C     53               - renesas,i2c-r8a779a0     # R-Car V3U
 54               - renesas,i2c-r8a779f0     # R-C     54               - renesas,i2c-r8a779f0     # R-Car S4-8
 55               - renesas,i2c-r8a779g0     # R-C     55               - renesas,i2c-r8a779g0     # R-Car V4H
 56               - renesas,i2c-r8a779h0     # R-C << 
 57           - const: renesas,rcar-gen4-i2c # R-C     56           - const: renesas,rcar-gen4-i2c # R-Car Gen4
 58                                                    57 
 59   reg:                                             58   reg:
 60     maxItems: 1                                    59     maxItems: 1
 61                                                    60 
 62   interrupts:                                      61   interrupts:
 63     maxItems: 1                                    62     maxItems: 1
 64                                                    63 
 65   clock-frequency:                                 64   clock-frequency:
 66     description:                                   65     description:
 67       Desired I2C bus clock frequency in Hz. T     66       Desired I2C bus clock frequency in Hz. The absence of this property
 68       indicates the default frequency 100 kHz.     67       indicates the default frequency 100 kHz.
 69                                                    68 
 70   clocks:                                          69   clocks:
 71     maxItems: 1                                    70     maxItems: 1
 72                                                    71 
 73   power-domains:                                   72   power-domains:
 74     maxItems: 1                                    73     maxItems: 1
 75                                                    74 
 76   resets:                                          75   resets:
 77     maxItems: 1                                    76     maxItems: 1
 78                                                    77 
 79   dmas:                                            78   dmas:
 80     minItems: 2                                    79     minItems: 2
 81     maxItems: 4                                    80     maxItems: 4
 82     description:                                   81     description:
 83       Must contain a list of pairs of referenc     82       Must contain a list of pairs of references to DMA specifiers, one for
 84       transmission, and one for reception.         83       transmission, and one for reception.
 85                                                    84 
 86   dma-names:                                       85   dma-names:
 87     minItems: 2                                    86     minItems: 2
 88     maxItems: 4                                    87     maxItems: 4
 89     items:                                         88     items:
 90       enum:                                        89       enum:
 91         - tx                                       90         - tx
 92         - rx                                       91         - rx
 93                                                    92 
 94   i2c-scl-falling-time-ns:                         93   i2c-scl-falling-time-ns:
 95     default: 35                                    94     default: 35
 96     description:                                   95     description:
 97       Number of nanoseconds the SCL signal tak     96       Number of nanoseconds the SCL signal takes to fall; t(f) in the I2C
 98       specification.                               97       specification.
 99                                                    98 
100   i2c-scl-internal-delay-ns:                       99   i2c-scl-internal-delay-ns:
101     default: 50                                   100     default: 50
102     description:                                  101     description:
103       Number of nanoseconds the IP core additi    102       Number of nanoseconds the IP core additionally needs to setup SCL.
104                                                   103 
105   i2c-scl-rising-time-ns:                         104   i2c-scl-rising-time-ns:
106     default: 200                                  105     default: 200
107     description:                                  106     description:
108       Number of nanoseconds the SCL signal tak    107       Number of nanoseconds the SCL signal takes to rise; t(r) in the I2C
109       specification.                              108       specification.
110                                                   109 
111 required:                                         110 required:
112   - compatible                                    111   - compatible
113   - reg                                           112   - reg
114   - interrupts                                    113   - interrupts
115   - clocks                                        114   - clocks
116   - power-domains                                 115   - power-domains
117   - '#address-cells'                              116   - '#address-cells'
118   - '#size-cells'                                 117   - '#size-cells'
119                                                   118 
120 allOf:                                            119 allOf:
121   - $ref: /schemas/i2c/i2c-controller.yaml#       120   - $ref: /schemas/i2c/i2c-controller.yaml#
122                                                   121 
123   - if:                                           122   - if:
124       properties:                                 123       properties:
125         compatible:                               124         compatible:
126           contains:                               125           contains:
127             enum:                                 126             enum:
128               - renesas,rcar-gen1-i2c             127               - renesas,rcar-gen1-i2c
129               - renesas,rcar-gen2-i2c             128               - renesas,rcar-gen2-i2c
130     then:                                         129     then:
131       properties:                                 130       properties:
132         dmas: false                               131         dmas: false
133         dma-names: false                          132         dma-names: false
134                                                   133 
135   - if:                                           134   - if:
136       properties:                                 135       properties:
137         compatible:                               136         compatible:
138           contains:                               137           contains:
139             enum:                                 138             enum:
140               - renesas,rcar-gen2-i2c             139               - renesas,rcar-gen2-i2c
141               - renesas,rcar-gen3-i2c             140               - renesas,rcar-gen3-i2c
142               - renesas,rcar-gen4-i2c             141               - renesas,rcar-gen4-i2c
143     then:                                         142     then:
144       required:                                   143       required:
145         - resets                                  144         - resets
146                                                   145 
147 unevaluatedProperties: false                      146 unevaluatedProperties: false
148                                                   147 
149 examples:                                         148 examples:
150   - |                                             149   - |
151     #include <dt-bindings/clock/r8a7791-cpg-ms    150     #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
152     #include <dt-bindings/interrupt-controller    151     #include <dt-bindings/interrupt-controller/arm-gic.h>
153     #include <dt-bindings/power/r8a7791-sysc.h    152     #include <dt-bindings/power/r8a7791-sysc.h>
154                                                   153 
155     i2c0: i2c@e6508000 {                          154     i2c0: i2c@e6508000 {
156         compatible = "renesas,i2c-r8a7791", "r !! 155             #address-cells = <1>;
157         reg = <0xe6508000 0x40>;               !! 156             #size-cells = <0>;
158         interrupts = <GIC_SPI 287 IRQ_TYPE_LEV !! 157             compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
159         clock-frequency = <400000>;            !! 158             reg = <0xe6508000 0x40>;
160         clocks = <&cpg CPG_MOD 931>;           !! 159             interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
161         power-domains = <&sysc R8A7791_PD_ALWA !! 160             clock-frequency = <400000>;
162         resets = <&cpg 931>;                   !! 161             clocks = <&cpg CPG_MOD 931>;
163         i2c-scl-internal-delay-ns = <6>;       !! 162             power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
164         #address-cells = <1>;                  !! 163             resets = <&cpg 931>;
165         #size-cells = <0>;                     !! 164             i2c-scl-internal-delay-ns = <6>;
166     };                                            165     };
                                                      

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