diff options
author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2022-08-29 22:47:30 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-08-30 12:08:54 +0200 |
commit | 4e2a2ed96adcb6151a15ea40db933d97f2ae7aaa (patch) | |
tree | e27674c8e275d9c5cd8914a4e229e86364864d4d /Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml | |
parent | 53b774718f784d614c8bfed20a3b32fb753604f3 (diff) | |
download | linux-stable-4e2a2ed96adcb6151a15ea40db933d97f2ae7aaa.tar.gz linux-stable-4e2a2ed96adcb6151a15ea40db933d97f2ae7aaa.tar.bz2 linux-stable-4e2a2ed96adcb6151a15ea40db933d97f2ae7aaa.zip |
dt-bindings: i2c: renesas,riic: Fix 'unevaluatedProperties' warnings
With 'unevaluatedProperties' support implemented, there's a number of
warnings when running dtbs_check:
arch/arm64/boot/dts/renesas/r9a07g043u11-smarc.dtb: i2c@10058000: Unevaluated properties are not allowed ('resets' was unexpected)
From schema: Documentation/devicetree/bindings/i2c/renesas,riic.yaml
The main problem is that bindings schema marks resets as a required
property for RZ/G2L (and alike) SoC's but resets property is not part
of schema. So to fix this just add a resets property with maxItems
set to 1.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml')
0 files changed, 0 insertions, 0 deletions