i2c: mpc: Use i2c-scl-clk-low-timeout-us i2c property
authorAndi Shyti <andi.shyti@kernel.org>
Fri, 17 Mar 2023 23:33:38 +0000 (00:33 +0100)
committerWolfram Sang <wsa@kernel.org>
Wed, 29 Mar 2023 19:08:34 +0000 (21:08 +0200)
commitd8a5a922d5268bec9bff0ed6d19bc84228d4910e
tree99dd881f1b4cb18783913e541d5eed4f03cd9cce
parentbe40a3ae719f406069cb4a0f59332dac51850d2a
i2c: mpc: Use i2c-scl-clk-low-timeout-us i2c property

"fsl,timeout" is marked as deprecated and replaced by the
"i2c-scl-clk-low-timeout-us" i2c property.

Use this latter and, in case it is missing, for back
compatibility, check whether we still have "fsl,timeout" defined.

Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mpc.c