From: Lars-Peter Clausen Date: Thu, 6 Apr 2023 15:48:33 +0000 (-0700) Subject: dt-bindings: i2c: cadence: Document `resets` property X-Git-Tag: v6.4-rc1~122^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8455460914b98fba260786e174f8d645aa3d21aa;p=thirdparty%2Flinux.git dt-bindings: i2c: cadence: Document `resets` property The Cadence I2C controller has an external reset that needs to be de-asserted before the I2C controller can be accessed. Document the `resets` devicetree property that can be used to describe how the reset signal is connected. While the reset signal will always be present in hardware the devicetree property is kept optional for backwards compatibility with existing systems that do not specify the reset property and where the reset signal might not be controlled by operating system. Signed-off-by: Lars-Peter Clausen Acked-by: Krzysztof Kozlowski Acked-by: Michal Simek Signed-off-by: Wolfram Sang --- diff --git a/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml b/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml index 9187015d97028..cb24d7b3221c8 100644 --- a/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml +++ b/Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml @@ -24,6 +24,9 @@ properties: clocks: minItems: 1 + resets: + maxItems: 1 + interrupts: maxItems: 1 @@ -59,6 +62,7 @@ examples: i2c@e0004000 { compatible = "cdns,i2c-r1p10"; clocks = <&clkc 38>; + resets = <&rstc 288>; interrupts = ; reg = <0xe0004000 0x1000>; clock-frequency = <400000>;