diff options
author | Rob Herring <robh@kernel.org> | 2022-06-13 19:18:08 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-06-17 21:14:51 +0200 |
commit | cfda05c1ddb8b375562b54dc86276cdc42d48297 (patch) | |
tree | 3e98a3321e6a7882d4f568e16f639d9ce1d1efa5 /Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml | |
parent | dt-bindings: vexpress-sysreg: Add deprecated GPIO provider properties (diff) | |
download | linux-cfda05c1ddb8b375562b54dc86276cdc42d48297.tar.xz linux-cfda05c1ddb8b375562b54dc86276cdc42d48297.zip |
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
Diffstat (limited to 'Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml | 3 |
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: - | |