[PATCH 1/2] powerpc/85xx: adapt QorIQ eSDHC to the new clocking model

Yangbo Lu yangbo.lu at nxp.com
Wed Apr 20 20:20:43 AEST 2016


Provide clocks property instead of clock-frequency for QorIQ eSDHC
dts node to adapt to the new clocking model, so that the driver
could get clock value by the common clk API and the u-boot could
remove the clock fixup.

Signed-off-by: Yangbo Lu <yangbo.lu at nxp.com>
---
 arch/powerpc/boot/dts/fsl/qoriq-esdhc-0.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/boot/dts/fsl/qoriq-esdhc-0.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-esdhc-0.dtsi
index 20835ae..ddbe562 100644
--- a/arch/powerpc/boot/dts/fsl/qoriq-esdhc-0.dtsi
+++ b/arch/powerpc/boot/dts/fsl/qoriq-esdhc-0.dtsi
@@ -36,5 +36,5 @@ sdhc: sdhc at 114000 {
 	compatible = "fsl,esdhc";
 	reg = <0x114000 0x1000>;
 	interrupts = <48 2 0 0>;
-	clock-frequency = <0>;
+	clocks = <&clockgen 4 1>;
 };
-- 
2.1.0.27.g96db324



More information about the Linuxppc-dev mailing list