[PATCH] dt-bindings: arm: bcm: bcm4908: fix yaml validation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Rafał Miłecki <rafal@xxxxxxxxxx>

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@xxxxxxxxxx>
---
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(-)

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
 
 ...
-- 
2.26.2




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux