mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: imx93: dtsi: set assigned-clocks for usdhc1
@ 2025-12-19  9:29 Michael Grzeschik
  2025-12-19  9:34 ` Ahmad Fatoum
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Grzeschik @ 2025-12-19  9:29 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX; +Cc: Steffen Trumtrar

From: Steffen Trumtrar <s.trumtrar@pengutronix.de>

Configure the usdhc1 clock for imx93 devices.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 arch/arm/dts/imx93.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/imx93.dtsi b/arch/arm/dts/imx93.dtsi
index e1328de672438ffc8a3b785a3fb76168ced8dbdb..3bb9e24c781632dd390e483f059cabb600a4f6a6 100644
--- a/arch/arm/dts/imx93.dtsi
+++ b/arch/arm/dts/imx93.dtsi
@@ -47,3 +47,9 @@ ddrc: memory-controller@4e300000 {
 		};
 	};
 };
+
+&usdhc1 {
+	assigned-clocks = <&clk IMX93_CLK_USDHC1>;
+	assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1>;
+	assigned-clock-rates = <400000000>;
+};

---
base-commit: e2d7e032281158b54541392b4d8108de204137a1
change-id: 20251219-imx93-clk-cf19103fcd76

Best regards,
-- 
Michael Grzeschik <m.grzeschik@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: imx93: dtsi: set assigned-clocks for usdhc1
  2025-12-19  9:29 [PATCH] ARM: imx93: dtsi: set assigned-clocks for usdhc1 Michael Grzeschik
@ 2025-12-19  9:34 ` Ahmad Fatoum
  0 siblings, 0 replies; 2+ messages in thread
From: Ahmad Fatoum @ 2025-12-19  9:34 UTC (permalink / raw)
  To: Michael Grzeschik, Sascha Hauer, BAREBOX; +Cc: Steffen Trumtrar

Hello,

On 12/19/25 10:29 AM, Michael Grzeschik wrote:
> From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> 
> Configure the usdhc1 clock for imx93 devices.
> 
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>

Can you please explain why this is necessary? I suspect it's to support
HS200 speeds, but this info should go into commit message body instead
of rephrasing the title.

Thanks,
Ahmad


> ---
>  arch/arm/dts/imx93.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/dts/imx93.dtsi b/arch/arm/dts/imx93.dtsi
> index e1328de672438ffc8a3b785a3fb76168ced8dbdb..3bb9e24c781632dd390e483f059cabb600a4f6a6 100644
> --- a/arch/arm/dts/imx93.dtsi
> +++ b/arch/arm/dts/imx93.dtsi
> @@ -47,3 +47,9 @@ ddrc: memory-controller@4e300000 {
>  		};
>  	};
>  };
> +
> +&usdhc1 {
> +	assigned-clocks = <&clk IMX93_CLK_USDHC1>;
> +	assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1>;
> +	assigned-clock-rates = <400000000>;
> +};
> 
> ---
> base-commit: e2d7e032281158b54541392b4d8108de204137a1
> change-id: 20251219-imx93-clk-cf19103fcd76
> 
> Best regards,

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-19  9:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-19  9:29 [PATCH] ARM: imx93: dtsi: set assigned-clocks for usdhc1 Michael Grzeschik
2025-12-19  9:34 ` Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox