Skip to content

Commit 51906dd

Browse files
okiasrobherring
authored andcommitted
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: 4bdc443 ("dt-bindings: i2c: Convert imx i2c to json-schema") Signed-off-by: David Heidelberg <[email protected]> Reviewed-by: Oleksij Rempel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent 582c433 commit 51906dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ properties:
5757
const: ipg
5858

5959
clock-frequency:
60-
enum: [ 100000, 400000 ]
60+
minimum: 1
61+
default: 100000
62+
maximum: 400000
6163

6264
dmas:
6365
items:

0 commit comments

Comments
 (0)