public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm: exynos: clock: support SPLL as mmc source clock for exynos5420
@ 2014-12-22 10:46 Joonyoung Shim
  2014-12-23  7:14 ` Jaehoon Chung
  2014-12-24  1:59 ` Minkyu Kang
  0 siblings, 2 replies; 3+ messages in thread
From: Joonyoung Shim @ 2014-12-22 10:46 UTC (permalink / raw)
  To: u-boot

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.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
---
 arch/arm/cpu/armv7/exynos/clock.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/cpu/armv7/exynos/clock.c b/arch/arm/cpu/armv7/exynos/clock.c
index 8fab135..b31c13b 100644
--- a/arch/arm/cpu/armv7/exynos/clock.c
+++ b/arch/arm/cpu/armv7/exynos/clock.c
@@ -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
-- 
1.9.1

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

* [U-Boot] [PATCH] arm: exynos: clock: support SPLL as mmc source clock for exynos5420
  2014-12-22 10:46 [U-Boot] [PATCH] arm: exynos: clock: support SPLL as mmc source clock for exynos5420 Joonyoung Shim
@ 2014-12-23  7:14 ` Jaehoon Chung
  2014-12-24  1:59 ` Minkyu Kang
  1 sibling, 0 replies; 3+ messages in thread
From: Jaehoon Chung @ 2014-12-23  7:14 UTC (permalink / raw)
  To: u-boot

Acked-by: Jaehoon Chung <jh80.chung@samsung.com>

Best Regards,
Jaehoon Chung

On 12/22/2014 07:46 PM, Joonyoung Shim wrote:
> 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.
> 
> Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
> ---
>  arch/arm/cpu/armv7/exynos/clock.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/cpu/armv7/exynos/clock.c b/arch/arm/cpu/armv7/exynos/clock.c
> index 8fab135..b31c13b 100644
> --- a/arch/arm/cpu/armv7/exynos/clock.c
> +++ b/arch/arm/cpu/armv7/exynos/clock.c
> @@ -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
> 

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

* [U-Boot] [PATCH] arm: exynos: clock: support SPLL as mmc source clock for exynos5420
  2014-12-22 10:46 [U-Boot] [PATCH] arm: exynos: clock: support SPLL as mmc source clock for exynos5420 Joonyoung Shim
  2014-12-23  7:14 ` Jaehoon Chung
@ 2014-12-24  1:59 ` Minkyu Kang
  1 sibling, 0 replies; 3+ messages in thread
From: Minkyu Kang @ 2014-12-24  1:59 UTC (permalink / raw)
  To: u-boot

On 22/12/14 19:46, Joonyoung Shim wrote:
> 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.
> 
> Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
> ---
>  arch/arm/cpu/armv7/exynos/clock.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/cpu/armv7/exynos/clock.c b/arch/arm/cpu/armv7/exynos/clock.c
> index 8fab135..b31c13b 100644
> --- a/arch/arm/cpu/armv7/exynos/clock.c
> +++ b/arch/arm/cpu/armv7/exynos/clock.c
> @@ -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.

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

end of thread, other threads:[~2014-12-24  1:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-22 10:46 [U-Boot] [PATCH] arm: exynos: clock: support SPLL as mmc source clock for exynos5420 Joonyoung Shim
2014-12-23  7:14 ` Jaehoon Chung
2014-12-24  1:59 ` Minkyu Kang

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