summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx/mach-crag6410-module.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-08 15:55:07 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-03-16 22:37:15 +0400
commitbd155d2c3c8b04d66f7890dbd9539c37e9dea02b (patch)
treebf3db1c512ccec7761f90bed37356a39e4a02abc /arch/arm/mach-s3c64xx/mach-crag6410-module.c
parent719a42402b3abd2323c31a03bc8f03d6b8c78eaf (diff)
downloadlinux-bd155d2c3c8b04d66f7890dbd9539c37e9dea02b.tar.xz
ARM: S3C64XX: Hook up supply for WM8994 LDOs on Littlemill
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-crag6410-module.c')
-rw-r--r--arch/arm/mach-s3c64xx/mach-crag6410-module.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410-module.c b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
index e1ea2ffb6c02..d4a231d666d2 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410-module.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
@@ -136,6 +136,14 @@ static const struct i2c_board_info wm1259_devs[] = {
},
};
+static struct regulator_init_data wm8994_ldo1 = {
+ .supply_regulator = "WALLVDD",
+};
+
+static struct regulator_init_data wm8994_ldo2 = {
+ .supply_regulator = "WALLVDD",
+};
+
static struct wm8994_pdata wm8994_pdata = {
.gpio_base = CODEC_GPIO_BASE,
.gpio_defaults = {
@@ -143,8 +151,8 @@ static struct wm8994_pdata wm8994_pdata = {
},
.irq_base = CODEC_IRQ_BASE,
.ldo = {
- { },
- { },
+ { .init_data = &wm8994_ldo1, },
+ { .init_data = &wm8994_ldo2, },
},
};