]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: soc: samsung: exynos-sysreg: add power-domains
authorAndré Draszik <andre.draszik@linaro.org>
Fri, 10 Oct 2025 06:29:01 +0000 (07:29 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 22 Oct 2025 05:51:57 +0000 (07:51 +0200)
On gs101 only, sysreg can be part of a power domain, so we need to
allow the relevant property 'power-domains' for the relevant
compatibles google,gs101-*-sysreg.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20251010-power-domains-dt-bindings-soc-samsung-exynos-sysreg-v2-1-552f5787a3f3@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml

index 518af7b926b7cec961a44c166c4465058f0b3d12..e772a7482b029b8b363a2f547dce664d92206d7a 100644 (file)
@@ -77,6 +77,9 @@ properties:
   clocks:
     maxItems: 1
 
+  power-domains:
+    maxItems: 1
+
 required:
   - compatible
   - reg
@@ -106,6 +109,16 @@ allOf:
       properties:
         clocks: false
 
+  - if:
+      properties:
+        compatible:
+          not:
+            contains:
+              pattern: "^google,gs101-[^-]+-sysreg$"
+    then:
+      properties:
+        power-domains: false
+
 additionalProperties: false
 
 examples: