mb/google/brya/acpi: Update NVPCF_FUNC_UPDATE_DYNAMIC_PARAMS
commitb81ad9c6b15fc27047d6f5906e5909f77f0440df
authorTarun Tuli <taruntuli@google.com>
Tue, 15 Nov 2022 16:32:30 +0000 (15 16:32 +0000)
committerNick Vaccaro <nvaccaro@google.com>
Fri, 20 Jan 2023 23:55:33 +0000 (20 23:55 +0000)
treed8ec59f8c14e91c39851068570b0878dd112e637
parenta16da936800ce48871b2cf16c840f0b281cfdff0
mb/google/brya/acpi: Update NVPCF_FUNC_UPDATE_DYNAMIC_PARAMS

1) Update location of TGP (MAGA) to Params2[15:0]
2) Add TPPA (value of 25W)

Package:

...
Case (0x02)
{
      Local0 = Buffer (0x31)
      {
            0x22, 0x05, 0x10, 0x1C, 0x01
      }
      CreateWordField (Local0, 0x1D, MAGA)
      CreateWordField (Local0, 0x19, TPPA)
      CreateDWordField (Local0, 0x15, CEO0)
      MAGA = 0x50
      TPPA = 0xC8
      CEO0 = 0x0200
      Return (Local0)
}
...

BUG=b:214581372
TEST=build and verify DSDT on device

Signed-off-by: Tarun Tuli <taruntuli@google.com>
Change-Id: I69b80f4af2ecef6cf91034fc15fb6e8715eeca4f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69639
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/google/brya/acpi/nvpcf.asl