Commit 51906dd1 authored by David Heidelberg's avatar David Heidelberg Committed by Rob Herring

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: 4bdc4434 ("dt-bindings: i2c: Convert imx i2c to json-schema")
Signed-off-by: default avatarDavid Heidelberg <david@ixit.cz>
Reviewed-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20211029141134.66170-1-david@ixit.czSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 582c433e
......@@ -57,7 +57,9 @@ properties:
const: ipg
clock-frequency:
enum: [ 100000, 400000 ]
minimum: 1
default: 100000
maximum: 400000
dmas:
items:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment