diff options
author | Nitin Kumbhar <nkumbhar@nvidia.com> | 2010-12-17 10:54:55 +0530 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2010-12-17 06:40:01 -0800 |
commit | 1e6db8c827e98de0308230883f94d069f8b5943e (patch) | |
tree | 66147d1e5bf05253e67815ef7d62f99ae8800655 /include/linux | |
parent | 691a66c0d6eaa4cbdbe2ff148ff5e6df77137646 (diff) |
mfd: tps6586x: add api to power off tps6586x
when tps6586x is put into sleep mode, it powers off ldos. Add an
api to put tps6586x in sleep mode by resetting EXITSLREQ and
setting SLEEP_MODE in SUPPLYENE register.
Change-Id: I80fe35d541e85014bd7b5544d212573fe35d67e5
Reviewed-on: http://git-master/r/13589
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mfd/tps6586x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/tps6586x.h b/include/linux/mfd/tps6586x.h index d96fb3d3e624..bd20aa696485 100644 --- a/include/linux/mfd/tps6586x.h +++ b/include/linux/mfd/tps6586x.h @@ -78,5 +78,6 @@ extern int tps6586x_set_bits(struct device *dev, int reg, uint8_t bit_mask); extern int tps6586x_clr_bits(struct device *dev, int reg, uint8_t bit_mask); extern int tps6586x_update(struct device *dev, int reg, uint8_t val, uint8_t mask); +extern int tps6586x_power_off(void); #endif /*__LINUX_MFD_TPS6586X_H */ |