switch-coreboot/src
Furquan Shaikh 3028c26bc4 UPSTREAM: i2c/generic: Allow GPIOs to be put in _CRS and PowerResource in ACPI
Linux kernel expects that power management with ACPI should always be
handled using PowerResource. However, some kernel drivers (e.g. ELAN
touchscreen) check to see if reset gpio is passed in by the BIOS to
decide whether the device loses power in suspend. Thus, until the kernel
has a better way for drivers to query if device lost power in suspend,
we need to allow passing in of GPIOs via _CRS as well as exporting
PowerResource to control power to the device.

Update mainboards to export reset GPIO as well as PowerResource for
ELAN touchscreen device.

BUG=chrome-os-partner:62311,chrome-os-partner:60194
BRANCH=reef
TEST=Verified that touchscreen works on power-on as well as after
suspend-resume.

Change-Id: Ice3b1040d4cda0e5ac6d2a1f211dc8c8d78668cc
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 71d830fddc
Original-Change-Id: I3409689cf56bfddd321402ad5dda3fc8762e6bc6
Original-Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/18238
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/434479
2017-01-30 10:20:30 -08:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: arch/x86: do not define type of SPIN_LOCK_UNLOCKED 2017-01-26 17:07:58 -08:00
commonlib UPSTREAM: buildsystem: Drop explicit (k)config.h includes 2016-12-09 03:29:54 -08:00
console UPSTREAM: console: Enable do_printk_va_list for VBOOT 2017-01-05 11:00:16 -08:00
cpu UPSTREAM: cpu/intel/model_6fx: Add Conroe-L to cpu_device_id list 2017-01-13 15:22:22 -08:00
device UPSTREAM: SPD_CACHE: Drop debug statement 2017-01-13 18:40:55 -08:00
drivers UPSTREAM: i2c/generic: Allow GPIOs to be put in _CRS and PowerResource in ACPI 2017-01-30 10:20:30 -08:00
ec UPSTREAM: ec/ene932: correct ACPI battery data fed into ToString() 2016-12-16 07:51:42 -08:00
include stdlib.h: drop DIV_ROUND_CLOSEST 2017-01-19 09:22:20 -08:00
lib UPSTREAM: lb_tables: make lb_mainboard and lb_strings record sizes 64-bit aligned 2017-01-22 05:03:19 -08:00
mainboard UPSTREAM: i2c/generic: Allow GPIOs to be put in _CRS and PowerResource in ACPI 2017-01-30 10:20:30 -08:00
northbridge UPSTREAM: amd/amdht: Fix format security errors 2017-01-28 04:11:02 -08:00
soc UPSTREAM: soc/intel/skylake: Include I2C code in romstage 2017-01-23 02:03:25 -08:00
southbridge UPSTREAM: sb/nvidia/mcp55: Fix typo in nic.c 2017-01-13 18:41:43 -08:00
superio UPSTREAM: sio/ite/it8783ef: Return (0) in ACPI _PSC methods 2016-12-16 04:50:43 -08:00
vboot vboot: vb2ex_printf() ignores null function name 2017-01-20 20:45:39 -08:00
vendorcode UPSTREAM: apollolake: Update UPD header files for FSP 1.3.0 2017-01-17 11:34:38 -08:00
Kconfig UPSTREAM: Hook up libhwbase in ramstage 2016-12-21 03:12:47 -08:00