aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Haslam <axelhaslam@ti.com>2011-10-03 20:07:34 -0700
committerColin Cross <ccross@android.com>2011-10-09 12:30:05 -0700
commit4e93124a83ba1bd4c1cce2f9e8102ec7ace3c684 (patch)
tree319d28f64fc6a7dd86a478c065d10dd0bcee635d /drivers/regulator
parent1c7f07e17bbda907f4c05c41cebc615d0309481f (diff)
downloadkernel_samsung_tuna-4e93124a83ba1bd4c1cce2f9e8102ec7ace3c684.tar.gz
kernel_samsung_tuna-4e93124a83ba1bd4c1cce2f9e8102ec7ace3c684.tar.bz2
kernel_samsung_tuna-4e93124a83ba1bd4c1cce2f9e8102ec7ace3c684.zip
regulator: TWL6030: add clk32kaudio as regulator
Add the 32KHz audio clock as a regulator as it it may be used as a clk source for some external chips. By adding it, we can enable and disable it using the regulator framework. Change-Id: Ic7a39600277bd28cac039c1385c68fe712c89875 Signed-off-by: Axel Haslam <axelhaslam@ti.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/twl-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index 301f1570f82..f34ae3ab0b3 100644
--- a/drivers/regulator/twl-regulator.c
+++ b/drivers/regulator/twl-regulator.c
@@ -1065,6 +1065,7 @@ static struct twlreg_info twl_regs[] = {
TWL6030_FIXED_LDO(VDAC, 0x64, 1800, 0),
TWL6030_FIXED_LDO(VUSB, 0x70, 3300, 0),
TWL6030_FIXED_RESOURCE(CLK32KG, 0x8C, 0),
+ TWL6030_FIXED_RESOURCE(CLK32KAUDIO, 0x8F, 0),
TWL6030_ADJUSTABLE_SMPS(VDD3, 0x2e, 600, 4000),
TWL6030_ADJUSTABLE_SMPS(VMEM, 0x34, 600, 4000),
TWL6030_ADJUSTABLE_SMPS(V2V1, 0x1c, 1800, 2100),