devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] dt-bindings: clock: samsung: Document Exynos850 CMU_APM
@ 2021-10-22 22:45 Sam Protsenko
  2021-10-22 22:45 ` [PATCH v2 2/2] clk: samsung: exynos850: Implement CMU_APM domain Sam Protsenko
  2021-10-29  1:58 ` [PATCH v2 1/2] dt-bindings: clock: samsung: Document Exynos850 CMU_APM Rob Herring
  0 siblings, 2 replies; 7+ messages in thread
From: Sam Protsenko @ 2021-10-22 22:45 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Sylwester Nawrocki, Paweł Chmiel,
	Chanwoo Choi, Tomasz Figa, Rob Herring, Stephen Boyd,
	Michael Turquette
  Cc: Sumit Semwal, devicetree, linux-arm-kernel, linux-clk,
	linux-kernel, linux-samsung-soc

CMU_APM generates clocks for APM IP-core (Active Power Management). In
particular it generates RTC clocks, which are needed to enable rtc-s3c
driver on Exynos850 SoC.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
---
Changes in v2:
  - Added R-b tag by Krzysztof Kozlowski
  - Added Ack by Chanwoo Choi

 .../clock/samsung,exynos850-clock.yaml        | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos850-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos850-clock.yaml
index 7f8c91a29b91..5618cfa62f80 100644
--- a/Documentation/devicetree/bindings/clock/samsung,exynos850-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/samsung,exynos850-clock.yaml
@@ -32,6 +32,7 @@ properties:
   compatible:
     enum:
       - samsung,exynos850-cmu-top
+      - samsung,exynos850-cmu-apm
       - samsung,exynos850-cmu-core
       - samsung,exynos850-cmu-dpu
       - samsung,exynos850-cmu-hsi
@@ -68,6 +69,24 @@ allOf:
           items:
             - const: oscclk
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: samsung,exynos850-cmu-apm
+
+    then:
+      properties:
+        clocks:
+          items:
+            - description: External reference clock (26 MHz)
+            - description: CMU_APM bus clock (from CMU_TOP)
+
+        clock-names:
+          items:
+            - const: oscclk
+            - const: dout_clkcmu_apm_bus
+
   - if:
       properties:
         compatible:
-- 
2.30.2


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

end of thread, other threads:[~2021-11-21 22:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-22 22:45 [PATCH v2 1/2] dt-bindings: clock: samsung: Document Exynos850 CMU_APM Sam Protsenko
2021-10-22 22:45 ` [PATCH v2 2/2] clk: samsung: exynos850: Implement CMU_APM domain Sam Protsenko
2021-10-22 22:48   ` Chanwoo Choi
2021-11-20 12:25   ` Sylwester Nawrocki
2021-11-20 16:54     ` Sam Protsenko
2021-10-29  1:58 ` [PATCH v2 1/2] dt-bindings: clock: samsung: Document Exynos850 CMU_APM Rob Herring
2021-11-21 22:55   ` Sam Protsenko

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).