diff options
author | Jeongbae Seo <jeongbae.seo@samsung.com> | 2010-10-08 05:03:27 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-10-25 03:02:47 -0400 |
commit | 28c80aa707156d83f679442ea745db301316a4ea (patch) | |
tree | 18dcca97a9da9973cf698feb79c05f1e1a3eb212 /arch/arm/mach-s5pv310/mach-smdkc210.c | |
parent | 40fcd5b9bf27a8ea78df434a92f3d87533a13fc4 (diff) |
ARM: SAMSUNG: Add clock types into platform data
This patch adds clock types into platform data to support
external clock divider instead of internal clock divider.
It is defined that what kinds of clock type is used in machine.
Signed-off-by: Jeongbae Seo <jeongbae.seo@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv310/mach-smdkc210.c')
-rw-r--r-- | arch/arm/mach-s5pv310/mach-smdkc210.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv310/mach-smdkc210.c b/arch/arm/mach-s5pv310/mach-smdkc210.c index da5e7e7788b1..93d537b8dadf 100644 --- a/arch/arm/mach-s5pv310/mach-smdkc210.c +++ b/arch/arm/mach-s5pv310/mach-smdkc210.c | |||
@@ -74,6 +74,7 @@ static struct s3c_sdhci_platdata smdkc210_hsmmc0_pdata __initdata = { | |||
74 | .cd_type = S3C_SDHCI_CD_GPIO, | 74 | .cd_type = S3C_SDHCI_CD_GPIO, |
75 | .ext_cd_gpio = S5PV310_GPK0(2), | 75 | .ext_cd_gpio = S5PV310_GPK0(2), |
76 | .ext_cd_gpio_invert = 1, | 76 | .ext_cd_gpio_invert = 1, |
77 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | ||
77 | #ifdef CONFIG_S5PV310_SDHCI_CH0_8BIT | 78 | #ifdef CONFIG_S5PV310_SDHCI_CH0_8BIT |
78 | .max_width = 8, | 79 | .max_width = 8, |
79 | .host_caps = MMC_CAP_8_BIT_DATA, | 80 | .host_caps = MMC_CAP_8_BIT_DATA, |
@@ -84,12 +85,14 @@ static struct s3c_sdhci_platdata smdkc210_hsmmc1_pdata __initdata = { | |||
84 | .cd_type = S3C_SDHCI_CD_GPIO, | 85 | .cd_type = S3C_SDHCI_CD_GPIO, |
85 | .ext_cd_gpio = S5PV310_GPK0(2), | 86 | .ext_cd_gpio = S5PV310_GPK0(2), |
86 | .ext_cd_gpio_invert = 1, | 87 | .ext_cd_gpio_invert = 1, |
88 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | ||
87 | }; | 89 | }; |
88 | 90 | ||
89 | static struct s3c_sdhci_platdata smdkc210_hsmmc2_pdata __initdata = { | 91 | static struct s3c_sdhci_platdata smdkc210_hsmmc2_pdata __initdata = { |
90 | .cd_type = S3C_SDHCI_CD_GPIO, | 92 | .cd_type = S3C_SDHCI_CD_GPIO, |
91 | .ext_cd_gpio = S5PV310_GPK2(2), | 93 | .ext_cd_gpio = S5PV310_GPK2(2), |
92 | .ext_cd_gpio_invert = 1, | 94 | .ext_cd_gpio_invert = 1, |
95 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | ||
93 | #ifdef CONFIG_S5PV310_SDHCI_CH2_8BIT | 96 | #ifdef CONFIG_S5PV310_SDHCI_CH2_8BIT |
94 | .max_width = 8, | 97 | .max_width = 8, |
95 | .host_caps = MMC_CAP_8_BIT_DATA, | 98 | .host_caps = MMC_CAP_8_BIT_DATA, |
@@ -100,6 +103,7 @@ static struct s3c_sdhci_platdata smdkc210_hsmmc3_pdata __initdata = { | |||
100 | .cd_type = S3C_SDHCI_CD_GPIO, | 103 | .cd_type = S3C_SDHCI_CD_GPIO, |
101 | .ext_cd_gpio = S5PV310_GPK2(2), | 104 | .ext_cd_gpio = S5PV310_GPK2(2), |
102 | .ext_cd_gpio_invert = 1, | 105 | .ext_cd_gpio_invert = 1, |
106 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | ||
103 | }; | 107 | }; |
104 | 108 | ||
105 | static struct platform_device *smdkc210_devices[] __initdata = { | 109 | static struct platform_device *smdkc210_devices[] __initdata = { |