summaryrefslogtreecommitdiff
path: root/arch/arm/mach-u300
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2009-11-04 00:00:44 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-11-10 23:47:07 +0000
commit6635529987cd01f9af0c3996cf2e7b9e2bbb4aa7 (patch)
tree3b13a89922958d039f0c9e6a8353b0b149b2e9f9 /arch/arm/mach-u300
parentf9e8eefc603c40d57e4579f1b202f784e8367fe4 (diff)
downloadlinux-3.10-6635529987cd01f9af0c3996cf2e7b9e2bbb4aa7.tar.gz
linux-3.10-6635529987cd01f9af0c3996cf2e7b9e2bbb4aa7.tar.bz2
linux-3.10-6635529987cd01f9af0c3996cf2e7b9e2bbb4aa7.zip
ARM: 5783/1: Make it possible for U300 LDO D to shut down
This changes the regulator platform config for U300 so that the LDO D regulator can change status and shut down the system and the pm_shutdown() hook in regulator.c starts working. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-u300')
-rw-r--r--arch/arm/mach-u300/i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-u300/i2c.c b/arch/arm/mach-u300/i2c.c
index 7bc2503f644..c73ed06b606 100644
--- a/arch/arm/mach-u300/i2c.c
+++ b/arch/arm/mach-u300/i2c.c
@@ -130,6 +130,7 @@ static struct ab3100_platform_data ab3100_plf_data = {
.min_uV = LDO_D_VOLTAGE,
.max_uV = LDO_D_VOLTAGE,
.valid_modes_mask = REGULATOR_MODE_NORMAL,
+ .valid_ops_mask = REGULATOR_CHANGE_STATUS,
/*
* Actually this is boot_on but we need
* to reference count it externally to