mb/google/brya/variants/hades: Update GPU power sequencing to add Hades support
commit166387f7903299287cea9537a3758ab66b56f42e
authorTarun Tuli <taruntuli@google.com>
Wed, 29 Mar 2023 13:36:26 +0000 (29 13:36 +0000)
committerEric Lai <eric_lai@quanta.corp-partner.google.com>
Tue, 11 Apr 2023 14:34:41 +0000 (11 14:34 +0000)
treee6091f7644a23e9d8ce7199d7a1edc15c9017609
parentfa38535a20bdfcf0a27862fc13d2e02a09da8ef8
mb/google/brya/variants/hades: Update GPU power sequencing to add Hades support

Add GPU power sequencing changes for the Hades baseboard and variant.
Some signals were added, moved or inverted.
Based on implementation from Agah.

Moved signals:
GPIO_1V8_PWR_EN GPP_E11
GPIO_NV33_PWR_EN GPP_E2
GPIO_NV33_PG GPP_E1

New signals:
GPIO_NV12_PWR_EN GPP_D0
GPIO_NV12_PG GPP_D1

Inverted signals:
GPIO_FBVDD_PWR_EN GPP_A19

ifdef's will be dropped once the Agah variant is retired.

BUG=b:269371363
TEST=builds and verified on Agah that DGPU is still detectable (lspci)

Change-Id: I0b8efe7a34102cf61d4f784103c4a4f9337213f7
Signed-off-by: Tarun Tuli <taruntuli@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73896
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com>
src/mainboard/google/brya/acpi/power.asl
src/mainboard/google/brya/variants/hades/Makefile.inc
src/mainboard/google/brya/variants/hades/variant.c [new file with mode: 0644]