mb/google/brya/var/gimble: Configure GPIO to release PERST# earlier
commitd27dd97e17a8dfe4a9d8861cda51feabce809590
authorMark Hsieh <mark_hsieh@wistron.corp-partner.google.com>
Tue, 21 Dec 2021 13:04:12 +0000 (21 21:04 +0800)
committerTim Wawrzynczak <twawrzynczak@chromium.org>
Wed, 22 Dec 2021 15:40:48 +0000 (22 15:40 +0000)
tree4b4958e33ae5006af4373cbb92627f47d1f9bdfb
parentbaf027d50c1570d5ab0e5ec225585ddd0e9388ec
mb/google/brya/var/gimble: Configure GPIO to release PERST# earlier

This change in power sequencing appears to fix issues with power
consumption of the SD card controller. Possibly this change
ensures the device has enough time to properly initialize itself
after reset is deasserted but before it is accessed.

BUG=b:206014046
TEST=USE="project_gimble emerge-brya coreboot" and verify it builds
without error.

Signed-off-by: Mark Hsieh <mark_hsieh@wistron.corp-partner.google.com>
Change-Id: I90e5dd074ceda365283fe7e1f43dfd8c692d7338
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60279
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: YH Lin <yueherngl@google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
src/mainboard/google/brya/variants/gimble/gpio.c
src/mainboard/google/brya/variants/gimble4es/gpio.c