summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-07-21 01:26:24 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-07-21 01:26:24 +0900
commit89e1c3d0fffa0d610fa7292bbfafb5e87dc6be34 (patch)
treec3b858caae4ea42cbb6160b98d2079e1ed1df2af /arch/arm/mach-s3c64xx
parent1a26d7344f2c304cc58e937fda1d03469de3d60a (diff)
downloadlinux-89e1c3d0fffa0d610fa7292bbfafb5e87dc6be34.tar.gz
linux-89e1c3d0fffa0d610fa7292bbfafb5e87dc6be34.tar.bz2
linux-89e1c3d0fffa0d610fa7292bbfafb5e87dc6be34.zip
ARM: S3C64XX: Configure backup battery charger on Cragganmore
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r--arch/arm/mach-s3c64xx/mach-crag6410.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c
index 474f0d27e979..9026249233ad 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410.c
@@ -474,6 +474,12 @@ static struct regulator_init_data vddalive __initdata = {
.supply_regulator = "WALLVDD",
};
+static struct wm831x_backup_pdata banff_backup_pdata __initdata = {
+ .charger_enable = 1,
+ .vlim = 2500, /* mV */
+ .ilim = 200, /* uA */
+};
+
static struct wm831x_status_pdata banff_red_led __initdata = {
.name = "banff:red:",
.default_src = WM831X_STATUS_MANUAL,
@@ -494,6 +500,8 @@ static struct wm831x_pdata crag_pmic_pdata __initdata = {
.irq_base = BANFF_PMIC_IRQ_BASE,
.gpio_base = GPIO_BOARD_START + 8,
+ .backup = &banff_backup_pdata,
+
.gpio_defaults = {
/* GPIO11: Touchscreen data - CMOS, DBVDD, active high*/
[10] = WM831X_GPN_POL | WM831X_GPN_ENA | 0x6,