dt-bindings: i2c: imx: Add properties and use unevaluatedProperties
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 17 Sep 2020 19:13:20 +0000 (21:13 +0200)
committerWolfram Sang <wsa@kernel.org>
Sun, 27 Sep 2020 18:00:31 +0000 (20:00 +0200)
commit37859693f83f9325559d8ec980310b3a13fa5924
treeb3f487426f8144ab98385da9d4ecd9e90c26f8a0
parent755f6292e3fae4a08ce3d238c9508b84a73ac47d
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>
Documentation/devicetree/bindings/i2c/i2c-imx.yaml