summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/s5m87xx/s5m-core.h
diff options
context:
space:
mode:
authorSangbeom Kim <sbkim73@samsung.com>2012-03-09 17:53:53 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-01 11:59:22 +0100
commit62fe8cd50175ca797dcf3d39a7206da6ac0f6c50 (patch)
treed7e75f4b30290373547bde6ca26f7dc582c409b4 /include/linux/mfd/s5m87xx/s5m-core.h
parentdd775ae2549217d3ae09363e3edb305d0fa19928 (diff)
downloadop-kernel-dev-62fe8cd50175ca797dcf3d39a7206da6ac0f6c50.zip
op-kernel-dev-62fe8cd50175ca797dcf3d39a7206da6ac0f6c50.tar.gz
mfd: Add s5m regulator operation mode
This patch add variables for opmode of s5m series. S5M series have 4 operation modes. Off mode is always regulator off mode. On mode is always regulator on mode. Lowpower mode is that regualtor operate in low-power. Suspend mode is that regulator operation depends on AP suspend mode. Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd/s5m87xx/s5m-core.h')
-rw-r--r--include/linux/mfd/s5m87xx/s5m-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/s5m87xx/s5m-core.h b/include/linux/mfd/s5m87xx/s5m-core.h
index a7480b5..21603b4 100644
--- a/include/linux/mfd/s5m87xx/s5m-core.h
+++ b/include/linux/mfd/s5m87xx/s5m-core.h
@@ -335,6 +335,7 @@ extern int s5m_reg_update(struct s5m87xx_dev *s5m87xx, u8 reg, u8 val, u8 mask);
struct s5m_platform_data {
struct s5m_regulator_data *regulators;
+ struct s5m_opmode_data *opmode;
int device_type;
int num_regulators;
OpenPOWER on IntegriCloud