dt-bindings: i2c: imx-lpi2c: Add properties and use unevaluatedProperties
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 17 Sep 2020 19:13:18 +0000 (21:13 +0200)
committerWolfram Sang <wsa@kernel.org>
Sun, 27 Sep 2020 18:00:13 +0000 (20:00 +0200)
commit41c38c272e2cc021c833030c3f5a97945ae2b773
tree386a0c8050f9d8b5b7c8bfc579aca4375a3effba
parente50e4f0b85be308a01b830c5fbdffc657e1a6dd0
dt-bindings: i2c: imx-lpi2c: 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/imx8qxp-ai_ml.dt.yaml: i2c@5a800000:
    'assigned-clock-rates', 'assigned-clocks', 'clock-names', 'power-domains' do not match any of the regexes: 'pinctrl-[0-9]+'

  arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dt.yaml: i2c@5a800000:
    'touchscreen@2c' does 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-lpi2c.yaml