summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants
diff options
context:
space:
mode:
authorFrank Chu <frank_chu@pegatron.corp-partner.google.com>2024-03-13 11:17:26 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-03-14 15:38:57 +0000
commit2fd6a6758b221ca7812bbb86177e4a96376abf45 (patch)
tree8f56a359914ad26f345e5899c13d1fe1a00fdeb9 /src/mainboard/google/brya/variants
parentf8df905e7baf2adca61b7ca2fe4e844414feddc0 (diff)
mb/google/nissa/var/glassway: Add 2nd touchscreen via SSFC config
Define SSFC bit 0-1 in coreboot for add 2nd BOE G7500 touchscreen. BUG=b:329339069 BRANCH=firmware-nissa-15217.B TEST=Check touchscreen can detect and function work. [INFO ] input: GTCH7503:00 2A94:A804 as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-10/i2c-GTCH7503:00/0014 Change-Id: I85688919864e3cac1beb2442ef3e23fe9d5f916c Signed-off-by: Frank Chu <frank_chu@pegatron.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81217 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/mainboard/google/brya/variants')
-rw-r--r--src/mainboard/google/brya/variants/glassway/overridetree.cb22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mainboard/google/brya/variants/glassway/overridetree.cb b/src/mainboard/google/brya/variants/glassway/overridetree.cb
index 08d247b28b..15b7d7ec4d 100644
--- a/src/mainboard/google/brya/variants/glassway/overridetree.cb
+++ b/src/mainboard/google/brya/variants/glassway/overridetree.cb
@@ -16,7 +16,7 @@ fw_config
field TOUCHSCREEN_SOURCE 32 33
option TOUCHSCREEN_UNPROVISIONED 0
option TOUCHSCREEN_ELAN0001 1
- option TOUCHSCREEN_ELAN9008 2
+ option TOUCHSCREEN_GTCH7503 2
end
end
@@ -336,23 +336,23 @@ chip soc/intel/alderlake
probe TOUCHSCREEN_SOURCE TOUCHSCREEN_ELAN0001
end
end
+
chip drivers/i2c/hid
- register "generic.hid" = ""ELAN9008""
- register "generic.desc" = ""ELAN Touchscreen""
+ register "generic.hid" = ""GTCH7503""
+ register "generic.desc" = ""G2TOUCH Touchscreen""
register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
- register "generic.detect" = "1"
register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
- register "generic.reset_delay_ms" = "20"
- register "generic.reset_off_delay_ms" = "2"
+ register "generic.reset_delay_ms" = "50"
+ register "generic.reset_off_delay_ms" = "5"
register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
- register "generic.stop_delay_ms" = "280"
- register "generic.stop_off_delay_ms" = "2"
+ register "generic.stop_delay_ms" = "30"
+ register "generic.stop_off_delay_ms" = "10"
register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
- register "generic.enable_delay_ms" = "1"
+ register "generic.enable_delay_ms" = "5"
register "generic.has_power_resource" = "1"
register "hid_desc_reg_offset" = "0x01"
- device i2c 10 on
- probe TOUCHSCREEN_SOURCE TOUCHSCREEN_ELAN9008
+ device i2c 40 on
+ probe TOUCHSCREEN_SOURCE TOUCHSCREEN_GTCH7503
end
end
end #I2C1