diff options
author | Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> | 2023-05-18 17:32:01 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-05-26 13:43:38 +0000 |
commit | 9be583e65d4ef16761feb38eb5c978bbfd8f630d (patch) | |
tree | 5647f4a6bd3aa0121cd935ff33a359010b510168 /src/mainboard/google | |
parent | a125670aa0a49c6af360e62f8091c38d0595f8f5 (diff) |
mb/google/nissa/var/uldren: Add fw_config probe for touchpad
Use fw_config to probe touchpad.
BUG=b:283199751
BRANCH=firmware-nissa-15217.B
TEST=emerge-nissa coreboot chromeos-bootimage
Change-Id: Ib20abac74683c670c174821b821ede461dbb0163
Signed-off-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75336
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Derek Huang <derekhuang@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/brya/variants/uldren/overridetree.cb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/uldren/overridetree.cb b/src/mainboard/google/brya/variants/uldren/overridetree.cb index fa20808e78..4f3dfe244e 100644 --- a/src/mainboard/google/brya/variants/uldren/overridetree.cb +++ b/src/mainboard/google/brya/variants/uldren/overridetree.cb @@ -1,4 +1,9 @@ fw_config + field TOUCHPAD 8 9 + option TOUCHPAD_UNKNOWN 0 + option TOUCHPAD_EKT3744 1 + option TOUCHPAD_GT7863 2 + end field TOUCHSCREEN 10 12 option TOUCHSCREEN_UNKNOWN 0 option TOUCHSCREEN_NONE 1 @@ -276,7 +281,10 @@ chip soc/intel/alderlake register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" register "wake" = "GPE0_DW2_14" register "detect" = "1" - device i2c 15 on end + device i2c 15 on + probe TOUCHPAD TOUCHPAD_UNKNOWN + probe TOUCHPAD TOUCHPAD_EKT3744 + end end chip drivers/i2c/hid register "generic.hid" = ""GXTP7863"" @@ -285,7 +293,10 @@ chip soc/intel/alderlake register "generic.wake" = "GPE0_DW2_14" register "generic.detect" = "1" register "hid_desc_reg_offset" = "0x20" - device i2c 2c on end + device i2c 2c on + probe TOUCHPAD TOUCHPAD_UNKNOWN + probe TOUCHPAD TOUCHPAD_GT7863 + end end end device ref hda on |