aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring2022-06-13 11:18:08 -0600
committerRob Herring2022-06-17 13:14:51 -0600
commitcfda05c1ddb8b375562b54dc86276cdc42d48297 (patch)
tree3e98a3321e6a7882d4f568e16f639d9ce1d1efa5
parent67fcaf28772027350e7aa60006b620c1d4b0be6e (diff)
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 <andre.przywara@arm.com> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220613171809.3928949-2-robh@kernel.org
-rw-r--r--Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
index 2d2afada5ad1..f04db802a732 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:
- |