From: Rob Herring Date: Mon, 13 Jun 2022 17:18:08 +0000 (-0600) Subject: dt-bindings: vexpress-sysreg: Allow for no child nodes X-Git-Tag: v6.1-rc5~712^2~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cfda05c1ddb8b375562b54dc86276cdc42d48297;p=platform%2Fkernel%2Flinux-starfive.git dt-bindings: vexpress-sysreg: Allow for no child nodes It is valid for arm,vexpress-sysreg to have no child nodes when either the deprecated binding without child nodes is used or a platform has no GPIOs. If there are no child nodes, then "#address-cells" and "#size-cells" should not be required. However, "reg" should be present in all cases, so let's add it now. Cc: Andre Przywara Signed-off-by: Rob Herring Link: https://lore.kernel.org/r/20220613171809.3928949-2-robh@kernel.org --- diff --git a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml index 2d2afad..f04db80 100644 --- a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml +++ b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml @@ -74,8 +74,7 @@ patternProperties: required: - compatible - - "#address-cells" - - "#size-cells" + - reg examples: - |