Skip to content

Commit

Permalink
dt-bindings: i2c: mpc: Mark "fsl,timeout" as deprecated
Browse files Browse the repository at this point in the history
Now we have the i2c-scl-clk-low-timeout-us property defined in
the i2c schema.

Mark "fsl,timeout" as deprecated and update the example.

Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
  • Loading branch information
Andi Shyti authored and wsakernel committed Mar 29, 2023
1 parent 58c043d commit ba085a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/i2c/i2c-mpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ properties:
fsl,timeout:
$ref: /schemas/types.yaml#/definitions/uint32
deprecated: true
description: |
I2C bus timeout in microseconds
Expand Down Expand Up @@ -95,6 +96,6 @@ examples:
interrupts = <43 2>;
interrupt-parent = <&mpic>;
clock-frequency = <400000>;
fsl,timeout = <10000>;
i2c-scl-clk-low-timeout-us = <10000>;
};
...

0 comments on commit ba085a8

Please sign in to comment.