Skip to contentSkip to conversation

arm: exynos: clock: support SPLL as mmc source clock for exynos5420

PATCH New Joonyoung Shim 3 participants 3 messages Dec 22, 2014 – Dec 24, 2014

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

PATCH 1/1 arm: exynos: clock: support SPLL as mmc source clock for exynos5420

MMC of exynos5420 can select SPLL as source clock, so add to support SPLL in exynos5420_get_mmc_clk(). It was tested on Odroid-XU3 board.

---
 arch/arm/cpu/armv7/exynos/clock.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/cpu/armv7/exynos/clock.c +2 -0
index 8fab135..b31c13b 100644
@@ -848,6 +848,8 @@ static unsigned long exynos5420_get_mmc_clk(int dev_index)
 
 	if (sel == 0x3)
 		sclk = get_pll_clk(MPLL);
+	else if (sel == 0x4)
+		sclk = get_pll_clk(SPLL);
 	else if (sel == 0x6)
 		sclk = get_pll_clk(EPLL);
 	else
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 arm: exynos: clock: support SPLL as mmc source clock for exynos5420

Best Regards,
Jaehoon Chung

Quoted 22 lines · Joonyoung Shim

MMC of exynos5420 can select SPLL as source clock, so add to support SPLL in exynos5420_get_mmc_clk(). It was tested on Odroid-XU3 board.

---
 arch/arm/cpu/armv7/exynos/clock.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/cpu/armv7/exynos/clock.c +2 -0
index 8fab135..b31c13b 100644
@@ -848,6 +848,8 @@ static unsigned long exynos5420_get_mmc_clk(int dev_index)
 
 	if (sel == 0x3)
 		sclk = get_pll_clk(MPLL);
+	else if (sel == 0x4)
+		sclk = get_pll_clk(SPLL);
 	else if (sel == 0x6)
 		sclk = get_pll_clk(EPLL);
 	else
#2 lore raw

PATCH 1/1 arm: exynos: clock: support SPLL as mmc source clock for exynos5420

In reply to Joonyoung Shim
Quoted 14 lines · Joonyoung Shim

MMC of exynos5420 can select SPLL as source clock, so add to support SPLL in exynos5420_get_mmc_clk(). It was tested on Odroid-XU3 board.

---
 arch/arm/cpu/armv7/exynos/clock.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/cpu/armv7/exynos/clock.c +0 -0
index 8fab135..b31c13b 100644

arch/arm/cpu/armv7/exynos/clock.c static unsigned long exynos5420_get_mmc_clk(int dev_index) · line 855

Quoted 8 lines
arch/arm/cpu/armv7/exynos/clock.c +2 -0
@@ -848,6 +848,8 @@ static unsigned long exynos5420_get_mmc_clk(int dev_index)
 
 	if (sel == 0x3)
 		sclk = get_pll_clk(MPLL);
+	else if (sel == 0x4)
+		sclk = get_pll_clk(SPLL);
 	else if (sel == 0x6)
 		sclk = get_pll_clk(EPLL);
 	else

applied to u-boot-samsung.

Thanks,
Minkyu Kang.