Skip to content

Commit 8455460

Browse files
larsclausenwsakernel
authored andcommitted
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 <lars@metafoo.de> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Michal Simek <michal.simek@amd.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent f82fd18 commit 8455460

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ properties:
2424
clocks:
2525
minItems: 1
2626

27+
resets:
28+
maxItems: 1
29+
2730
interrupts:
2831
maxItems: 1
2932

@@ -59,6 +62,7 @@ examples:
5962
i2c@e0004000 {
6063
compatible = "cdns,i2c-r1p10";
6164
clocks = <&clkc 38>;
65+
resets = <&rstc 288>;
6266
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
6367
reg = <0xe0004000 0x1000>;
6468
clock-frequency = <400000>;

0 commit comments

Comments
 (0)