Message ID | 20240425082138.374445-2-thomas.bonnefille@bootlin.com |
---|---|
State | Changes Requested |
Headers | show |
Series | Add I2C support on TH1520 | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/patch-applied | success | |
robh/dtbs-check | warning | build log |
robh/dt-meta-schema | success |
On 25/04/2024 10:21, Thomas Bonnefille wrote: > Add documentation for compatible string thead,th1520-i2c which can be > used specifically for the TH1520 SoC. > > Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com> > --- ... > }; > + - | > + i2c@e7f20000 { > + compatible = "thead,th1520-i2c", "snps,designware-i2c"; > + reg = <0xe7f20000 0x4000>; > + interrupts = <44>; > + clocks = <&i2c_ic_clk>; > + status = "disabled"; No need for new example. No differences. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml index d9293c57f573..a7fa191fefd6 100644 --- a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml @@ -33,6 +33,10 @@ properties: - const: snps,designware-i2c - description: Baikal-T1 SoC System I2C controller const: baikal,bt1-sys-i2c + - description: T-HEAD TH1520 SoCs I2C controller + items: + - const: thead,th1520-i2c + - const: snps,designware-i2c reg: minItems: 1 @@ -142,4 +146,12 @@ examples: interrupts = <8>; clocks = <&ahb_clk>; }; + - | + i2c@e7f20000 { + compatible = "thead,th1520-i2c", "snps,designware-i2c"; + reg = <0xe7f20000 0x4000>; + interrupts = <44>; + clocks = <&i2c_ic_clk>; + status = "disabled"; + }; ...
Add documentation for compatible string thead,th1520-i2c which can be used specifically for the TH1520 SoC. Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com> --- .../devicetree/bindings/i2c/snps,designware-i2c.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+)