devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/2] dt-bindings: soc: samsung: usi: allow 64-bit address space
@ 2025-07-22 12:10 Ivaylo Ivanov
  2025-07-22 12:10 ` [PATCH v1 2/2] dt-bindings: soc: samsung: usi: add samsung,exynos2200-usi compatible Ivaylo Ivanov
  2025-07-23  8:15 ` [PATCH v1 1/2] dt-bindings: soc: samsung: usi: allow 64-bit address space Krzysztof Kozlowski
  0 siblings, 2 replies; 10+ messages in thread
From: Ivaylo Ivanov @ 2025-07-22 12:10 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Alim Akhtar, Sam Protsenko, Rob Herring,
	Conor Dooley
  Cc: linux-samsung-soc, devicetree, linux-arm-kernel, linux-kernel

Some device trees, like the exynos2200 one, configure the root node
with #address-cells and #size-cells set to 2. However, the usi binding
expects 32 bit address space only. Allow these determining properties to
be set as 1 or 2 instead of a constant 1.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
---
 Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml b/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml
index cb2263709..4ce871676 100644
--- a/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml
+++ b/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml
@@ -57,10 +57,10 @@ properties:
   ranges: true
 
   "#address-cells":
-    const: 1
+    enum: [1, 2]
 
   "#size-cells":
-    const: 1
+    enum: [1, 2]
 
   samsung,sysreg:
     $ref: /schemas/types.yaml#/definitions/phandle-array
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-07-25  7:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-22 12:10 [PATCH v1 1/2] dt-bindings: soc: samsung: usi: allow 64-bit address space Ivaylo Ivanov
2025-07-22 12:10 ` [PATCH v1 2/2] dt-bindings: soc: samsung: usi: add samsung,exynos2200-usi compatible Ivaylo Ivanov
2025-07-24  2:24   ` Sam Protsenko
2025-07-23  8:15 ` [PATCH v1 1/2] dt-bindings: soc: samsung: usi: allow 64-bit address space Krzysztof Kozlowski
2025-07-23  8:21   ` Ivaylo Ivanov
2025-07-24  3:02     ` Sam Protsenko
2025-07-24  7:24       ` Ivaylo Ivanov
2025-07-24  6:56     ` Krzysztof Kozlowski
2025-07-24  7:02       ` Ivaylo Ivanov
2025-07-25  7:37         ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).