[PATCH 0/5] fix dt_binding_check warnings

Zhen Lei
2020-12-04T09:41:23Z

These patches is based on the latest linux-next code.

When I do dt_binding_check for any YAML file, below wanrings is always reported:

/root/linux-next/Documentation/devicetree/bindings/serial/litex,liteuart.yaml: 'additionalProperties' is a required property
/root/linux-next/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml: 'additionalProperties' is a required property
/root/linux-next/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml: 'additionalProperties' is a required property
/root/linux-next/Documentation/devicetree/bindings/media/coda.yaml: 'additionalProperties' is a required property
/root/linux-next/Documentation/devicetree/bindings/media/coda.yaml: ignoring, error in schema:
warning: no schema found in file: ./Documentation/devicetree/bindings/media/coda.yaml
/root/linux-next/Documentation/devicetree/bindings/serial/litex,liteuart.yaml: ignoring, error in schema:
warning: no schema found in file: ./Documentation/devicetree/bindings/serial/litex,liteuart.yaml
/root/linux-next/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml: ignoring, error in schema:
warning: no schema found in file: ./Documentation/devicetree/bindings/soc/mediatek/devapc.yaml
/root/linux-next/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml: ignoring, error in schema:
warning: no schema found in file: ./Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml
/root/linux-next/Documentation/devicetree/bindings/mfd/iqs62x.example.dt.yaml: pwmleds: 'panel' does not match any of the regexes: '^led(-[0-9a-f]+)?$', 'pinctrl-[0-9]+'
From schema: /root/linux-next/Documentation/devicetree/bindings/leds/leds-pwm.yaml

I have done the dtbs_check for all 5 yaml files on both arm32 and arm64.

Zhen Lei (5):
media: dt-bindings: add the required property 'additionalProperties'
dt-bindings: serial: add the required property 'additionalProperties'
dt-bindings: soc: add the required property 'additionalProperties'
dt-bindings: devapc: add the required property 'additionalProperties'
dt-bindings: mfd: correct the node name of the panel led

Documentation/devicetree/bindings/media/coda.yaml | 6 ++++++
Documentation/devicetree/bindings/mfd/iqs62x.yaml | 2 +-
Documentation/devicetree/bindings/serial/litex,liteuart.yaml | 2 ++
.../devicetree/bindings/soc/litex/litex,soc-controller.yaml | 2 ++
Documentation/devicetree/bindings/soc/mediatek/devapc.yaml | 2 ++
5 files changed, 13 insertions(+), 1 deletion(-)

--
1.8.3