summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2013-08-26 08:54:49 -0500
committerMarek Vasut <marex@denx.de>2013-10-20 23:42:39 +0200
commit1bd435bc70a03f150900be4ac70a7bc8bfa4b438 (patch)
tree57fe4afd26195f9afbb0cd1cf6e13c550e68dbf3 /include
parentec89e0a68a72c6fe930637f29bb8dd3fd4835dce (diff)
ARM: OMAP5: Power: Add new function to turn on SMPS10
Add new functionality to turn on SMPS10 regulator. This supplies the VBUS to devices connected to the USB host ports Signed-off-by: Dan Murphy <dmurphy@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/palmas.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/palmas.h b/include/palmas.h
index f74f08e2d86..eaf367086c4 100644
--- a/include/palmas.h
+++ b/include/palmas.h
@@ -31,6 +31,7 @@
/* LDOUSB control/voltage */
#define LDOUSB_CTRL 0x64
#define LDOUSB_VOLTAGE 0x65
+#define LDO_CTRL 0x6a
/* Control of 32 kHz audio clock */
#define CLK32KGAUDIO_CTRL 0xd5
@@ -62,6 +63,10 @@
#define SMPS9_CTRL 0x38
#define SMPS9_VOLTAGE 0x3b
+/* SMPS10_CTRL */
+#define SMPS10_CTRL 0x3c
+#define SMPS10_MODE_ACTIVE_D 0x0d
+
/* Bit field definitions for SMPSx_CTRL */
#define SMPS_MODE_ACT_AUTO 1
#define SMPS_MODE_ACT_ECO 2
@@ -114,5 +119,6 @@ int palmas_mmc1_poweron_ldo(void);
int twl603x_mmc1_set_ldo9(u8 vsel);
int twl603x_audio_power(u8 on);
int twl603x_enable_bb_charge(u8 bb_fields);
+int palmas_enable_ss_ldo(void);
#endif /* PALMAS_H */