mb/google/brya/var/primus{4es}: add enable pin to rtd3-cold
commit0e834a94556854751a321d28acf20605c75aa4da
authorCasper Chang <casper_chang@wistron.corp-partner.google.com>
Fri, 4 Mar 2022 06:08:01 +0000 (4 14:08 +0800)
committerTim Wawrzynczak <twawrzynczak@chromium.org>
Tue, 8 Mar 2022 01:39:28 +0000 (8 01:39 +0000)
tree4de6ae255e7a338691cab2ee7d656477b432e3fb
parent42c460d3e5bd83179bfcbdc29019b1a3d2e47e9a
mb/google/brya/var/primus{4es}: add enable pin to rtd3-cold

Currently the BayHub eMMC controller is only going into its reset
state when the RTD3 sequence is initiated. This causes it to
still consume too much power in suspend states. This CL adds the
power enable GPIO into the RTD3 sequence as well, which will turn
off the eMMC controller (a true D3cold state) during the RTD3
sequence.

BUG=b:222436260
TEST=USE="project_primus" emerge-brya coreboot chromeos-bootimage
     test suspend stress 100 cycles passed on primus.

Signed-off-by: Casper Chang <casper_chang@wistron.corp-partner.google.com>
Change-Id: I2fec6a30707fb1a258cdcc73b0ce38252b6f77c8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62586
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
src/mainboard/google/brya/variants/primus/overridetree.cb
src/mainboard/google/brya/variants/primus4es/overridetree.cb