From 34ffa64ba8993b167ff3723a5aa86588b9a8e8ba Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 28 Mar 2022 22:40:47 -0500 Subject: mb/google/octopus: Implement touchscreen/digitizer power sequencing For octopus variants with a touchscreen/digitizer, drive the enable and reset GPIOs high in romstage, then disable the reset GPIOs in ramstage. Where available, only set the GPIOs for SKUs which have a touchscreen. This will allow coreboot to detect the presence of i2c touchscreens during ACPI SSDT generation (implemented in a subsequent commit). TEST=tested with rest of patch train Change-Id: Ia725b4054069c0a4f60afd7e0bca6e2fd5fdcbba Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/63212 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/mainboard/google/octopus/variants/bobba/Makefile.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainboard/google/octopus/variants/bobba/Makefile.inc') diff --git a/src/mainboard/google/octopus/variants/bobba/Makefile.inc b/src/mainboard/google/octopus/variants/bobba/Makefile.inc index 7ee7e70d4b..a854b669d3 100644 --- a/src/mainboard/google/octopus/variants/bobba/Makefile.inc +++ b/src/mainboard/google/octopus/variants/bobba/Makefile.inc @@ -1,5 +1,7 @@ bootblock-y += gpio.c +romstage-y += gpio.c + ramstage-y += gpio.c ramstage-y += variant.c -- cgit v1.2.3