Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: i2c: imx: Add properties and use unevaluatedProperties

Additional properties actually might appear (e.g. power-domains) so
describe all typical properties, reference generic i2c schema and use
unevaluatedProperties to fix dtbs_check warnings like:

arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: i2c@30a20000:
'#address-cells', '#size-cells', 'pmic@25' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Wolfram Sang
37859693 755f6292

+4 -1
+4 -1
Documentation/devicetree/bindings/i2c/i2c-imx.yaml
··· 9 9 maintainers: 10 10 - Wolfram Sang <wolfram@the-dreams.de> 11 11 12 + allOf: 13 + - $ref: /schemas/i2c/i2c-controller.yaml# 14 + 12 15 properties: 13 16 compatible: 14 17 oneOf: ··· 78 75 - interrupts 79 76 - clocks 80 77 81 - additionalProperties: false 78 + unevaluatedProperties: false 82 79 83 80 examples: 84 81 - |