linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/8] s3c6410: sdhci: Adding additional data in sdhci platform data structure.
@ 2009-09-08  6:47 thomas.ab at samsung.com
  2009-09-16  0:43 ` Ben Dooks
  0 siblings, 1 reply; 6+ messages in thread
From: thomas.ab at samsung.com @ 2009-09-08  6:47 UTC (permalink / raw)
  To: linux-arm-kernel

From: Thomas Abraham <thomas.ab@samsung.com>

This patch adds additional information about the parent clock
name, sdhci clock name and desired sdhci operating frequency
in the sdhci platform data structure.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
---
 arch/arm/plat-s3c/dev-hsmmc.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm/plat-s3c/dev-hsmmc.c b/arch/arm/plat-s3c/dev-hsmmc.c
index 4c05b39..357ec60 100644
--- a/arch/arm/plat-s3c/dev-hsmmc.c
+++ b/arch/arm/plat-s3c/dev-hsmmc.c
@@ -38,9 +38,12 @@ static struct resource s3c_hsmmc_resource[] = {
 static u64 s3c_device_hsmmc_dmamask = 0xffffffffUL;
 
 struct s3c_sdhci_platdata s3c_hsmmc0_def_platdata = {
-	.max_width	= 4,
-	.host_caps	= (MMC_CAP_4_BIT_DATA |
-			   MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED),
+	.max_width		= 4,
+	.host_caps		= (MMC_CAP_4_BIT_DATA |
+				  MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED),
+	.clk_parent_name	= "dout_mpll",
+	.clk_source_name 	= "mmc_bus",
+	.clk_speed		= 50*MHZ,
 };
 
 struct platform_device s3c_device_hsmmc0 = {
-- 
1.5.3.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH 2/8] s3c6410: sdhci: Adding additional data in sdhci platform data structure.
@ 2009-09-12 16:04 Maurus Cuelenaere
  2009-09-14 13:29 ` Thomas P. Abraham
  0 siblings, 1 reply; 6+ messages in thread
From: Maurus Cuelenaere @ 2009-09-12 16:04 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

this breaks hsmmc1 (and hsmmc2).

Attached patch fixes hsmmc1.

Regards,
Maurus Cuelenaere

 From a743b9c3b7a6b63e2c0ccf22a45a06952920dff4 Mon Sep 17 00:00:00 2001
From: Maurus Cuelenaere <mcuelenaere@gmail.com>
Date: Sat, 12 Sep 2009 17:40:33 +0200

This patch adds additional information about the parent clock
name, sdhci clock name and desired sdhci operating frequency
for hsmmc1 (based on e52782df345ec3e826701438ef42d2a8425bb973).

Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
---
  arch/arm/plat-s3c/dev-hsmmc1.c |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-s3c/dev-hsmmc1.c b/arch/arm/plat-s3c/dev-hsmmc1.c
index e49bc4c..d8c8f61 100644
--- a/arch/arm/plat-s3c/dev-hsmmc1.c
+++ b/arch/arm/plat-s3c/dev-hsmmc1.c
@@ -41,6 +41,9 @@ 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),
+    .clk_parent_name    = "dout_mpll",
+    .clk_source_name     = "mmc_bus",
+    .clk_speed        = 50*MHZ,
  };

  struct platform_device s3c_device_hsmmc1 = {
-- 
1.6.3.3

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

end of thread, other threads:[~2009-09-16  0:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-08  6:47 [PATCH 2/8] s3c6410: sdhci: Adding additional data in sdhci platform data structure thomas.ab at samsung.com
2009-09-16  0:43 ` Ben Dooks
  -- strict thread matches above, loose matches on Subject: below --
2009-09-12 16:04 Maurus Cuelenaere
2009-09-14 13:29 ` Thomas P. Abraham
2009-09-14 13:33   ` Maurus Cuelenaere
2009-09-16  0:33   ` Ben Dooks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).