Skip to contentSkip to conversation

S3C2443: Add devname for hsmmc1 pclk

PATCH New Heiko Stübner 2 participants 2 messages Sep 28, 2011 – Oct 14, 2011

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

PATCH 1/1 S3C2443: Add devname for hsmmc1 pclk

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.

---
 arch/arm/plat-s3c24xx/s3c2443-clock.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-s3c24xx/s3c2443-clock.c +1 -0
index b4b2fa1..6408650 100644
@@ -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,
Signature · 1 line
1.7.2.3
Applied
#1 lore raw

PATCH 1/1 S3C2443: Add devname for hsmmc1 pclk

Quoted 27 lines · 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.

---
 arch/arm/plat-s3c24xx/s3c2443-clock.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat- renamed from arch/arm/plat-s3c24xx/s3c2443-clock.c +0 -0

s3c24xx/s3c2443-clock.c
index b4b2fa1..6408650 100644

arch/arm/plat-s3c24xx/s3c2443-clock.c +1 -1
@@ -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,
--
Quoted 1 line

1.7.2.3

Applied.
Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.