[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230308012854.294939-1-konrad.dybcio@linaro.org>
Date: Wed, 8 Mar 2023 02:28:53 +0100
From: Konrad Dybcio <konrad.dybcio@...aro.org>
To: linux-arm-msm@...r.kernel.org, andersson@...nel.org,
agross@...nel.org
Cc: marijn.suijten@...ainline.org,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Marc Zyngier <maz@...nel.org>,
Mark Rutland <mark.rutland@....com>,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: [PATCH] dt-bindings: timer: armv7: Don't sanction address/size-cells values
The driver itself does not read the -cells values (and frankly, it
shouldn't), so there's little sense in only allowing [1, 2] x [1].
Allow any values.
Fixes: 4d2bb3e65035 ("dt-bindings: timer: Convert ARM timer bindings to json-schema")
Signed-off-by: Konrad Dybcio <konrad.dybcio@...aro.org>
---
.../devicetree/bindings/timer/arm,arch_timer_mmio.yaml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml b/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml
index f6efa48c4256..236e2a05c1ad 100644
--- a/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml
+++ b/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml
@@ -26,11 +26,9 @@ properties:
maxItems: 1
description: The control frame base address
- '#address-cells':
- enum: [1, 2]
+ '#address-cells': true
- '#size-cells':
- const: 1
+ '#size-cells': true
ranges: true
--
2.39.2
Powered by blists - more mailing lists