Skip to contentSkip to conversation

s3c6410: sdhci: Modify platform data for sdhci-1

PATCH New thomas.ab at samsung.com 1 participant 1 message Sep 8, 2009

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

PATCH 6/8 s3c6410: sdhci: Modify platform data for sdhci-1

From: Thomas Abraham <[email protected]>

This patch removes the unused entry host_caps from sdhci-1 platform data. It adds entries for parent clock name, source clock name and operating clock speed.

---
 arch/arm/plat-s3c/dev-hsmmc1.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
arch/arm/plat-s3c/dev-hsmmc1.c +4 -3
index e49bc4c..88d4064 100644
@@ -38,9 +38,10 @@ static struct resource s3c_hsmmc1_resource[] = {
 static u64 s3c_device_hsmmc1_dmamask = 0xffffffffUL;
 
 struct s3c_sdhci_platdata s3c_hsmmc1_def_platdata = {
-	.max_width	= 4,
-	.host_caps	= (MMC_CAP_4_BIT_DATA |
-			   MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED),
+	.max_width		= 4,
+        .clk_parent_name        = "dout_mpll",
+        .clk_source_name        = "mmc_bus",
+        .clk_speed              = 50*MHZ,
 };
 
 struct platform_device s3c_device_hsmmc1 = {
Signature · 1 line
1.5.3.4