aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-07-23 20:34:48 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-23 20:34:48 -0400
commitf1d2c07d331f717da79a42952be7dc1c0d35f846 (patch)
tree5bc98d2d63a37b688b40a4641855c512b385d0ae /arch/arm/mach-s3c64xx
parenta17f29a5e98c0a32a900a773083c719e27f4bc0e (diff)
parentd003e09891fdc0c170b99328eba7ed004809ef5a (diff)
Merge tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull arm-soc board specific updates from Arnd Bergmann: "These changes are all for individual board files. In the long run, those files will largely go away, and the amount of changes appears to be continuously decreasing, which is a good sign. This time around, changes are focused on tegra, omap and samsung." Fix conflicts in arch/arm/mach-{omap2/common-board-devices.c,tegra/Makefile.boot} as per the 'for-linus' branch. * tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (39 commits) ARM: EXYNOS: Add leds status1 and status2 on Origen board ARM: S3C64XX: Mark most Cragganmore initdata devinitdata ARM: EXYNOS: Add missing .reserve field to SMDKC210 ARM: EXYNOS: Add DRM device to SMDK4X12 board ARM: S3C64XX: Clean up after SPI driver platform data updates ARM: SAMSUNG: no need to set the value for clk_xusbxti when it is 24Mhz ARM: EXYNOS: Add framebuffer support for SMDK4X12 ARM: EXYNOS: Add HSOTG support to SMDK4X12 ARM: S5PV210: Add audio platform device in Goni board ARM: S5PV210: Add audio platform device in Aquila board ARM: EXYNOS: Add audio platform device in SMDKV310 board ARM: S3C64XX: Don't specify an irq_base for WM1192-EV1 board ARM: OMAP3: Fix omap3evm randconfig error introduced by VBUS support ARM: OMAP: board-omap4panda: MUX configuration for sys_nirq2 ARM: OMAP: board-4430sdp: MUX configuration for sys_nirq2 ARM: OMAP3530evm: set pendown_state and debounce time for ads7846 ARM: omap3evm: enable VBUS switch for EHCI tranceiver ARM: OMAP3EVM: Adding USB internal LDOs board file ARM: OMAP3EVM: Add NAND flash definition ARM: OMAP3: cm-t35: add tvp5150 decoder support ...
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r--arch/arm/mach-s3c64xx/include/mach/crag6410.h4
-rw-r--r--arch/arm/mach-s3c64xx/mach-crag6410-module.c11
-rw-r--r--arch/arm/mach-s3c64xx/mach-crag6410.c69
-rw-r--r--arch/arm/mach-s3c64xx/mach-smdk6410.c1
4 files changed, 44 insertions, 41 deletions
diff --git a/arch/arm/mach-s3c64xx/include/mach/crag6410.h b/arch/arm/mach-s3c64xx/include/mach/crag6410.h
index 4cb2f951f1e9..4c3c9994fc2c 100644
--- a/arch/arm/mach-s3c64xx/include/mach/crag6410.h
+++ b/arch/arm/mach-s3c64xx/include/mach/crag6410.h
@@ -13,9 +13,7 @@
13 13
14#include <linux/gpio.h> 14#include <linux/gpio.h>
15 15
16#define BANFF_PMIC_IRQ_BASE IRQ_BOARD_START 16#define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START
17#define GLENFARCLAS_PMIC_IRQ_BASE (IRQ_BOARD_START + 64)
18#define CODEC_IRQ_BASE (IRQ_BOARD_START + 128)
19 17
20#define PCA935X_GPIO_BASE GPIO_BOARD_START 18#define PCA935X_GPIO_BASE GPIO_BOARD_START
21#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8) 19#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410-module.c b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
index 7a27f5603c74..9e382e7c77cb 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410-module.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
@@ -29,7 +29,6 @@
29#include <mach/crag6410.h> 29#include <mach/crag6410.h>
30 30
31static struct s3c64xx_spi_csinfo wm0010_spi_csinfo = { 31static struct s3c64xx_spi_csinfo wm0010_spi_csinfo = {
32 .set_level = gpio_set_value,
33 .line = S3C64XX_GPC(3), 32 .line = S3C64XX_GPC(3),
34}; 33};
35 34
@@ -39,6 +38,7 @@ static struct spi_board_info wm1253_devs[] = {
39 .bus_num = 0, 38 .bus_num = 0,
40 .chip_select = 0, 39 .chip_select = 0,
41 .mode = SPI_MODE_0, 40 .mode = SPI_MODE_0,
41 .irq = S3C_EINT(5),
42 .controller_data = &wm0010_spi_csinfo, 42 .controller_data = &wm0010_spi_csinfo,
43 }, 43 },
44}; 44};
@@ -168,7 +168,6 @@ static struct wm8994_pdata wm8994_pdata = {
168 .gpio_defaults = { 168 .gpio_defaults = {
169 0x3, /* IRQ out, active high, CMOS */ 169 0x3, /* IRQ out, active high, CMOS */
170 }, 170 },
171 .irq_base = CODEC_IRQ_BASE,
172 .ldo = { 171 .ldo = {
173 { .init_data = &wm8994_ldo1, }, 172 { .init_data = &wm8994_ldo1, },
174 { .init_data = &wm8994_ldo2, }, 173 { .init_data = &wm8994_ldo2, },
@@ -182,6 +181,11 @@ static const struct i2c_board_info wm1277_devs[] = {
182 }, 181 },
183}; 182};
184 183
184static const struct i2c_board_info wm5102_devs[] = {
185 { I2C_BOARD_INFO("wm5102", 0x1a),
186 .irq = GLENFARCLAS_PMIC_IRQ_BASE + WM831X_IRQ_GPIO_2, },
187};
188
185static const struct i2c_board_info wm6230_i2c_devs[] = { 189static const struct i2c_board_info wm6230_i2c_devs[] = {
186 { I2C_BOARD_INFO("wm9081", 0x6c), 190 { I2C_BOARD_INFO("wm9081", 0x6c),
187 .platform_data = &wm9081_pdata, }, 191 .platform_data = &wm9081_pdata, },
@@ -209,6 +213,7 @@ static __devinitdata const struct {
209 .spi_devs = wm1253_devs, .num_spi_devs = ARRAY_SIZE(wm1253_devs) }, 213 .spi_devs = wm1253_devs, .num_spi_devs = ARRAY_SIZE(wm1253_devs) },
210 { .id = 0x32, .name = "XXXX-EV1 Caol Illa" }, 214 { .id = 0x32, .name = "XXXX-EV1 Caol Illa" },
211 { .id = 0x33, .name = "XXXX-EV1 Oban" }, 215 { .id = 0x33, .name = "XXXX-EV1 Oban" },
216 { .id = 0x34, .name = "WM0010-6320-CS42 Balblair" },
212 { .id = 0x39, .name = "1254-EV1 Dallas Dhu", 217 { .id = 0x39, .name = "1254-EV1 Dallas Dhu",
213 .i2c_devs = wm1254_devs, .num_i2c_devs = ARRAY_SIZE(wm1254_devs) }, 218 .i2c_devs = wm1254_devs, .num_i2c_devs = ARRAY_SIZE(wm1254_devs) },
214 { .id = 0x3a, .name = "1259-EV1 Tobermory", 219 { .id = 0x3a, .name = "1259-EV1 Tobermory",
@@ -218,6 +223,8 @@ static __devinitdata const struct {
218 { .id = 0x3c, .name = "1273-EV1 Longmorn" }, 223 { .id = 0x3c, .name = "1273-EV1 Longmorn" },
219 { .id = 0x3d, .name = "1277-EV1 Littlemill", 224 { .id = 0x3d, .name = "1277-EV1 Littlemill",
220 .i2c_devs = wm1277_devs, .num_i2c_devs = ARRAY_SIZE(wm1277_devs) }, 225 .i2c_devs = wm1277_devs, .num_i2c_devs = ARRAY_SIZE(wm1277_devs) },
226 { .id = 0x3e, .name = "WM5102-6271-EV1-CS127",
227 .i2c_devs = wm5102_devs, .num_i2c_devs = ARRAY_SIZE(wm5102_devs) },
221}; 228};
222 229
223static __devinit int wlf_gf_module_probe(struct i2c_client *i2c, 230static __devinit int wlf_gf_module_probe(struct i2c_client *i2c,
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c
index 6dd4fae33a82..09cd81207a3f 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410.c
@@ -171,7 +171,7 @@ static struct fb_videomode crag6410_lcd_timing = {
171}; 171};
172 172
173/* 405566 clocks per frame => 60Hz refresh requires 24333960Hz clock */ 173/* 405566 clocks per frame => 60Hz refresh requires 24333960Hz clock */
174static struct s3c_fb_platdata crag6410_lcd_pdata __initdata = { 174static struct s3c_fb_platdata crag6410_lcd_pdata __devinitdata = {
175 .setup_gpio = s3c64xx_fb_gpio_setup_24bpp, 175 .setup_gpio = s3c64xx_fb_gpio_setup_24bpp,
176 .vtiming = &crag6410_lcd_timing, 176 .vtiming = &crag6410_lcd_timing,
177 .win[0] = &crag6410_fb_win0, 177 .win[0] = &crag6410_fb_win0,
@@ -181,7 +181,7 @@ static struct s3c_fb_platdata crag6410_lcd_pdata __initdata = {
181 181
182/* 2x6 keypad */ 182/* 2x6 keypad */
183 183
184static uint32_t crag6410_keymap[] __initdata = { 184static uint32_t crag6410_keymap[] __devinitdata = {
185 /* KEY(row, col, keycode) */ 185 /* KEY(row, col, keycode) */
186 KEY(0, 0, KEY_VOLUMEUP), 186 KEY(0, 0, KEY_VOLUMEUP),
187 KEY(0, 1, KEY_HOME), 187 KEY(0, 1, KEY_HOME),
@@ -197,12 +197,12 @@ static uint32_t crag6410_keymap[] __initdata = {
197 KEY(1, 5, KEY_CAMERA), 197 KEY(1, 5, KEY_CAMERA),
198}; 198};
199 199
200static struct matrix_keymap_data crag6410_keymap_data __initdata = { 200static struct matrix_keymap_data crag6410_keymap_data __devinitdata = {
201 .keymap = crag6410_keymap, 201 .keymap = crag6410_keymap,
202 .keymap_size = ARRAY_SIZE(crag6410_keymap), 202 .keymap_size = ARRAY_SIZE(crag6410_keymap),
203}; 203};
204 204
205static struct samsung_keypad_platdata crag6410_keypad_data __initdata = { 205static struct samsung_keypad_platdata crag6410_keypad_data __devinitdata = {
206 .keymap_data = &crag6410_keymap_data, 206 .keymap_data = &crag6410_keymap_data,
207 .rows = 2, 207 .rows = 2,
208 .cols = 6, 208 .cols = 6,
@@ -373,11 +373,11 @@ static struct wm831x_buckv_pdata vddarm_pdata = {
373 .dvs_gpio = S3C64XX_GPK(0), 373 .dvs_gpio = S3C64XX_GPK(0),
374}; 374};
375 375
376static struct regulator_consumer_supply vddarm_consumers[] __initdata = { 376static struct regulator_consumer_supply vddarm_consumers[] __devinitdata = {
377 REGULATOR_SUPPLY("vddarm", NULL), 377 REGULATOR_SUPPLY("vddarm", NULL),
378}; 378};
379 379
380static struct regulator_init_data vddarm __initdata = { 380static struct regulator_init_data vddarm __devinitdata = {
381 .constraints = { 381 .constraints = {
382 .name = "VDDARM", 382 .name = "VDDARM",
383 .min_uV = 1000000, 383 .min_uV = 1000000,
@@ -391,11 +391,11 @@ static struct regulator_init_data vddarm __initdata = {
391 .driver_data = &vddarm_pdata, 391 .driver_data = &vddarm_pdata,
392}; 392};
393 393
394static struct regulator_consumer_supply vddint_consumers[] __initdata = { 394static struct regulator_consumer_supply vddint_consumers[] __devinitdata = {
395 REGULATOR_SUPPLY("vddint", NULL), 395 REGULATOR_SUPPLY("vddint", NULL),
396}; 396};
397 397
398static struct regulator_init_data vddint __initdata = { 398static struct regulator_init_data vddint __devinitdata = {
399 .constraints = { 399 .constraints = {
400 .name = "VDDINT", 400 .name = "VDDINT",
401 .min_uV = 1000000, 401 .min_uV = 1000000,
@@ -408,27 +408,27 @@ static struct regulator_init_data vddint __initdata = {
408 .supply_regulator = "WALLVDD", 408 .supply_regulator = "WALLVDD",
409}; 409};
410 410
411static struct regulator_init_data vddmem __initdata = { 411static struct regulator_init_data vddmem __devinitdata = {
412 .constraints = { 412 .constraints = {
413 .name = "VDDMEM", 413 .name = "VDDMEM",
414 .always_on = 1, 414 .always_on = 1,
415 }, 415 },
416}; 416};
417 417
418static struct regulator_init_data vddsys __initdata = { 418static struct regulator_init_data vddsys __devinitdata = {
419 .constraints = { 419 .constraints = {
420 .name = "VDDSYS,VDDEXT,VDDPCM,VDDSS", 420 .name = "VDDSYS,VDDEXT,VDDPCM,VDDSS",
421 .always_on = 1, 421 .always_on = 1,
422 }, 422 },
423}; 423};
424 424
425static struct regulator_consumer_supply vddmmc_consumers[] __initdata = { 425static struct regulator_consumer_supply vddmmc_consumers[] __devinitdata = {
426 REGULATOR_SUPPLY("vmmc", "s3c-sdhci.0"), 426 REGULATOR_SUPPLY("vmmc", "s3c-sdhci.0"),
427 REGULATOR_SUPPLY("vmmc", "s3c-sdhci.1"), 427 REGULATOR_SUPPLY("vmmc", "s3c-sdhci.1"),
428 REGULATOR_SUPPLY("vmmc", "s3c-sdhci.2"), 428 REGULATOR_SUPPLY("vmmc", "s3c-sdhci.2"),
429}; 429};
430 430
431static struct regulator_init_data vddmmc __initdata = { 431static struct regulator_init_data vddmmc __devinitdata = {
432 .constraints = { 432 .constraints = {
433 .name = "VDDMMC,UH", 433 .name = "VDDMMC,UH",
434 .always_on = 1, 434 .always_on = 1,
@@ -438,7 +438,7 @@ static struct regulator_init_data vddmmc __initdata = {
438 .supply_regulator = "WALLVDD", 438 .supply_regulator = "WALLVDD",
439}; 439};
440 440
441static struct regulator_init_data vddotgi __initdata = { 441static struct regulator_init_data vddotgi __devinitdata = {
442 .constraints = { 442 .constraints = {
443 .name = "VDDOTGi", 443 .name = "VDDOTGi",
444 .always_on = 1, 444 .always_on = 1,
@@ -446,7 +446,7 @@ static struct regulator_init_data vddotgi __initdata = {
446 .supply_regulator = "WALLVDD", 446 .supply_regulator = "WALLVDD",
447}; 447};
448 448
449static struct regulator_init_data vddotg __initdata = { 449static struct regulator_init_data vddotg __devinitdata = {
450 .constraints = { 450 .constraints = {
451 .name = "VDDOTG", 451 .name = "VDDOTG",
452 .always_on = 1, 452 .always_on = 1,
@@ -454,7 +454,7 @@ static struct regulator_init_data vddotg __initdata = {
454 .supply_regulator = "WALLVDD", 454 .supply_regulator = "WALLVDD",
455}; 455};
456 456
457static struct regulator_init_data vddhi __initdata = { 457static struct regulator_init_data vddhi __devinitdata = {
458 .constraints = { 458 .constraints = {
459 .name = "VDDHI", 459 .name = "VDDHI",
460 .always_on = 1, 460 .always_on = 1,
@@ -462,7 +462,7 @@ static struct regulator_init_data vddhi __initdata = {
462 .supply_regulator = "WALLVDD", 462 .supply_regulator = "WALLVDD",
463}; 463};
464 464
465static struct regulator_init_data vddadc __initdata = { 465static struct regulator_init_data vddadc __devinitdata = {
466 .constraints = { 466 .constraints = {
467 .name = "VDDADC,VDDDAC", 467 .name = "VDDADC,VDDDAC",
468 .always_on = 1, 468 .always_on = 1,
@@ -470,7 +470,7 @@ static struct regulator_init_data vddadc __initdata = {
470 .supply_regulator = "WALLVDD", 470 .supply_regulator = "WALLVDD",
471}; 471};
472 472
473static struct regulator_init_data vddmem0 __initdata = { 473static struct regulator_init_data vddmem0 __devinitdata = {
474 .constraints = { 474 .constraints = {
475 .name = "VDDMEM0", 475 .name = "VDDMEM0",
476 .always_on = 1, 476 .always_on = 1,
@@ -478,7 +478,7 @@ static struct regulator_init_data vddmem0 __initdata = {
478 .supply_regulator = "WALLVDD", 478 .supply_regulator = "WALLVDD",
479}; 479};
480 480
481static struct regulator_init_data vddpll __initdata = { 481static struct regulator_init_data vddpll __devinitdata = {
482 .constraints = { 482 .constraints = {
483 .name = "VDDPLL", 483 .name = "VDDPLL",
484 .always_on = 1, 484 .always_on = 1,
@@ -486,7 +486,7 @@ static struct regulator_init_data vddpll __initdata = {
486 .supply_regulator = "WALLVDD", 486 .supply_regulator = "WALLVDD",
487}; 487};
488 488
489static struct regulator_init_data vddlcd __initdata = { 489static struct regulator_init_data vddlcd __devinitdata = {
490 .constraints = { 490 .constraints = {
491 .name = "VDDLCD", 491 .name = "VDDLCD",
492 .always_on = 1, 492 .always_on = 1,
@@ -494,7 +494,7 @@ static struct regulator_init_data vddlcd __initdata = {
494 .supply_regulator = "WALLVDD", 494 .supply_regulator = "WALLVDD",
495}; 495};
496 496
497static struct regulator_init_data vddalive __initdata = { 497static struct regulator_init_data vddalive __devinitdata = {
498 .constraints = { 498 .constraints = {
499 .name = "VDDALIVE", 499 .name = "VDDALIVE",
500 .always_on = 1, 500 .always_on = 1,
@@ -502,30 +502,29 @@ static struct regulator_init_data vddalive __initdata = {
502 .supply_regulator = "WALLVDD", 502 .supply_regulator = "WALLVDD",
503}; 503};
504 504
505static struct wm831x_backup_pdata banff_backup_pdata __initdata = { 505static struct wm831x_backup_pdata banff_backup_pdata __devinitdata = {
506 .charger_enable = 1, 506 .charger_enable = 1,
507 .vlim = 2500, /* mV */ 507 .vlim = 2500, /* mV */
508 .ilim = 200, /* uA */ 508 .ilim = 200, /* uA */
509}; 509};
510 510
511static struct wm831x_status_pdata banff_red_led __initdata = { 511static struct wm831x_status_pdata banff_red_led __devinitdata = {
512 .name = "banff:red:", 512 .name = "banff:red:",
513 .default_src = WM831X_STATUS_MANUAL, 513 .default_src = WM831X_STATUS_MANUAL,
514}; 514};
515 515
516static struct wm831x_status_pdata banff_green_led __initdata = { 516static struct wm831x_status_pdata banff_green_led __devinitdata = {
517 .name = "banff:green:", 517 .name = "banff:green:",
518 .default_src = WM831X_STATUS_MANUAL, 518 .default_src = WM831X_STATUS_MANUAL,
519}; 519};
520 520
521static struct wm831x_touch_pdata touch_pdata __initdata = { 521static struct wm831x_touch_pdata touch_pdata __devinitdata = {
522 .data_irq = S3C_EINT(26), 522 .data_irq = S3C_EINT(26),
523 .pd_irq = S3C_EINT(27), 523 .pd_irq = S3C_EINT(27),
524}; 524};
525 525
526static struct wm831x_pdata crag_pmic_pdata __initdata = { 526static struct wm831x_pdata crag_pmic_pdata __devinitdata = {
527 .wm831x_num = 1, 527 .wm831x_num = 1,
528 .irq_base = BANFF_PMIC_IRQ_BASE,
529 .gpio_base = BANFF_PMIC_GPIO_BASE, 528 .gpio_base = BANFF_PMIC_GPIO_BASE,
530 .soft_shutdown = true, 529 .soft_shutdown = true,
531 530
@@ -568,7 +567,7 @@ static struct wm831x_pdata crag_pmic_pdata __initdata = {
568 .touch = &touch_pdata, 567 .touch = &touch_pdata,
569}; 568};
570 569
571static struct i2c_board_info i2c_devs0[] __initdata = { 570static struct i2c_board_info i2c_devs0[] __devinitdata = {
572 { I2C_BOARD_INFO("24c08", 0x50), }, 571 { I2C_BOARD_INFO("24c08", 0x50), },
573 { I2C_BOARD_INFO("tca6408", 0x20), 572 { I2C_BOARD_INFO("tca6408", 0x20),
574 .platform_data = &crag6410_pca_data, 573 .platform_data = &crag6410_pca_data,
@@ -583,12 +582,12 @@ static struct s3c2410_platform_i2c i2c0_pdata = {
583 .frequency = 400000, 582 .frequency = 400000,
584}; 583};
585 584
586static struct regulator_consumer_supply pvdd_1v2_consumers[] __initdata = { 585static struct regulator_consumer_supply pvdd_1v2_consumers[] __devinitdata = {
587 REGULATOR_SUPPLY("DCVDD", "spi0.0"), 586 REGULATOR_SUPPLY("DCVDD", "spi0.0"),
588 REGULATOR_SUPPLY("AVDD", "spi0.0"), 587 REGULATOR_SUPPLY("AVDD", "spi0.0"),
589}; 588};
590 589
591static struct regulator_init_data pvdd_1v2 __initdata = { 590static struct regulator_init_data pvdd_1v2 __devinitdata = {
592 .constraints = { 591 .constraints = {
593 .name = "PVDD_1V2", 592 .name = "PVDD_1V2",
594 .valid_ops_mask = REGULATOR_CHANGE_STATUS, 593 .valid_ops_mask = REGULATOR_CHANGE_STATUS,
@@ -598,7 +597,7 @@ static struct regulator_init_data pvdd_1v2 __initdata = {
598 .num_consumer_supplies = ARRAY_SIZE(pvdd_1v2_consumers), 597 .num_consumer_supplies = ARRAY_SIZE(pvdd_1v2_consumers),
599}; 598};
600 599
601static struct regulator_consumer_supply pvdd_1v8_consumers[] __initdata = { 600static struct regulator_consumer_supply pvdd_1v8_consumers[] __devinitdata = {
602 REGULATOR_SUPPLY("LDOVDD", "1-001a"), 601 REGULATOR_SUPPLY("LDOVDD", "1-001a"),
603 REGULATOR_SUPPLY("PLLVDD", "1-001a"), 602 REGULATOR_SUPPLY("PLLVDD", "1-001a"),
604 REGULATOR_SUPPLY("DBVDD", "1-001a"), 603 REGULATOR_SUPPLY("DBVDD", "1-001a"),
@@ -612,7 +611,7 @@ static struct regulator_consumer_supply pvdd_1v8_consumers[] __initdata = {
612 REGULATOR_SUPPLY("DBVDD", "spi0.0"), 611 REGULATOR_SUPPLY("DBVDD", "spi0.0"),
613}; 612};
614 613
615static struct regulator_init_data pvdd_1v8 __initdata = { 614static struct regulator_init_data pvdd_1v8 __devinitdata = {
616 .constraints = { 615 .constraints = {
617 .name = "PVDD_1V8", 616 .name = "PVDD_1V8",
618 .always_on = 1, 617 .always_on = 1,
@@ -622,12 +621,12 @@ static struct regulator_init_data pvdd_1v8 __initdata = {
622 .num_consumer_supplies = ARRAY_SIZE(pvdd_1v8_consumers), 621 .num_consumer_supplies = ARRAY_SIZE(pvdd_1v8_consumers),
623}; 622};
624 623
625static struct regulator_consumer_supply pvdd_3v3_consumers[] __initdata = { 624static struct regulator_consumer_supply pvdd_3v3_consumers[] __devinitdata = {
626 REGULATOR_SUPPLY("MICVDD", "1-001a"), 625 REGULATOR_SUPPLY("MICVDD", "1-001a"),
627 REGULATOR_SUPPLY("AVDD1", "1-001a"), 626 REGULATOR_SUPPLY("AVDD1", "1-001a"),
628}; 627};
629 628
630static struct regulator_init_data pvdd_3v3 __initdata = { 629static struct regulator_init_data pvdd_3v3 __devinitdata = {
631 .constraints = { 630 .constraints = {
632 .name = "PVDD_3V3", 631 .name = "PVDD_3V3",
633 .always_on = 1, 632 .always_on = 1,
@@ -637,7 +636,7 @@ static struct regulator_init_data pvdd_3v3 __initdata = {
637 .num_consumer_supplies = ARRAY_SIZE(pvdd_3v3_consumers), 636 .num_consumer_supplies = ARRAY_SIZE(pvdd_3v3_consumers),
638}; 637};
639 638
640static struct wm831x_pdata glenfarclas_pmic_pdata __initdata = { 639static struct wm831x_pdata glenfarclas_pmic_pdata __devinitdata = {
641 .wm831x_num = 2, 640 .wm831x_num = 2,
642 .irq_base = GLENFARCLAS_PMIC_IRQ_BASE, 641 .irq_base = GLENFARCLAS_PMIC_IRQ_BASE,
643 .gpio_base = GLENFARCLAS_PMIC_GPIO_BASE, 642 .gpio_base = GLENFARCLAS_PMIC_GPIO_BASE,
@@ -669,7 +668,7 @@ static struct wm1250_ev1_pdata wm1250_ev1_pdata = {
669 }, 668 },
670}; 669};
671 670
672static struct i2c_board_info i2c_devs1[] __initdata = { 671static struct i2c_board_info i2c_devs1[] __devinitdata = {
673 { I2C_BOARD_INFO("wm8311", 0x34), 672 { I2C_BOARD_INFO("wm8311", 0x34),
674 .irq = S3C_EINT(0), 673 .irq = S3C_EINT(0),
675 .platform_data = &glenfarclas_pmic_pdata }, 674 .platform_data = &glenfarclas_pmic_pdata },
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c
index df3103d450e2..0fe4f1503f4f 100644
--- a/arch/arm/mach-s3c64xx/mach-smdk6410.c
+++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c
@@ -566,7 +566,6 @@ static struct wm831x_status_pdata wm1192_led8_pdata = {
566 566
567static struct wm831x_pdata smdk6410_wm1192_pdata = { 567static struct wm831x_pdata smdk6410_wm1192_pdata = {
568 .pre_init = wm1192_pre_init, 568 .pre_init = wm1192_pre_init,
569 .irq_base = IRQ_BOARD_START,
570 569
571 .backlight = &wm1192_backlight_pdata, 570 .backlight = &wm1192_backlight_pdata,
572 .dcdc = { 571 .dcdc = {