Skip to content

Commit f9ccb45

Browse files
Wolfram SangAndi Shyti
authored andcommitted
dt-bindings: i2c: mpc: use proper binding for transfer timeouts
"i2c-scl-clk-low-timeout-us" has flaws in itself and the usage here is all wrong. The driver doesn't use it as a maximum time for clock stretching but the maximum time for a total transfer. We already have a binding for the latter. Convert the wrong binding from examples. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
1 parent 197ecad commit f9ccb45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/devicetree/bindings/i2c/i2c-mpc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@ examples:
9696
interrupts = <43 2>;
9797
interrupt-parent = <&mpic>;
9898
clock-frequency = <400000>;
99-
i2c-scl-clk-low-timeout-us = <10000>;
99+
i2c-transfer-timeout-us = <10000>;
100100
};
101101
...

0 commit comments

Comments
 (0)