[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250528105252.157533-2-umer.uddin@mentallysanemainliners.org>
Date: Wed, 28 May 2025 11:52:51 +0100
From: Umer Uddin <umer.uddin@...tallysanemainliners.org>
To: Krzysztof Kozlowski <krzk@...nel.org>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Alim Akhtar <alim.akhtar@...sung.com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Rob Herring <robh@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Igor Belwon <igor.belwon@...tallysanemainliners.org>
Cc: linux-samsung-soc@...r.kernel.org,
linux-clk@...r.kernel.org,
devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v1 1/2] dt-bindings: clock: exynos990: Add CMU_HSI1 bindings
Add dt-schema documentation for the Exynos990 CMU_HSI1 block.
This clock management unit provides clocks for the DesignWare MMC
controller, PCIE subsystem and UFS subsystem.
Signed-off-by: Umer Uddin <umer.uddin@...tallysanemainliners.org>
---
.../clock/samsung,exynos990-clock.yaml | 27 +++++++++++++++++++
include/dt-bindings/clock/samsung,exynos990.h | 7 +++++
2 files changed, 34 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos990-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos990-clock.yaml
index c15cc1752..ce3b845ce 100644
--- a/Documentation/devicetree/bindings/clock/samsung,exynos990-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/samsung,exynos990-clock.yaml
@@ -31,6 +31,7 @@ properties:
compatible:
enum:
- samsung,exynos990-cmu-hsi0
+ - samsung,exynos990-cmu-hsi1
- samsung,exynos990-cmu-peris
- samsung,exynos990-cmu-top
@@ -80,6 +81,32 @@ allOf:
- const: usbdp_debug
- const: dpgtc
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: samsung,exynos990-cmu-hsi1
+
+ then:
+ properties:
+ clocks:
+ items:
+ - description: External reference clock (26 MHz)
+ - description: CMU_HSI1 BUS clock (from CMU_TOP)
+ - description: CMU_HSI1 MMC_CARD clock (from CMU_TOP)
+ - description: CMU_HSI1 PCIE clock (from CMU_TOP)
+ - description: CMU_HSI1 UFS_CARD clock (from CMU_TOP)
+ - description: CMU_HSI1 UFS_EMBD clock (from CMU_TOP)
+
+ clock-names:
+ items:
+ - const: oscclk
+ - const: bus
+ - const: mmc_card
+ - const: pcie
+ - const: ufs_card
+ - const: ufs_embd
+
- if:
properties:
compatible:
diff --git a/include/dt-bindings/clock/samsung,exynos990.h b/include/dt-bindings/clock/samsung,exynos990.h
index 6b9df09d2..3164cca44 100644
--- a/include/dt-bindings/clock/samsung,exynos990.h
+++ b/include/dt-bindings/clock/samsung,exynos990.h
@@ -254,4 +254,11 @@
#define CLK_GOUT_PERIS_OTP_CON_BIRA_OSCCLK 18
#define CLK_GOUT_PERIS_OTP_CON_TOP_OSCCLK 19
+/* CMU_HSI1 */
+#define CLK_MOUT_HSI1_BUS_USER 1
+#define CLK_MOUT_HSI1_MMC_CARD_USER 2
+#define CLK_MOUT_HSI1_PCIE_USER 3
+#define CLK_MOUT_HSI1_UFS_CARD_USER 4
+#define CLK_MOUT_HSI1_UFS_EMBD_USER 5
+
#endif
--
2.47.2
Powered by blists - more mailing lists