mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: soc: samsung: exynos-sysreg: add power-domains
@ 2025-10-10  6:29 André Draszik
  2025-10-18 17:05 ` Krzysztof Kozlowski
  2025-10-20 10:08 ` (subset) " Krzysztof Kozlowski
  0 siblings, 2 replies; 3+ messages in thread
From: André Draszik @ 2025-10-10  6:29 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
  Cc: Peter Griffin, Tudor Ambarus, Will McVicker, kernel-team,
	devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel,
	André Draszik

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>
---
Changes in v2:
- limit to gs101 only (Krzysztof)
- Link to v1: https://lore.kernel.org/r/20251008-power-domains-dt-bindings-soc-samsung-exynos-sysreg-v1-1-ab41c517dec6@linaro.org
---
 .../bindings/soc/samsung/samsung,exynos-sysreg.yaml         | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
index d8b302f975474a87e4886006cf0b21cf758e4479..62bce63a1557cf425a651de8864f350b0c46b1ad 100644
--- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
+++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
@@ -73,6 +73,9 @@ properties:
   clocks:
     maxItems: 1
 
+  power-domains:
+    maxItems: 1
+
 required:
   - compatible
   - reg
@@ -100,6 +103,16 @@ allOf:
       properties:
         clocks: false
 
+  - if:
+      properties:
+        compatible:
+          not:
+            contains:
+              pattern: "^google,gs101-[^-]+-sysreg$"
+    then:
+      properties:
+        power-domains: false
+
 additionalProperties: false
 
 examples:

---
base-commit: 3b9b1f8df454caa453c7fb07689064edb2eda90a
change-id: 20251007-power-domains-dt-bindings-soc-samsung-exynos-sysreg-5dd349912b0c

Best regards,
-- 
André Draszik <andre.draszik@linaro.org>


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

* Re: [PATCH v2] dt-bindings: soc: samsung: exynos-sysreg: add power-domains
  2025-10-10  6:29 [PATCH v2] dt-bindings: soc: samsung: exynos-sysreg: add power-domains André Draszik
@ 2025-10-18 17:05 ` Krzysztof Kozlowski
  2025-10-20 10:08 ` (subset) " Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-18 17:05 UTC (permalink / raw)
  To: André Draszik, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Alim Akhtar
  Cc: Peter Griffin, Tudor Ambarus, Will McVicker, kernel-team,
	devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel

On 10/10/2025 08:29, André Draszik wrote:
> 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>
> ---
> Changes in v2:
> - limit to gs101 only (Krzysztof)
> - Link to v1: https://lore.kernel.org/r/20251008-power-domains-dt-bindings-soc-samsung-exynos-sysreg-v1-1-ab41c517dec6@linaro.org
> ---
>  .../bindings/soc/samsung/samsung,exynos-sysreg.yaml         | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof

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

* Re: (subset) [PATCH v2] dt-bindings: soc: samsung: exynos-sysreg: add power-domains
  2025-10-10  6:29 [PATCH v2] dt-bindings: soc: samsung: exynos-sysreg: add power-domains André Draszik
  2025-10-18 17:05 ` Krzysztof Kozlowski
@ 2025-10-20 10:08 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-20 10:08 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar,
	André Draszik
  Cc: Peter Griffin, Tudor Ambarus, Will McVicker, kernel-team,
	devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel


On Fri, 10 Oct 2025 07:29:01 +0100, André Draszik wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] dt-bindings: soc: samsung: exynos-sysreg: add power-domains
      https://git.kernel.org/krzk/linux/c/ebd2160ee6ff3e8e4c7b17b45380900307a34b6b

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


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

end of thread, other threads:[~2025-10-20 10:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-10  6:29 [PATCH v2] dt-bindings: soc: samsung: exynos-sysreg: add power-domains André Draszik
2025-10-18 17:05 ` Krzysztof Kozlowski
2025-10-20 10:08 ` (subset) " Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®