diff mbox series

dt-bindings: arm: bcm: bcm4908: fix yaml validation

Message ID 20201125110130.3877-1-zajec5@gmail.com
State Not Applicable
Headers show
Series dt-bindings: arm: bcm: bcm4908: fix yaml validation | expand

Checks

Context Check Description
robh/checkpatch warning total: 0 errors, 1 warnings, 7 lines checked

Commit Message

Rafał Miłecki Nov. 25, 2020, 11:01 a.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

Root node can obviously have various subnodes so "additionalProperties"
should be set to true.

This fixes:
arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dt.yaml: /: '#address-cells', '#size-cells', 'aliases', 'axi@81000000', 'chosen', 'clocks', 'cpus', 'gpio-keys-polled', 'interrupt-parent', 'memory@0', 'model', 'pmu', 'soc', 'timer', 'ubus@ff800000' do not match any of the regexes: 'pinctrl-[0-9]+'
        From schema: Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
Sorry Florian for that. I've just learnt dtbs_check.
---
 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Florian Fainelli Nov. 25, 2020, 5:20 p.m. UTC | #1
On 11/25/2020 3:01 AM, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> Root node can obviously have various subnodes so "additionalProperties"
> should be set to true.
> 
> This fixes:
> arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dt.yaml: /: '#address-cells', '#size-cells', 'aliases', 'axi@81000000', 'chosen', 'clocks', 'cpus', 'gpio-keys-polled', 'interrupt-parent', 'memory@0', 'model', 'pmu', 'soc', 'timer', 'ubus@ff800000' do not match any of the regexes: 'pinctrl-[0-9]+'
>         From schema: Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

Applied and fixed up into "dt-bindings: arm: bcm: document BCM4908
bindings", thanks for the quick turn around!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml
index dfe1c1c6bb8c..5fec063d9a13 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4908.yaml
@@ -33,6 +33,6 @@  properties:
           - const: brcm,bcm49408
           - const: brcm,bcm4908
 
-additionalProperties: false
+additionalProperties: true
 
 ...