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>
This commit is contained in:
parent
a125670aa0
commit
9be583e65d
1 changed files with 13 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
||||||
fw_config
|
fw_config
|
||||||
|
field TOUCHPAD 8 9
|
||||||
|
option TOUCHPAD_UNKNOWN 0
|
||||||
|
option TOUCHPAD_EKT3744 1
|
||||||
|
option TOUCHPAD_GT7863 2
|
||||||
|
end
|
||||||
field TOUCHSCREEN 10 12
|
field TOUCHSCREEN 10 12
|
||||||
option TOUCHSCREEN_UNKNOWN 0
|
option TOUCHSCREEN_UNKNOWN 0
|
||||||
option TOUCHSCREEN_NONE 1
|
option TOUCHSCREEN_NONE 1
|
||||||
|
@ -276,7 +281,10 @@ chip soc/intel/alderlake
|
||||||
register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
|
register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
|
||||||
register "wake" = "GPE0_DW2_14"
|
register "wake" = "GPE0_DW2_14"
|
||||||
register "detect" = "1"
|
register "detect" = "1"
|
||||||
device i2c 15 on end
|
device i2c 15 on
|
||||||
|
probe TOUCHPAD TOUCHPAD_UNKNOWN
|
||||||
|
probe TOUCHPAD TOUCHPAD_EKT3744
|
||||||
|
end
|
||||||
end
|
end
|
||||||
chip drivers/i2c/hid
|
chip drivers/i2c/hid
|
||||||
register "generic.hid" = ""GXTP7863""
|
register "generic.hid" = ""GXTP7863""
|
||||||
|
@ -285,7 +293,10 @@ chip soc/intel/alderlake
|
||||||
register "generic.wake" = "GPE0_DW2_14"
|
register "generic.wake" = "GPE0_DW2_14"
|
||||||
register "generic.detect" = "1"
|
register "generic.detect" = "1"
|
||||||
register "hid_desc_reg_offset" = "0x20"
|
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
|
||||||
end
|
end
|
||||||
device ref hda on
|
device ref hda on
|
||||||
|
|
Loading…
Reference in a new issue