mb/google/brya/var/uldrenite: Add fw_config probe for touchpad

Because the touchpad includes two touch chips with the same I2C slave
address, the firmware configuration is used to differentiate them.

BUG=b:437025836
TEST=emerge-nissa coreboot

Change-Id: If1e414594a2866bdc122d48d5f3e2f36066cd3d5
Signed-off-by: John Su <john_su@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/89106
Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
John Su 2025-09-09 16:04:46 +08:00 committed by Matt DeVillier
commit 6c06602c75

View file

@ -19,6 +19,10 @@ fw_config
option ISH_DISABLE 0
option ISH_ENABLE 1
end
field SERIES 9 9
option SERIES_ULDRENITE 0
option SERIES_ULDRINO 1
end
field STORAGE 30 31
option STORAGE_EMMC 0
option STORAGE_NVME 1
@ -357,7 +361,20 @@ chip soc/intel/alderlake
register "generic.detect" = "1"
register "generic.wake" = "GPE0_DW1_03"
register "hid_desc_reg_offset" = "0x20"
device i2c 2c on end
device i2c 2c on
probe SERIES SERIES_ULDRENITE
end
end
chip drivers/i2c/hid
register "generic.hid" = ""GDIX0000""
register "generic.desc" = ""Goodix Touchpad""
register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
register "generic.detect" = "1"
register "generic.wake" = "GPE0_DW1_03"
register "hid_desc_reg_offset" = "0x20"
device i2c 2c on
probe SERIES SERIES_ULDRINO
end
end
end # I2C1
device ref i2c5 on