mb/google/nissa/var/uldren: Fix Touch screen power sequence
commitb757a67ae1bc7e80fa6b16d77fafa9467be33a51
authorIan Feng <ian_feng@compal.corp-partner.google.com>
Fri, 28 Apr 2023 05:32:16 +0000 (28 13:32 +0800)
committerMatt DeVillier <matt.devillier@amd.corp-partner.google.com>
Fri, 12 May 2023 14:52:16 +0000 (12 14:52 +0000)
treed86f933fd566f847300d16ef806e00a7ce2e4a43
parenta4298bc3f82f476ce82e3e948f6573f5e38dfb25
mb/google/nissa/var/uldren: Fix Touch screen power sequence

Based on touchscreen product spec.
For uldren variants with a touchscreen, drive the enable GPIO high
starting in romstage while holding in reset, then disable the reset
GPIO in ramstage (done in the baseboard).

BUG=b:279989974
TEST=Build and boot to OS in uldren. Touch screen is workable.

Change-Id: Ib1b1ce80aa1dd8c312e3663fc50c9e9f53cc07fe
Signed-off-by: Ian Feng <ian_feng@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74835
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
src/mainboard/google/brya/variants/uldren/gpio.c