* [PATCH v1] dt-bindings: clock: exynosautov920: add hsi2 clock definitions
[not found] <CGME20250509131427epcas5p1fe29ea19cb7624dc828935d6ec47854b@epcas5p1.samsung.com>
@ 2025-05-09 13:24 ` Raghav Sharma
2025-05-10 2:21 ` Alim Akhtar
0 siblings, 1 reply; 2+ messages in thread
From: Raghav Sharma @ 2025-05-09 13:24 UTC (permalink / raw)
To: krzk, s.nawrocki, cw00.choi, alim.akhtar, mturquette, sboyd, robh,
conor+dt, sunyeal.hong, shin.son
Cc: linux-samsung-soc, linux-clk, devicetree, linux-arm-kernel,
linux-kernel, Raghav Sharma
Add device tree clock binding definitions for CMU_HSI2
Signed-off-by: Raghav Sharma <raghav.s@samsung.com>
---
.../clock/samsung,exynosautov920-clock.yaml | 29 +++++++++++++++++--
.../clock/samsung,exynosautov920.h | 9 ++++++
2 files changed, 36 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml
index 6961a68098f4..3cbb1dc8d828 100644
--- a/Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml
@@ -41,14 +41,15 @@ properties:
- samsung,exynosautov920-cmu-misc
- samsung,exynosautov920-cmu-hsi0
- samsung,exynosautov920-cmu-hsi1
+ - samsung,exynosautov920-cmu-hsi2
clocks:
minItems: 1
- maxItems: 4
+ maxItems: 5
clock-names:
minItems: 1
- maxItems: 4
+ maxItems: 5
"#clock-cells":
const: 1
@@ -201,6 +202,30 @@ allOf:
- const: usbdrd
- const: mmc_card
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: samsung,exynosautov920-cmu-hsi2
+
+ then:
+ properties:
+ clocks:
+ items:
+ - description: External reference clock (38.4 MHz)
+ - description: CMU_HSI2 NOC clock (from CMU_TOP)
+ - description: CMU_HSI2 NOC UFS clock (from CMU_TOP)
+ - description: CMU_HSI2 UFS EMBD clock (from CMU_TOP)
+ - description: CMU_HSI2 ETHERNET clock (from CMU_TOP)
+
+ clock-names:
+ items:
+ - const: oscclk
+ - const: noc
+ - const: ufs
+ - const: embd
+ - const: ethernet
+
required:
- compatible
- "#clock-cells"
diff --git a/include/dt-bindings/clock/samsung,exynosautov920.h b/include/dt-bindings/clock/samsung,exynosautov920.h
index 5e6896e9627f..93e6233d1358 100644
--- a/include/dt-bindings/clock/samsung,exynosautov920.h
+++ b/include/dt-bindings/clock/samsung,exynosautov920.h
@@ -286,4 +286,13 @@
#define CLK_MOUT_HSI1_USBDRD_USER 3
#define CLK_MOUT_HSI1_USBDRD 4
+/* CMU_HSI2 */
+#define FOUT_PLL_ETH 1
+#define CLK_MOUT_HSI2_NOC_UFS_USER 2
+#define CLK_MOUT_HSI2_UFS_EMBD_USER 3
+#define CLK_MOUT_HSI2_ETHERNET 4
+#define CLK_MOUT_HSI2_ETHERNET_USER 5
+#define CLK_DOUT_HSI2_ETHERNET 6
+#define CLK_DOUT_HSI2_ETHERNET_PTP 7
+
#endif /* _DT_BINDINGS_CLOCK_EXYNOSAUTOV920_H */
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH v1] dt-bindings: clock: exynosautov920: add hsi2 clock definitions
2025-05-09 13:24 ` [PATCH v1] dt-bindings: clock: exynosautov920: add hsi2 clock definitions Raghav Sharma
@ 2025-05-10 2:21 ` Alim Akhtar
0 siblings, 0 replies; 2+ messages in thread
From: Alim Akhtar @ 2025-05-10 2:21 UTC (permalink / raw)
To: 'Raghav Sharma', krzk, s.nawrocki, cw00.choi, mturquette,
sboyd, robh, conor+dt, sunyeal.hong, shin.son
Cc: linux-samsung-soc, linux-clk, devicetree, linux-arm-kernel,
linux-kernel
> -----Original Message-----
> From: Raghav Sharma <raghav.s@samsung.com>
> Sent: Friday, May 9, 2025 6:54 PM
> To: krzk@kernel.org; s.nawrocki@samsung.com; cw00.choi@samsung.com;
> alim.akhtar@samsung.com; mturquette@baylibre.com; sboyd@kernel.org;
> robh@kernel.org; conor+dt@kernel.org; sunyeal.hong@samsung.com;
> shin.son@samsung.com
> Cc: linux-samsung-soc@vger.kernel.org; linux-clk@vger.kernel.org;
> devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-
> kernel@vger.kernel.org; Raghav Sharma <raghav.s@samsung.com>
> Subject: [PATCH v1] dt-bindings: clock: exynosautov920: add hsi2 clock
> definitions
>
> Add device tree clock binding definitions for CMU_HSI2
>
> Signed-off-by: Raghav Sharma <raghav.s@samsung.com>
> ---
> .../clock/samsung,exynosautov920-clock.yaml | 29 +++++++++++++++++--
> .../clock/samsung,exynosautov920.h | 9 ++++++
> 2 files changed, 36 insertions(+), 2 deletions(-)
>
Hmm, you sent three separate patches that are interdependent but did not mention their dependencies.
e.g.
The patch that adds the clock driver cannot be compiled without the one that adds the header file, which is part of this binding patch
Go through the below section of submitting-patches documentation
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#separate-your-changes
Make sure that each patch is individually compilable (or dependencies are mentioned clearly) and bisectable
ask someone if you are unsure of what you are submitting.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-10 2:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20250509131427epcas5p1fe29ea19cb7624dc828935d6ec47854b@epcas5p1.samsung.com>
2025-05-09 13:24 ` [PATCH v1] dt-bindings: clock: exynosautov920: add hsi2 clock definitions Raghav Sharma
2025-05-10 2:21 ` Alim Akhtar
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).