diff options
author | Abhijit Kulkarni <kabhijit@codeaurora.org> | 2017-02-16 19:02:17 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-04-04 17:25:50 -0700 |
commit | 6d9f602c728b3f41f24a965ef60db0f273f51cbe (patch) | |
tree | 0a7a4bfa4c2a72d6e162df604a7f7c2bb538ac16 /include/linux/mdss_io_util.h | |
parent | 4c332132fc72dd634004f76d92534995feaad15c (diff) |
msm: dsi: Turn off supplies in low power state
This change allows certain phy supplies to be turned off
when display transtions to low power state. This change
adds funtionality to check each supplies setting and
accordingly turns off the the regulator if it is
allowed in low power state.
CRs-Fixed: 2009863
Change-Id: I764a8e65246b5de733f27e4f73d966b19039895d
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Diffstat (limited to 'include/linux/mdss_io_util.h')
-rw-r--r-- | include/linux/mdss_io_util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mdss_io_util.h b/include/linux/mdss_io_util.h index 5b2587b28737..3cca007e618c 100644 --- a/include/linux/mdss_io_util.h +++ b/include/linux/mdss_io_util.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2012, 2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2012, 2016-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -58,6 +58,8 @@ struct dss_vreg { int post_on_sleep; int pre_off_sleep; int post_off_sleep; + bool lp_disable_allowed; + bool disabled; }; struct dss_gpio { |