All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] S3C2443: Add devname for hsmmc1 pclk
@ 2011-09-28 19:59 ` Heiko Stübner
  0 siblings, 0 replies; 4+ messages in thread
From: Heiko Stübner @ 2011-09-28 19:59 UTC (permalink / raw)
  To: Kukjin Kim, 'Ben Dooks'
  Cc: linux-arm-kernel, linux-samsung-soc, Heiko Stübner

S3C2443 uses hsmmc1 as its only hsmmc device and for S3C2416/2450 it's
the second hsmmc channel with the same PCLKCON bit.
The hsmmc-if clocks on both systems already got a devname, as did the
hsmmc pclk for hsmmc0 on the S3C2416.
So to make it possible to identify the hsmmc1 pclk on S3C2416 add the
correct devname for it. The sclk name on S3C2443 also is s3c-sdhci.1.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 arch/arm/plat-s3c24xx/s3c2443-clock.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-s3c24xx/s3c2443-clock.c b/arch/arm/plat-s3c24xx/s3c2443-clock.c
index b4b2fa1..6408650 100644
--- a/arch/arm/plat-s3c24xx/s3c2443-clock.c
+++ b/arch/arm/plat-s3c24xx/s3c2443-clock.c
@@ -416,6 +416,7 @@ static struct clk init_clocks[] = {
 		.ctrlbit	= S3C2443_HCLKCON_DMA5,
 	}, {
 		.name		= "hsmmc",
+		.devname	= "s3c-sdhci.1",
 		.parent		= &clk_h,
 		.enable		= s3c2443_clkcon_enable_h,
 		.ctrlbit	= S3C2443_HCLKCON_HSMMC,
-- 
1.7.2.3

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

* [PATCH] S3C2443: Add devname for hsmmc1 pclk
@ 2011-09-28 19:59 ` Heiko Stübner
  0 siblings, 0 replies; 4+ messages in thread
From: Heiko Stübner @ 2011-09-28 19:59 UTC (permalink / raw)
  To: linux-arm-kernel

S3C2443 uses hsmmc1 as its only hsmmc device and for S3C2416/2450 it's
the second hsmmc channel with the same PCLKCON bit.
The hsmmc-if clocks on both systems already got a devname, as did the
hsmmc pclk for hsmmc0 on the S3C2416.
So to make it possible to identify the hsmmc1 pclk on S3C2416 add the
correct devname for it. The sclk name on S3C2443 also is s3c-sdhci.1.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 arch/arm/plat-s3c24xx/s3c2443-clock.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-s3c24xx/s3c2443-clock.c b/arch/arm/plat-s3c24xx/s3c2443-clock.c
index b4b2fa1..6408650 100644
--- a/arch/arm/plat-s3c24xx/s3c2443-clock.c
+++ b/arch/arm/plat-s3c24xx/s3c2443-clock.c
@@ -416,6 +416,7 @@ static struct clk init_clocks[] = {
 		.ctrlbit	= S3C2443_HCLKCON_DMA5,
 	}, {
 		.name		= "hsmmc",
+		.devname	= "s3c-sdhci.1",
 		.parent		= &clk_h,
 		.enable		= s3c2443_clkcon_enable_h,
 		.ctrlbit	= S3C2443_HCLKCON_HSMMC,
-- 
1.7.2.3

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

* RE: [PATCH] S3C2443: Add devname for hsmmc1 pclk
  2011-09-28 19:59 ` Heiko Stübner
@ 2011-10-14  7:14   ` Kukjin Kim
  -1 siblings, 0 replies; 4+ messages in thread
From: Kukjin Kim @ 2011-10-14  7:14 UTC (permalink / raw)
  To: 'Heiko Stübner', 'Ben Dooks'
  Cc: linux-arm-kernel, linux-samsung-soc

Heiko Stübner wrote:
> 
> S3C2443 uses hsmmc1 as its only hsmmc device and for S3C2416/2450 it's
> the second hsmmc channel with the same PCLKCON bit.
> The hsmmc-if clocks on both systems already got a devname, as did the
> hsmmc pclk for hsmmc0 on the S3C2416.
> So to make it possible to identify the hsmmc1 pclk on S3C2416 add the
> correct devname for it. The sclk name on S3C2443 also is s3c-sdhci.1.
> 
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
>  arch/arm/plat-s3c24xx/s3c2443-clock.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/plat-s3c24xx/s3c2443-clock.c b/arch/arm/plat-
> s3c24xx/s3c2443-clock.c
> index b4b2fa1..6408650 100644
> --- a/arch/arm/plat-s3c24xx/s3c2443-clock.c
> +++ b/arch/arm/plat-s3c24xx/s3c2443-clock.c
> @@ -416,6 +416,7 @@ static struct clk init_clocks[] = {
>  		.ctrlbit	= S3C2443_HCLKCON_DMA5,
>  	}, {
>  		.name		= "hsmmc",
> +		.devname	= "s3c-sdhci.1",
>  		.parent		= &clk_h,
>  		.enable		= s3c2443_clkcon_enable_h,
>  		.ctrlbit	= S3C2443_HCLKCON_HSMMC,
> --
> 1.7.2.3

Applied.
Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

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

* [PATCH] S3C2443: Add devname for hsmmc1 pclk
@ 2011-10-14  7:14   ` Kukjin Kim
  0 siblings, 0 replies; 4+ messages in thread
From: Kukjin Kim @ 2011-10-14  7:14 UTC (permalink / raw)
  To: linux-arm-kernel

Heiko St?bner wrote:
> 
> S3C2443 uses hsmmc1 as its only hsmmc device and for S3C2416/2450 it's
> the second hsmmc channel with the same PCLKCON bit.
> The hsmmc-if clocks on both systems already got a devname, as did the
> hsmmc pclk for hsmmc0 on the S3C2416.
> So to make it possible to identify the hsmmc1 pclk on S3C2416 add the
> correct devname for it. The sclk name on S3C2443 also is s3c-sdhci.1.
> 
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
>  arch/arm/plat-s3c24xx/s3c2443-clock.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/plat-s3c24xx/s3c2443-clock.c b/arch/arm/plat-
> s3c24xx/s3c2443-clock.c
> index b4b2fa1..6408650 100644
> --- a/arch/arm/plat-s3c24xx/s3c2443-clock.c
> +++ b/arch/arm/plat-s3c24xx/s3c2443-clock.c
> @@ -416,6 +416,7 @@ static struct clk init_clocks[] = {
>  		.ctrlbit	= S3C2443_HCLKCON_DMA5,
>  	}, {
>  		.name		= "hsmmc",
> +		.devname	= "s3c-sdhci.1",
>  		.parent		= &clk_h,
>  		.enable		= s3c2443_clkcon_enable_h,
>  		.ctrlbit	= S3C2443_HCLKCON_HSMMC,
> --
> 1.7.2.3

Applied.
Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

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

end of thread, other threads:[~2011-10-14  7:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-28 19:59 [PATCH] S3C2443: Add devname for hsmmc1 pclk Heiko Stübner
2011-09-28 19:59 ` Heiko Stübner
2011-10-14  7:14 ` Kukjin Kim
2011-10-14  7:14   ` Kukjin Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.