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>
This commit is contained in:
parent
3134bcae4f
commit
b81eec09a4
3 changed files with 37 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue