mb/google/brya: Add PEG and initial Nvidia dGPU ASL support
commitc85253337934e3dd2aa5fc6b55371f9b48ef3b4c
authorTim Wawrzynczak <twawrzynczak@chromium.org>
Fri, 25 Feb 2022 16:13:49 +0000 (25 09:13 -0700)
committerTim Wawrzynczak <twawrzynczak@chromium.org>
Fri, 20 May 2022 14:58:46 +0000 (20 14:58 +0000)
tree6f563de2b18775a5124ef8aacbe058e454a6ab8f
parent2efd8315f20ff1fbdccdc0b6f0af97b4a7512981
mb/google/brya: Add PEG and initial Nvidia dGPU ASL support

Some brya variants will use a GN20 series Nvidia GPU, which requires
quite a bit of ACPI support code to be written for it. This patch
lands a decent bit of the initial code for it on the brya platform,
including:

1) PEG RTD3 methods
2) DGPU power operations (RTD3 and GCOFF, NVJT _DSM and other Methods)
3) NVOP _DSM method

There will be more support to come later, this is all written to
specifications from the Nvidia Software Design Guide for GN20.

BUG=b:214581763
TEST=build patch train

Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: Ifce1610210e9636e87dda4b55c8287334adfcc42
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62931
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
src/mainboard/google/brya/Kconfig
src/mainboard/google/brya/acpi/gpu_defines.h [new file with mode: 0644]
src/mainboard/google/brya/acpi/gpu_top.asl [new file with mode: 0644]
src/mainboard/google/brya/acpi/nvjt.asl [new file with mode: 0644]
src/mainboard/google/brya/acpi/nvop.asl [new file with mode: 0644]
src/mainboard/google/brya/acpi/peg.asl [new file with mode: 0644]
src/mainboard/google/brya/acpi/power.asl [new file with mode: 0644]
src/mainboard/google/brya/acpi/utility.asl [new file with mode: 0644]
src/mainboard/google/brya/dsdt.asl