mb/prodrive/hermes: Configure ALC888 port B Vref
commit84b9191831f7f89978cf5630cdf7119e6414306e
authorAngel Pons <th3fanbus@gmail.com>
Thu, 25 Nov 2021 13:03:06 +0000 (25 14:03 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Fri, 3 Dec 2021 15:51:53 +0000 (3 15:51 +0000)
tree2f8cc6ccb8b6bc8134d124502f5932b4aa19d2aa
parent3bb1d923af067aa33285a59e0f49d8064a58363f
mb/prodrive/hermes: Configure ALC888 port B Vref

Define a new field in the board config EEPROM layout for port B Vref.
Write port B Vref settings to unused non-volatile NID 0x12 instead of
NID 0x18, the actual port B NID. Because per-port Vref settings don't
persist after codec resets, a custom Realtek driver (ab)uses NID 0x12
to restore port B Vref after resetting the codec.

Change-Id: Iaa11ba9c74f643e94046d4983fbce65dbedd1025
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58879
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/prodrive/hermes/eeprom.h
src/mainboard/prodrive/hermes/hda_verb.c