diff options
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/dev-spi.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-smdk6410.c | 26 |
2 files changed, 8 insertions, 20 deletions
diff --git a/arch/arm/mach-s3c64xx/dev-spi.c b/arch/arm/mach-s3c64xx/dev-spi.c index 82db072cb836..5e6b42089eb4 100644 --- a/arch/arm/mach-s3c64xx/dev-spi.c +++ b/arch/arm/mach-s3c64xx/dev-spi.c | |||
@@ -88,6 +88,7 @@ static struct s3c64xx_spi_info s3c64xx_spi0_pdata = { | |||
88 | .cfg_gpio = s3c64xx_spi_cfg_gpio, | 88 | .cfg_gpio = s3c64xx_spi_cfg_gpio, |
89 | .fifo_lvl_mask = 0x7f, | 89 | .fifo_lvl_mask = 0x7f, |
90 | .rx_lvl_offset = 13, | 90 | .rx_lvl_offset = 13, |
91 | .tx_st_done = 21, | ||
91 | }; | 92 | }; |
92 | 93 | ||
93 | static u64 spi_dmamask = DMA_BIT_MASK(32); | 94 | static u64 spi_dmamask = DMA_BIT_MASK(32); |
@@ -132,6 +133,7 @@ static struct s3c64xx_spi_info s3c64xx_spi1_pdata = { | |||
132 | .cfg_gpio = s3c64xx_spi_cfg_gpio, | 133 | .cfg_gpio = s3c64xx_spi_cfg_gpio, |
133 | .fifo_lvl_mask = 0x7f, | 134 | .fifo_lvl_mask = 0x7f, |
134 | .rx_lvl_offset = 13, | 135 | .rx_lvl_offset = 13, |
136 | .tx_st_done = 21, | ||
135 | }; | 137 | }; |
136 | 138 | ||
137 | struct platform_device s3c64xx_device_spi1 = { | 139 | struct platform_device s3c64xx_device_spi1 = { |
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c index 2c0353a80906..e0521e0fa762 100644 --- a/arch/arm/mach-s3c64xx/mach-smdk6410.c +++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c | |||
@@ -209,17 +209,9 @@ static struct platform_device smdk6410_smsc911x = { | |||
209 | }; | 209 | }; |
210 | 210 | ||
211 | #ifdef CONFIG_REGULATOR | 211 | #ifdef CONFIG_REGULATOR |
212 | static struct regulator_consumer_supply smdk6410_b_pwr_5v_consumers[] = { | 212 | static struct regulator_consumer_supply smdk6410_b_pwr_5v_consumers[] __initdata = { |
213 | { | 213 | REGULATOR_SUPPLY("PVDD", "0-001b"), |
214 | /* WM8580 */ | 214 | REGULATOR_SUPPLY("AVDD", "0-001b"), |
215 | .supply = "PVDD", | ||
216 | .dev_name = "0-001b", | ||
217 | }, | ||
218 | { | ||
219 | /* WM8580 */ | ||
220 | .supply = "AVDD", | ||
221 | .dev_name = "0-001b", | ||
222 | }, | ||
223 | }; | 215 | }; |
224 | 216 | ||
225 | static struct regulator_init_data smdk6410_b_pwr_5v_data = { | 217 | static struct regulator_init_data smdk6410_b_pwr_5v_data = { |
@@ -344,9 +336,7 @@ static struct platform_device *smdk6410_devices[] __initdata = { | |||
344 | #ifdef CONFIG_REGULATOR | 336 | #ifdef CONFIG_REGULATOR |
345 | /* ARM core */ | 337 | /* ARM core */ |
346 | static struct regulator_consumer_supply smdk6410_vddarm_consumers[] = { | 338 | static struct regulator_consumer_supply smdk6410_vddarm_consumers[] = { |
347 | { | 339 | REGULATOR_SUPPLY("vddarm", NULL), |
348 | .supply = "vddarm", | ||
349 | } | ||
350 | }; | 340 | }; |
351 | 341 | ||
352 | /* VDDARM, BUCK1 on J5 */ | 342 | /* VDDARM, BUCK1 on J5 */ |
@@ -484,11 +474,7 @@ static struct regulator_init_data wm8350_dcdc3_data = { | |||
484 | 474 | ||
485 | /* USB, EXT, PCM, ADC/DAC, USB, MMC */ | 475 | /* USB, EXT, PCM, ADC/DAC, USB, MMC */ |
486 | static struct regulator_consumer_supply wm8350_dcdc4_consumers[] = { | 476 | static struct regulator_consumer_supply wm8350_dcdc4_consumers[] = { |
487 | { | 477 | REGULATOR_SUPPLY("DVDD", "0-001b"), |
488 | /* WM8580 */ | ||
489 | .supply = "DVDD", | ||
490 | .dev_name = "0-001b", | ||
491 | }, | ||
492 | }; | 478 | }; |
493 | 479 | ||
494 | static struct regulator_init_data wm8350_dcdc4_data = { | 480 | static struct regulator_init_data wm8350_dcdc4_data = { |
@@ -599,7 +585,7 @@ static struct regulator_init_data wm1192_dcdc3 = { | |||
599 | }; | 585 | }; |
600 | 586 | ||
601 | static struct regulator_consumer_supply wm1192_ldo1_consumers[] = { | 587 | static struct regulator_consumer_supply wm1192_ldo1_consumers[] = { |
602 | { .supply = "DVDD", .dev_name = "0-001b", }, /* WM8580 */ | 588 | REGULATOR_SUPPLY("DVDD", "0-001b"), /* WM8580 */ |
603 | }; | 589 | }; |
604 | 590 | ||
605 | static struct regulator_init_data wm1192_ldo1 = { | 591 | static struct regulator_init_data wm1192_ldo1 = { |