]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: i2c: imx: hardware do not restrict clock-frequency to only 100 and 400 kHz
authorDavid Heidelberg <david@ixit.cz>
Fri, 29 Oct 2021 14:11:33 +0000 (16:11 +0200)
committerRob Herring <robh@kernel.org>
Fri, 12 Nov 2021 04:27:15 +0000 (22:27 -0600)
commitb1c1396b5839e4b07498e4b864fd86a9dbb8219b
tree4bc9071e5ad583c0d6ccbf51405e3ac200b37a8b
parent4efeee655c2955fe38eb7cf8ddaff6eb6a1a035d
dt-bindings: i2c: imx: hardware do not restrict clock-frequency to only 100 and 400 kHz

clock-frequency is only restricted by the upper limit of 400 kHz.

Found with:
$ DT_SCHEMA_FILES=Documentation/devicetree/bindings/i2c/i2c-imx.yaml make dtbs_check
...
arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dt.yaml: i2c@30a20000: clock-frequency:0:0: 387000 is not one of [100000, 400000]
From schema: linux/Documentation/devicetree/bindings/i2c/i2c-imx.yaml
...

Fixes: bfc2333e741e ("dt-bindings: i2c: Convert imx i2c to json-schema")
Signed-off-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20211029141134.66170-1-david@ixit.cz
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/i2c/i2c-imx.yaml