diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2016-11-11 08:19:15 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-11-13 10:58:58 -0800 |
commit | 9b47a0812d963c4c02d47655741f63618bd41a22 (patch) | |
tree | bbef05891b30210b8d84d5fc9c2f054738846e75 /power/common.c | |
parent | 98402bb466e53cbe7b0d47287823126f7de0fdb8 (diff) | |
download | chrome-ec-9b47a0812d963c4c02d47655741f63618bd41a22.tar.gz |
skylake: Add support to S0iX based on host commands from Kernel
Picked the code from Glados branch.
Change-Id: I4bf114235c4d542dd7cf0dad6427c771e54d4611
https://chromium-review.googlesource.com/#/c/331358/
BUG=chrome-os-partner:59742
BRANCH=none
TEST=make buildall -j
Change-Id: Ib79f1209dfd9e6a9de0438cb1866bba2939e5393
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/410036
Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Kevin K Wong <kevin.k.wong@intel.com>
Diffstat (limited to 'power/common.c')
-rw-r--r-- | power/common.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/power/common.c b/power/common.c index 789b872f2a..832e1cc251 100644 --- a/power/common.c +++ b/power/common.c @@ -74,16 +74,12 @@ static int pause_in_s5; static int power_signal_get_level(enum gpio_signal signal) { -#ifdef CONFIG_POWER_S0IX - return chipset_get_ps_debounced_level(signal); -#else #ifdef CONFIG_ESPI_VW_SIGNALS /* Check signal is from GPIOs or VWs */ if ((int)signal > VW_SIGNAL_BASE) return espi_vw_get_wire(signal); #endif return gpio_get_level(signal); -#endif } static int power_signal_enable_interrupt(enum gpio_signal signal) |