coreboot/src/drivers
Furquan Shaikh 98915bb7a9 drivers/i2c/generic: Allow mainboards to export reset and enable GPIOs
Add power management type config option that allows mainboards to
either:
1. Define a power resource that uses the reset and enable gpios to
power on and off the device using _ON and _OFF methods, or
2. Export reset and enable GPIOs in _CRS and _DSD so that the OS can
directly toggle the GPIOs as required.

GPIO type needs to be updated in drivers_i2c_generic_config to use
acpi_gpio type so that it can be used for both the above cases.

BUG=chrome-os-partner:60194
BRANCH=None
TEST=Verified that elan touchscreen works fine on reef using exported
GPIOs.

Change-Id: I4d76f193f615cfc4520869dedc55505c109042f6
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/17797
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
2016-12-16 18:26:22 +01:00
..
ams drivers/ams: Set default values in Kconfig 2015-11-22 01:39:44 +01:00
aspeed Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00
ati/ragexl src/drivers: Add required space before opening parenthesis '(' 2016-08-31 20:12:07 +02:00
dec/21143 kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
elog drivers/elog: use region_device for NV storage 2016-08-19 18:18:08 +02:00
emulation/qemu drivers/emulation: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:37:08 +02:00
generic x86/acpi_device: Add support for GPIO output polarity 2016-10-07 18:05:30 +02:00
gic arm64: Remove cpu intialization through device-tree 2015-11-07 03:29:35 +01:00
i2c drivers/i2c/generic: Allow mainboards to export reset and enable GPIOs 2016-12-16 18:26:22 +01:00
ics/954309 drivers/ics: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:43 +02:00
intel soc/intel/common: remove mrc cache assumptions 2016-12-15 07:51:35 +01:00
ipmi src/drivers: Add required space before opening parenthesis '(' 2016-08-31 20:12:07 +02:00
lenovo Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00
maxim drivers/aspeed: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:17 +02:00
net drivers/r8168: Read default MAC address from CBFS 2016-12-08 12:40:46 +01:00
parade parade/ps8640: disable mipi mcs 2016-08-31 19:59:29 +02:00
pc80 pc80: Move set_boot_successful() 2016-12-13 19:15:22 +01:00
ricoh/rce822 buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
siemens/nc_fpga siemens/nc_fpga: Add driver for Siemens NC FPGA 2016-07-06 22:38:58 +02:00
sil/3114 drivers/sil: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:05 +02:00
spi tpm2: handle failures more gracefully 2016-12-16 16:13:22 +01:00
ti drivers/ti: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:36 +02:00
uart Kconfig: Prefix hex defaults with 0x 2016-09-30 23:57:02 +02:00
usb drivers/usb: Add option for baudrate of FT232H UART 2016-11-21 15:04:35 +01:00
xgi Add newlines at the end of all coreboot files 2016-08-01 21:43:56 +02:00
xpowers/axp209 Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00