diff mbox

[v3,2/3] ARM: mach-shmobile: r8a7740: Add DT names to clock list

Message ID 1361898208-6683-2-git-send-email-hechtb+renesas@gmail.com (mailing list archive)
State Superseded
Headers show

Commit Message

Bastian Hecht Feb. 26, 2013, 5:03 p.m. UTC
This adds temporarily the alternative device names to the clock list
that are used when booting via Device Tree setup.

Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
---
v3:
no changes

 arch/arm/mach-shmobile/clock-r8a7740.c |    9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Simon Horman March 1, 2013, 9:42 a.m. UTC | #1
On Tue, Feb 26, 2013 at 11:03:27AM -0600, Bastian Hecht wrote:
> This adds temporarily the alternative device names to the clock list
> that are used when booting via Device Tree setup.

Thanks, applied to the soc5 branch of the renesas tree
and thus included in its next branch and queued up for v3.10.

> Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
> ---
> v3:
> no changes
> 
>  arch/arm/mach-shmobile/clock-r8a7740.c |    9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/mach-shmobile/clock-r8a7740.c b/arch/arm/mach-shmobile/clock-r8a7740.c
> index 71fc400..0f77823 100644
> --- a/arch/arm/mach-shmobile/clock-r8a7740.c
> +++ b/arch/arm/mach-shmobile/clock-r8a7740.c
> @@ -593,18 +593,27 @@ static struct clk_lookup lookups[] = {
>  	CLKDEV_DEV_ID("sh_mobile_ceu.1",	&mstp_clks[MSTP128]),
>  
>  	CLKDEV_DEV_ID("sh-sci.4",		&mstp_clks[MSTP200]),
> +	CLKDEV_DEV_ID("e6c80000.sci",		&mstp_clks[MSTP200]),
>  	CLKDEV_DEV_ID("sh-sci.3",		&mstp_clks[MSTP201]),
> +	CLKDEV_DEV_ID("e6c70000.sci",		&mstp_clks[MSTP201]),
>  	CLKDEV_DEV_ID("sh-sci.2",		&mstp_clks[MSTP202]),
> +	CLKDEV_DEV_ID("e6c60000.sci",		&mstp_clks[MSTP202]),
>  	CLKDEV_DEV_ID("sh-sci.1",		&mstp_clks[MSTP203]),
> +	CLKDEV_DEV_ID("e6c50000.sci",		&mstp_clks[MSTP203]),
>  	CLKDEV_DEV_ID("sh-sci.0",		&mstp_clks[MSTP204]),
> +	CLKDEV_DEV_ID("e6c40000.sci",		&mstp_clks[MSTP204]),
>  	CLKDEV_DEV_ID("sh-sci.8",		&mstp_clks[MSTP206]),
> +	CLKDEV_DEV_ID("e6c30000.sci",		&mstp_clks[MSTP206]),
>  	CLKDEV_DEV_ID("sh-sci.5",		&mstp_clks[MSTP207]),
> +	CLKDEV_DEV_ID("e6cb0000.sci",		&mstp_clks[MSTP207]),
>  	CLKDEV_DEV_ID("sh-dma-engine.3",	&mstp_clks[MSTP214]),
>  	CLKDEV_DEV_ID("sh-dma-engine.2",	&mstp_clks[MSTP216]),
>  	CLKDEV_DEV_ID("sh-dma-engine.1",	&mstp_clks[MSTP217]),
>  	CLKDEV_DEV_ID("sh-dma-engine.0",	&mstp_clks[MSTP218]),
>  	CLKDEV_DEV_ID("sh-sci.7",		&mstp_clks[MSTP222]),
> +	CLKDEV_DEV_ID("e6cd0000.sci",		&mstp_clks[MSTP222]),
>  	CLKDEV_DEV_ID("sh-sci.6",		&mstp_clks[MSTP230]),
> +	CLKDEV_DEV_ID("e6cc0000.sci",		&mstp_clks[MSTP230]),
>  
>  	CLKDEV_DEV_ID("sh_cmt.10",		&mstp_clks[MSTP329]),
>  	CLKDEV_DEV_ID("sh_fsi2",		&mstp_clks[MSTP328]),
> -- 
> 1.7.9.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-shmobile/clock-r8a7740.c b/arch/arm/mach-shmobile/clock-r8a7740.c
index 71fc400..0f77823 100644
--- a/arch/arm/mach-shmobile/clock-r8a7740.c
+++ b/arch/arm/mach-shmobile/clock-r8a7740.c
@@ -593,18 +593,27 @@  static struct clk_lookup lookups[] = {
 	CLKDEV_DEV_ID("sh_mobile_ceu.1",	&mstp_clks[MSTP128]),
 
 	CLKDEV_DEV_ID("sh-sci.4",		&mstp_clks[MSTP200]),
+	CLKDEV_DEV_ID("e6c80000.sci",		&mstp_clks[MSTP200]),
 	CLKDEV_DEV_ID("sh-sci.3",		&mstp_clks[MSTP201]),
+	CLKDEV_DEV_ID("e6c70000.sci",		&mstp_clks[MSTP201]),
 	CLKDEV_DEV_ID("sh-sci.2",		&mstp_clks[MSTP202]),
+	CLKDEV_DEV_ID("e6c60000.sci",		&mstp_clks[MSTP202]),
 	CLKDEV_DEV_ID("sh-sci.1",		&mstp_clks[MSTP203]),
+	CLKDEV_DEV_ID("e6c50000.sci",		&mstp_clks[MSTP203]),
 	CLKDEV_DEV_ID("sh-sci.0",		&mstp_clks[MSTP204]),
+	CLKDEV_DEV_ID("e6c40000.sci",		&mstp_clks[MSTP204]),
 	CLKDEV_DEV_ID("sh-sci.8",		&mstp_clks[MSTP206]),
+	CLKDEV_DEV_ID("e6c30000.sci",		&mstp_clks[MSTP206]),
 	CLKDEV_DEV_ID("sh-sci.5",		&mstp_clks[MSTP207]),
+	CLKDEV_DEV_ID("e6cb0000.sci",		&mstp_clks[MSTP207]),
 	CLKDEV_DEV_ID("sh-dma-engine.3",	&mstp_clks[MSTP214]),
 	CLKDEV_DEV_ID("sh-dma-engine.2",	&mstp_clks[MSTP216]),
 	CLKDEV_DEV_ID("sh-dma-engine.1",	&mstp_clks[MSTP217]),
 	CLKDEV_DEV_ID("sh-dma-engine.0",	&mstp_clks[MSTP218]),
 	CLKDEV_DEV_ID("sh-sci.7",		&mstp_clks[MSTP222]),
+	CLKDEV_DEV_ID("e6cd0000.sci",		&mstp_clks[MSTP222]),
 	CLKDEV_DEV_ID("sh-sci.6",		&mstp_clks[MSTP230]),
+	CLKDEV_DEV_ID("e6cc0000.sci",		&mstp_clks[MSTP230]),
 
 	CLKDEV_DEV_ID("sh_cmt.10",		&mstp_clks[MSTP329]),
 	CLKDEV_DEV_ID("sh_fsi2",		&mstp_clks[MSTP328]),