diff options
author | Bill Huang <bilhuang@nvidia.com> | 2013-08-08 04:45:05 -0700 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-08-14 18:53:17 +0100 |
commit | b81eec09a484c588ead035003ce7555ca8a9963a (patch) | |
tree | b6da5dbb56f0718cd9e67134e14ffda1ce2b0e65 /include/linux/mfd/palmas.h | |
parent | 3134bcae4f70d56df31a5b024c54115d4f504727 (diff) | |
download | op-kernel-dev-b81eec09a484c588ead035003ce7555ca8a9963a.zip op-kernel-dev-b81eec09a484c588ead035003ce7555ca8a9963a.tar.gz |
mfd: palmas: Add power off control
Hook up "pm_power_off" to palmas power off routine if there is DT
property "ti,system-power-controller" defined, so platform which is
powered by this regulator can be powered off properly.
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Signed-off-by: Bill Huang <bilhuang@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/palmas.h')
-rw-r--r-- | include/linux/mfd/palmas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h index 1a8dd7a..061cce0 100644 --- a/include/linux/mfd/palmas.h +++ b/include/linux/mfd/palmas.h @@ -258,6 +258,7 @@ struct palmas_platform_data { */ int mux_from_pdata; u8 pad1, pad2; + bool pm_off; struct palmas_pmic_platform_data *pmic_pdata; struct palmas_gpadc_platform_data *gpadc_pdata; |