summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghav Sharma <raghav.s@samsung.com>2025-11-19 17:17:42 +0530
committerKrzysztof Kozlowski <krzk@kernel.org>2025-12-21 14:30:26 +0100
commitdb1cc4902f2f51977e427f796ea8daf49ba93c69 (patch)
treef6ae0dbc1ee18b2da9548afa0211c927fb97f9be
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8 (diff)
dt-bindings: clock: exynosautov920: add MFD clock definitions
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>
-rw-r--r--Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml19
-rw-r--r--include/dt-bindings/clock/samsung,exynosautov920.h4
2 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml
index 5bf905f88a1a..1318720193b3 100644
--- a/Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml
@@ -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"
diff --git a/include/dt-bindings/clock/samsung,exynosautov920.h b/include/dt-bindings/clock/samsung,exynosautov920.h
index 970d05167fc6..06dec27a8c77 100644
--- a/include/dt-bindings/clock/samsung,exynosautov920.h
+++ b/include/dt-bindings/clock/samsung,exynosautov920.h
@@ -305,4 +305,8 @@
#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 */