Skip to contentSkip to conversation

ARM: imx: Let SPL configure ECSPI1 clock on Data Modul i.MX8M Plus eDM SBC

PATCH Applied Marek Vasut 2 participants 3 messages Feb 8, 2024 – Feb 12, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: imx: Let SPL configure ECSPI1 clock on Data Modul i.MX8M Plus eDM SBC

The SPL clock code does configure the ECSPI clock frequency, which has to match the mxc-spi driver configuration for successful SPI NOR boot. Drop the assigned-clock from DT ecspi1 node on this board to let the SPL clock code do the configuration and keep it aligned with the driver expectation.

---
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Stefano Babic <[email protected]>

---
 arch/arm/dts/imx8mp-data-modul-edm-sbc-u-boot.dtsi | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/dts/imx8mp-data-modul-edm-sbc-u-boot.dtsi +3 -0
index cb6ea356fd7..805b5f57955 100644
@@ -45,6 +45,9 @@
 };
 
 &ecspi1 {
+	/delete-property/ assigned-clocks;
+	/delete-property/ assigned-clock-rates;
+	/delete-property/ assigned-clock-parents;
 	bootph-pre-ram;
 	flash@0 {
 		bootph-pre-ram;
Signature · 1 line
2.43.0
reviewer Reviewed-by on v1 1/1
#1 lore raw

Hi Marek,

Quoted 8 lines · Marek Vasut

The SPL clock code does configure the ECSPI clock frequency, which has to match the mxc-spi driver configuration for successful SPI NOR boot. Drop the assigned-clock from DT ecspi1 node on this board to let the SPL clock code do the configuration and keep it aligned with the driver expectation.

reviewer Applied
#2 lore raw
In reply to Marek Vasut
Quoted 8 lines · Marek Vasut

The SPL clock code does configure the ECSPI clock frequency, which has to match the mxc-spi driver configuration for successful SPI NOR boot. Drop the assigned-clock from DT ecspi1 node on this board to let the SPL clock code do the configuration and keep it aligned with the driver expectation.

Applied, thanks.