mb/google/volteer/variant/copano: support regular/numpad touchpad

Define the 25th bit of the fw_config for the regular touchpad
and numpad touchpad selection.

BUG=b:174027837
BRANCH=firmware-volteer-13672.B
TEST=build pass

Change-Id: Ic5d61f19fd385600cfdcdd045dab1e61b06e4663
Signed-off-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50129
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Marco Chen <marcochen@google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Zhuohao Lee 2021-01-19 13:06:18 +08:00 committed by Tim Wawrzynczak
parent c5cc741fe9
commit 275440edf1
2 changed files with 18 additions and 2 deletions

View File

@ -58,6 +58,10 @@ fw_config
option BOOT_SATA_DISABLED 0
option BOOT_SATA_ENABLED 1
end
field TOUCHPAD 25
option REGULAR_TOUCHPAD 0
option NUMPAD_TOUCHPAD 1
end
end
chip soc/intel/tigerlake

View File

@ -97,14 +97,26 @@ chip soc/intel/tigerlake
end
end
device ref i2c5 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad""
register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_E15_IRQ)"
register "wake" = "GPE0_DW2_15"
register "probed" = "1"
device i2c 15 on
probe TOUCHPAD REGULAR_TOUCHPAD
end
end
chip drivers/i2c/hid
register "generic.hid" = ""ELAN0000""
register "generic.hid" = ""ELAN2701""
register "generic.desc" = ""ELAN Touchpad""
register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_E15_IRQ)"
register "generic.wake" = "GPE0_DW2_15"
register "generic.probed" = "1"
register "hid_desc_reg_offset" = "0x01"
device i2c 15 on end
device i2c 15 on
probe TOUCHPAD NUMPAD_TOUCHPAD
end
end
end
device ref pch_espi on