mb/google/brya/var/redrix: Add fw_config probe for eKT3764/eKT3644
Report different ACPI device depending on TP_SOURCE field of fw config (SSFC-bit8~bit9) for elan touchpad. BUG=b:199503876 TEST=FW_NAME=redrix emerge-brya coreboot Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com> Change-Id: I15781c2d942d81e11c296ea2f2586ba82f67e4a7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57575 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
093ac93032
commit
a398be9831
|
@ -25,6 +25,10 @@ fw_config
|
|||
option CAMERA_OV5675 1
|
||||
option CAMERA_HI556 2
|
||||
end
|
||||
field TP_SOURCE 40 41
|
||||
option ELAN0000 0
|
||||
option ELAN2703 1
|
||||
end
|
||||
end
|
||||
chip soc/intel/alderlake
|
||||
register "SaGv" = "SaGv_Enabled"
|
||||
|
@ -364,7 +368,20 @@ chip soc/intel/alderlake
|
|||
register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
|
||||
register "wake" = "GPE0_DW2_14"
|
||||
register "probed" = "1"
|
||||
device i2c 15 on end
|
||||
device i2c 15 on
|
||||
probe TP_SOURCE ELAN0000
|
||||
end
|
||||
end
|
||||
chip drivers/i2c/hid
|
||||
register "generic.hid" = ""ELAN2703""
|
||||
register "generic.desc" = ""ELAN Touchpad""
|
||||
register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)"
|
||||
register "generic.wake" = "GPE0_DW2_14"
|
||||
register "generic.probed" = "1"
|
||||
register "hid_desc_reg_offset" = "0x01"
|
||||
device i2c 15 on
|
||||
probe TP_SOURCE ELAN2703
|
||||
end
|
||||
end
|
||||
end
|
||||
device ref gspi1 on
|
||||
|
|
Loading…
Reference in New Issue