Skip to contentSkip to conversation

dt-bindings: clock: Add bindings for Exynos850 CMU_AUD

PATCH In review Sam Protsenko 1 participant 1 message Aug 8, 2022

Subsystems (5)
lore
Share & tools
lore

Sam Protsenko

author maintainer
#0 lore raw

PATCH 1/7 dt-bindings: clock: Add bindings for Exynos850 CMU_AUD

CMU_AUD generates Cortex-A32 clock, bus clock and audio clocks for BLK_AUD. Add clock indices and binding documentation for CMU_AUD.

---
 .../clock/samsung,exynos850-clock.yaml        | 19 ++++++
 include/dt-bindings/clock/exynos850.h         | 68 ++++++++++++++++++-
 2 files changed, 86 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/clock/samsung,exynos850-clock.yaml +19 -0
index 80ba60838f2b..523fdfaae891 100644
@@ -33,6 +33,7 @@ properties:
     enum:
       - samsung,exynos850-cmu-top
       - samsung,exynos850-cmu-apm
+      - samsung,exynos850-cmu-aud
       - samsung,exynos850-cmu-cmgp
       - samsung,exynos850-cmu-core
       - samsung,exynos850-cmu-dpu
@@ -88,6 +89,24 @@ allOf:
             - const: oscclk
             - const: dout_clkcmu_apm_bus
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: samsung,exynos850-cmu-aud
+
+    then:
+      properties:
+        clocks:
+          items:
+            - description: External reference clock (26 MHz)
+            - description: AUD clock (from CMU_TOP)
+
+        clock-names:
+          items:
+            - const: oscclk
+            - const: dout_aud
+
   - if:
       properties:
         compatible:
include/dt-bindings/clock/exynos850.h +67 -1

80 lines not on this page · raw message

Signature · 1 line
2.30.2