]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: clock: exynosautov920: add MFD clock definitions
authorRaghav Sharma <raghav.s@samsung.com>
Wed, 19 Nov 2025 11:47:42 +0000 (17:17 +0530)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 21 Dec 2025 13:30:26 +0000 (14:30 +0100)
Add device tree clock binding definitions for CMU_MFD

Signed-off-by: Raghav Sharma <raghav.s@samsung.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20251119114744.1914416-2-raghav.s@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml
include/dt-bindings/clock/samsung,exynosautov920.h

index 5bf905f88a1ac1306f32b873f57f552b61b64a4d..1318720193b3ddc5e5a0154f10261567bc166b29 100644 (file)
@@ -40,6 +40,7 @@ properties:
       - samsung,exynosautov920-cmu-hsi2
       - samsung,exynosautov920-cmu-m2m
       - samsung,exynosautov920-cmu-mfc
+      - samsung,exynosautov920-cmu-mfd
       - samsung,exynosautov920-cmu-misc
       - samsung,exynosautov920-cmu-peric0
       - samsung,exynosautov920-cmu-peric1
@@ -268,6 +269,24 @@ allOf:
             - const: mfc
             - const: wfd
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: samsung,exynosautov920-cmu-mfd
+
+    then:
+      properties:
+        clocks:
+          items:
+            - description: External reference clock (38.4 MHz)
+            - description: CMU_MFD NOC clock (from CMU_TOP)
+
+        clock-names:
+          items:
+            - const: oscclk
+            - const: noc
+
 required:
   - compatible
   - "#clock-cells"
index 970d05167fc63673892183b4afe6e8a9cfa0980f..06dec27a8c7709e217422ab347bf6328a5c41cdc 100644 (file)
 #define CLK_MOUT_MFC_WFD_USER           2
 #define CLK_DOUT_MFC_NOCP               3
 
+/* CMU_MFD */
+#define CLK_MOUT_MFD_NOC_USER           1
+#define CLK_DOUT_MFD_NOCP               2
+
 #endif /* _DT_BINDINGS_CLOCK_EXYNOSAUTOV920_H */