aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2012-04-14 11:12:04 -0400
committerKukjin Kim <kgene.kim@samsung.com>2012-04-21 11:24:56 -0400
commit81d413554a020ebe4f1f761cc5c417a306687511 (patch)
treeb37b66efa170c472abb06990f1ac433588a712ac /arch/arm/mach-exynos
parente816b57a337ea3b755de72bec38c10c864f23015 (diff)
ARM: SAMSUNG: remove all uses of clk_type member in sdhci platform data
The sdhci driver is modified to be independent of clk_type member in the sdhci platform data. Hence, all usage of clk_type in platform code is removed. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> [kgene.kim@samsung.com: re-worked on top of v3.4-rc2] Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r--arch/arm/mach-exynos/mach-armlex4210.c3
-rw-r--r--arch/arm/mach-exynos/mach-nuri.c3
-rw-r--r--arch/arm/mach-exynos/mach-origen.c2
-rw-r--r--arch/arm/mach-exynos/mach-smdk4x12.c2
-rw-r--r--arch/arm/mach-exynos/mach-smdkv310.c4
-rw-r--r--arch/arm/mach-exynos/mach-universal_c210.c2
6 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-exynos/mach-armlex4210.c b/arch/arm/mach-exynos/mach-armlex4210.c
index d726fcd3acf9..a1e70070afda 100644
--- a/arch/arm/mach-exynos/mach-armlex4210.c
+++ b/arch/arm/mach-exynos/mach-armlex4210.c
@@ -77,7 +77,6 @@ static struct s3c2410_uartcfg armlex4210_uartcfgs[] __initdata = {
77 77
78static struct s3c_sdhci_platdata armlex4210_hsmmc0_pdata __initdata = { 78static struct s3c_sdhci_platdata armlex4210_hsmmc0_pdata __initdata = {
79 .cd_type = S3C_SDHCI_CD_PERMANENT, 79 .cd_type = S3C_SDHCI_CD_PERMANENT,
80 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
81#ifdef CONFIG_EXYNOS4_SDHCI_CH0_8BIT 80#ifdef CONFIG_EXYNOS4_SDHCI_CH0_8BIT
82 .max_width = 8, 81 .max_width = 8,
83 .host_caps = MMC_CAP_8_BIT_DATA, 82 .host_caps = MMC_CAP_8_BIT_DATA,
@@ -88,13 +87,11 @@ static struct s3c_sdhci_platdata armlex4210_hsmmc2_pdata __initdata = {
88 .cd_type = S3C_SDHCI_CD_GPIO, 87 .cd_type = S3C_SDHCI_CD_GPIO,
89 .ext_cd_gpio = EXYNOS4_GPX2(5), 88 .ext_cd_gpio = EXYNOS4_GPX2(5),
90 .ext_cd_gpio_invert = 1, 89 .ext_cd_gpio_invert = 1,
91 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
92 .max_width = 4, 90 .max_width = 4,
93}; 91};
94 92
95static struct s3c_sdhci_platdata armlex4210_hsmmc3_pdata __initdata = { 93static struct s3c_sdhci_platdata armlex4210_hsmmc3_pdata __initdata = {
96 .cd_type = S3C_SDHCI_CD_PERMANENT, 94 .cd_type = S3C_SDHCI_CD_PERMANENT,
97 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
98 .max_width = 4, 95 .max_width = 4,
99}; 96};
100 97
diff --git a/arch/arm/mach-exynos/mach-nuri.c b/arch/arm/mach-exynos/mach-nuri.c
index b4f1f902ce6d..91e5986a9d06 100644
--- a/arch/arm/mach-exynos/mach-nuri.c
+++ b/arch/arm/mach-exynos/mach-nuri.c
@@ -113,7 +113,6 @@ static struct s3c_sdhci_platdata nuri_hsmmc0_data __initdata = {
113 MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED | 113 MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED |
114 MMC_CAP_ERASE), 114 MMC_CAP_ERASE),
115 .cd_type = S3C_SDHCI_CD_PERMANENT, 115 .cd_type = S3C_SDHCI_CD_PERMANENT,
116 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
117}; 116};
118 117
119static struct regulator_consumer_supply emmc_supplies[] = { 118static struct regulator_consumer_supply emmc_supplies[] = {
@@ -154,7 +153,6 @@ static struct s3c_sdhci_platdata nuri_hsmmc2_data __initdata = {
154 .ext_cd_gpio = EXYNOS4_GPX3(3), /* XEINT_27 */ 153 .ext_cd_gpio = EXYNOS4_GPX3(3), /* XEINT_27 */
155 .ext_cd_gpio_invert = 1, 154 .ext_cd_gpio_invert = 1,
156 .cd_type = S3C_SDHCI_CD_GPIO, 155 .cd_type = S3C_SDHCI_CD_GPIO,
157 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
158}; 156};
159 157
160/* WLAN */ 158/* WLAN */
@@ -163,7 +161,6 @@ static struct s3c_sdhci_platdata nuri_hsmmc3_data __initdata = {
163 .host_caps = MMC_CAP_4_BIT_DATA | 161 .host_caps = MMC_CAP_4_BIT_DATA |
164 MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED, 162 MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
165 .cd_type = S3C_SDHCI_CD_EXTERNAL, 163 .cd_type = S3C_SDHCI_CD_EXTERNAL,
166 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
167}; 164};
168 165
169static void __init nuri_sdhci_init(void) 166static void __init nuri_sdhci_init(void)
diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c
index 878d4c99142d..827cb990c316 100644
--- a/arch/arm/mach-exynos/mach-origen.c
+++ b/arch/arm/mach-exynos/mach-origen.c
@@ -472,12 +472,10 @@ static struct i2c_board_info i2c0_devs[] __initdata = {
472 472
473static struct s3c_sdhci_platdata origen_hsmmc0_pdata __initdata = { 473static struct s3c_sdhci_platdata origen_hsmmc0_pdata __initdata = {
474 .cd_type = S3C_SDHCI_CD_INTERNAL, 474 .cd_type = S3C_SDHCI_CD_INTERNAL,
475 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
476}; 475};
477 476
478static struct s3c_sdhci_platdata origen_hsmmc2_pdata __initdata = { 477static struct s3c_sdhci_platdata origen_hsmmc2_pdata __initdata = {
479 .cd_type = S3C_SDHCI_CD_INTERNAL, 478 .cd_type = S3C_SDHCI_CD_INTERNAL,
480 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
481}; 479};
482 480
483/* USB EHCI */ 481/* USB EHCI */
diff --git a/arch/arm/mach-exynos/mach-smdk4x12.c b/arch/arm/mach-exynos/mach-smdk4x12.c
index d00e4f016a68..4be083acf994 100644
--- a/arch/arm/mach-exynos/mach-smdk4x12.c
+++ b/arch/arm/mach-exynos/mach-smdk4x12.c
@@ -85,7 +85,6 @@ static struct s3c2410_uartcfg smdk4x12_uartcfgs[] __initdata = {
85 85
86static struct s3c_sdhci_platdata smdk4x12_hsmmc2_pdata __initdata = { 86static struct s3c_sdhci_platdata smdk4x12_hsmmc2_pdata __initdata = {
87 .cd_type = S3C_SDHCI_CD_INTERNAL, 87 .cd_type = S3C_SDHCI_CD_INTERNAL,
88 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
89#ifdef CONFIG_EXYNOS4_SDHCI_CH2_8BIT 88#ifdef CONFIG_EXYNOS4_SDHCI_CH2_8BIT
90 .max_width = 8, 89 .max_width = 8,
91 .host_caps = MMC_CAP_8_BIT_DATA, 90 .host_caps = MMC_CAP_8_BIT_DATA,
@@ -94,7 +93,6 @@ static struct s3c_sdhci_platdata smdk4x12_hsmmc2_pdata __initdata = {
94 93
95static struct s3c_sdhci_platdata smdk4x12_hsmmc3_pdata __initdata = { 94static struct s3c_sdhci_platdata smdk4x12_hsmmc3_pdata __initdata = {
96 .cd_type = S3C_SDHCI_CD_INTERNAL, 95 .cd_type = S3C_SDHCI_CD_INTERNAL,
97 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
98}; 96};
99 97
100static struct regulator_consumer_supply max8997_buck1 = 98static struct regulator_consumer_supply max8997_buck1 =
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c
index 83b91fa777c1..f08529f9cdf6 100644
--- a/arch/arm/mach-exynos/mach-smdkv310.c
+++ b/arch/arm/mach-exynos/mach-smdkv310.c
@@ -93,7 +93,6 @@ static struct s3c2410_uartcfg smdkv310_uartcfgs[] __initdata = {
93 93
94static struct s3c_sdhci_platdata smdkv310_hsmmc0_pdata __initdata = { 94static struct s3c_sdhci_platdata smdkv310_hsmmc0_pdata __initdata = {
95 .cd_type = S3C_SDHCI_CD_INTERNAL, 95 .cd_type = S3C_SDHCI_CD_INTERNAL,
96 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
97#ifdef CONFIG_EXYNOS4_SDHCI_CH0_8BIT 96#ifdef CONFIG_EXYNOS4_SDHCI_CH0_8BIT
98 .max_width = 8, 97 .max_width = 8,
99 .host_caps = MMC_CAP_8_BIT_DATA, 98 .host_caps = MMC_CAP_8_BIT_DATA,
@@ -104,12 +103,10 @@ static struct s3c_sdhci_platdata smdkv310_hsmmc1_pdata __initdata = {
104 .cd_type = S3C_SDHCI_CD_GPIO, 103 .cd_type = S3C_SDHCI_CD_GPIO,
105 .ext_cd_gpio = EXYNOS4_GPK0(2), 104 .ext_cd_gpio = EXYNOS4_GPK0(2),
106 .ext_cd_gpio_invert = 1, 105 .ext_cd_gpio_invert = 1,
107 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
108}; 106};
109 107
110static struct s3c_sdhci_platdata smdkv310_hsmmc2_pdata __initdata = { 108static struct s3c_sdhci_platdata smdkv310_hsmmc2_pdata __initdata = {
111 .cd_type = S3C_SDHCI_CD_INTERNAL, 109 .cd_type = S3C_SDHCI_CD_INTERNAL,
112 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
113#ifdef CONFIG_EXYNOS4_SDHCI_CH2_8BIT 110#ifdef CONFIG_EXYNOS4_SDHCI_CH2_8BIT
114 .max_width = 8, 111 .max_width = 8,
115 .host_caps = MMC_CAP_8_BIT_DATA, 112 .host_caps = MMC_CAP_8_BIT_DATA,
@@ -120,7 +117,6 @@ static struct s3c_sdhci_platdata smdkv310_hsmmc3_pdata __initdata = {
120 .cd_type = S3C_SDHCI_CD_GPIO, 117 .cd_type = S3C_SDHCI_CD_GPIO,
121 .ext_cd_gpio = EXYNOS4_GPK2(2), 118 .ext_cd_gpio = EXYNOS4_GPK2(2),
122 .ext_cd_gpio_invert = 1, 119 .ext_cd_gpio_invert = 1,
123 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
124}; 120};
125 121
126static void lcd_lte480wv_set_power(struct plat_lcd_data *pd, 122static void lcd_lte480wv_set_power(struct plat_lcd_data *pd,
diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c
index 7ebf79c2ab34..ef706e98b595 100644
--- a/arch/arm/mach-exynos/mach-universal_c210.c
+++ b/arch/arm/mach-exynos/mach-universal_c210.c
@@ -748,7 +748,6 @@ static struct s3c_sdhci_platdata universal_hsmmc0_data __initdata = {
748 .host_caps = (MMC_CAP_8_BIT_DATA | MMC_CAP_4_BIT_DATA | 748 .host_caps = (MMC_CAP_8_BIT_DATA | MMC_CAP_4_BIT_DATA |
749 MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED), 749 MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED),
750 .cd_type = S3C_SDHCI_CD_PERMANENT, 750 .cd_type = S3C_SDHCI_CD_PERMANENT,
751 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
752}; 751};
753 752
754static struct regulator_consumer_supply mmc0_supplies[] = { 753static struct regulator_consumer_supply mmc0_supplies[] = {
@@ -788,7 +787,6 @@ static struct s3c_sdhci_platdata universal_hsmmc2_data __initdata = {
788 .ext_cd_gpio = EXYNOS4_GPX3(4), /* XEINT_28 */ 787 .ext_cd_gpio = EXYNOS4_GPX3(4), /* XEINT_28 */
789 .ext_cd_gpio_invert = 1, 788 .ext_cd_gpio_invert = 1,
790 .cd_type = S3C_SDHCI_CD_GPIO, 789 .cd_type = S3C_SDHCI_CD_GPIO,
791 .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL,
792}; 790};
793 791
794/* WiFi */ 792/* WiFi */