Attention is currently required from: Bora Guvendik, Intel coreboot Reviewers, Jérémy Compostella, Kyoung Il Kim, Paul Menzel, Subrata Banik.
Hello Bora Guvendik, Intel coreboot Reviewers, Jérémy Compostella, Kyoung Il Kim, Subrata Banik, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/85198?usp=email
to look at the new patch set (#16).
Change subject: drivers/intel/touch: Add Intel Touch Controller driver ......................................................................
drivers/intel/touch: Add Intel Touch Controller driver
THC is a hardware component that interfaces between a touch sensor and the system's SPI or I2C bus. This driver publishes data into the Secondary System Descriptor Table (SSDT).
This driver generates the following ACPI objects: - Device Specific Method (_DSM) - Current Resource Settings (_CRS) - Power resource with Status (_STA), _ON, and _OFF methods - Device Specific Data (_DSD) for THC-I2C - Device Reset (_RST) for THC-SPI
Template device configuration for the following supported devices: - Wacom: THC-SPI touchscreen only - Elan: both THC-SPI and THC-I2C touchscreen - Hynitron: THC-I2C touchpad only
The configuration is spitted into device, SoC, and MB specific. - SoC-specific: Implement soc_get_thc_hidi2c_info and soc_get_thc_hidspi_info functions for SoC-specific configurations. Theses can be placed in the SoC's chip.c. - device-specific: This driver provides the device-specific configuration for the supported devices; otherwise, require information via the device tree for unsupported/generic devices. - MB-specific: The MB-specific, such as LTR value, needs to be provided in the device tree.
BUG=none TEST=Select the DRIVERS_INTEL_TOUCH option on a motherboard with the necessary configurations, and verify that the THC ACPI tables are generated in the SSDT.
Signed-off-by: Cliff Huang cliff.huang@intel.com Signed-off-by: Jeremy Compostella jeremy.compostella@intel.com Change-Id: Ibcd2a75a41460dee67aebdc61ee9e85fa98b71bf --- A src/drivers/intel/touch/Kconfig A src/drivers/intel/touch/Makefile.mk A src/drivers/intel/touch/chip.h A src/drivers/intel/touch/elan.h A src/drivers/intel/touch/hynitron.h A src/drivers/intel/touch/touch.c A src/drivers/intel/touch/wacom.h 7 files changed, 930 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/85198/16