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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/i2c/renesas,riic.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 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/i2c/renesas,riic.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Renesas RZ/A and RZ/G2L I2C Bus Interface (RIIC)
  8 
  9 maintainers:
 10   - Chris Brandt <chris.brandt@renesas.com>
 11   - Wolfram Sang <wsa+renesas@sang-engineering.com>
 12 
 13 allOf:
 14   - $ref: /schemas/i2c/i2c-controller.yaml#
 15 
 16 properties:
 17   compatible:
 18     oneOf:
 19       - items:
 20           - enum:
 21               - renesas,riic-r7s72100   # RZ/A1H
 22               - renesas,riic-r7s9210    # RZ/A2M
 23               - renesas,riic-r9a07g043  # RZ/G2UL and RZ/Five
 24               - renesas,riic-r9a07g044  # RZ/G2{L,LC}
 25               - renesas,riic-r9a07g054  # RZ/V2L
 26           - const: renesas,riic-rz      # RZ/A or RZ/G2L
 27 
 28       - items:
 29           - const: renesas,riic-r9a08g045   # RZ/G3S
 30           - const: renesas,riic-r9a09g057   # RZ/V2H(P)
 31 
 32       - const: renesas,riic-r9a09g057   # RZ/V2H(P)
 33 
 34   reg:
 35     maxItems: 1
 36 
 37   interrupts:
 38     items:
 39       - description: Transmit End Interrupt
 40       - description: Receive Data Full Interrupt
 41       - description: Transmit Data Empty Interrupt
 42       - description: Stop Condition Detection Interrupt
 43       - description: Start Condition Detection Interrupt
 44       - description: NACK Reception Interrupt
 45       - description: Arbitration-Lost Interrupt
 46       - description: Timeout Interrupt
 47 
 48   interrupt-names:
 49     items:
 50       - const: tei
 51       - const: ri
 52       - const: ti
 53       - const: spi
 54       - const: sti
 55       - const: naki
 56       - const: ali
 57       - const: tmoi
 58 
 59   clock-frequency:
 60     description:
 61       Desired I2C bus clock frequency in Hz. The absence of this property
 62       indicates the default frequency 100 kHz.
 63 
 64   clocks:
 65     maxItems: 1
 66 
 67   power-domains:
 68     maxItems: 1
 69 
 70   resets:
 71     maxItems: 1
 72 
 73 required:
 74   - compatible
 75   - reg
 76   - interrupts
 77   - interrupt-names
 78   - clocks
 79   - clock-frequency
 80   - power-domains
 81   - '#address-cells'
 82   - '#size-cells'
 83 
 84 if:
 85   properties:
 86     compatible:
 87       contains:
 88         enum:
 89           - renesas,riic-r9a07g043
 90           - renesas,riic-r9a07g044
 91           - renesas,riic-r9a07g054
 92 then:
 93   required:
 94     - resets
 95 
 96 unevaluatedProperties: false
 97 
 98 examples:
 99   - |
100     #include <dt-bindings/clock/r7s72100-clock.h>
101     #include <dt-bindings/interrupt-controller/arm-gic.h>
102 
103     i2c0: i2c@fcfee000 {
104         compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
105         reg = <0xfcfee000 0x44>;
106         interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
107                      <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>,
108                      <GIC_SPI 159 IRQ_TYPE_EDGE_RISING>,
109                      <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
110                      <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
111                      <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
112                      <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
113                      <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
114         interrupt-names = "tei", "ri", "ti", "spi", "sti", "naki", "ali",
115                           "tmoi";
116         clocks = <&mstp9_clks R7S72100_CLK_I2C0>;
117         clock-frequency = <100000>;
118         power-domains = <&cpg_clocks>;
119         #address-cells = <1>;
120         #size-cells = <0>;
121     };

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