diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2022-03-28 22:40:47 -0500 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-21 13:40:31 +0000 |
commit | 34ffa64ba8993b167ff3723a5aa86588b9a8e8ba (patch) | |
tree | b21a3e0e51951bd05a842f6fb39a7d89e68ba6c0 /src/mainboard/google/octopus/variants/foob/Makefile.inc | |
parent | 53bf72b131d68216b589306ab68b787a6de4c18c (diff) |
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 <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63212
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/octopus/variants/foob/Makefile.inc')
-rw-r--r-- | src/mainboard/google/octopus/variants/foob/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/variants/foob/Makefile.inc b/src/mainboard/google/octopus/variants/foob/Makefile.inc index a291304bc0..86a10df2a0 100644 --- a/src/mainboard/google/octopus/variants/foob/Makefile.inc +++ b/src/mainboard/google/octopus/variants/foob/Makefile.inc @@ -1,3 +1,4 @@ bootblock-y += gpio.c +romstage-y += gpio.c ramstage-y += gpio.c ramstage-y += variant.c |