diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2022-12-06 21:05:16 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-21 14:00:13 +0000 |
commit | bf3c648fa7f6cdd946698a2ec6584102b53e4c4a (patch) | |
tree | 5628cdf3a39071e5cf87c05dcf7bd329766bacc4 /src/mainboard/google/poppy/variants/rammus | |
parent | ca342e108227859112746bb262bb742e800b6973 (diff) |
soc/intel/skl; mb/google/eve,poppy: Update NHLT methods
Adapted from WIP (and now abandoned) patches CB:25334, 26308, 26309.
Update the nhlt_soc_add_*() methods for max98373, max98927, and rt5514
codecs to program the render and feedback slot numbers as appropriate.
TEST=boot Windows on google/eve, atlas, nocturne, and rammus. Verify
audio functional with both Google project campfire drivers as well as
coolstar's AVS audio drivers.
Change-Id: Ib8c6e24ba539e205bd5bbd856ecff43b2c016c2e
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70394
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: CoolStar <coolstarorganization@gmail.com>
Diffstat (limited to 'src/mainboard/google/poppy/variants/rammus')
-rw-r--r-- | src/mainboard/google/poppy/variants/rammus/nhlt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/poppy/variants/rammus/nhlt.c b/src/mainboard/google/poppy/variants/rammus/nhlt.c index 5802883118..14c6e708f7 100644 --- a/src/mainboard/google/poppy/variants/rammus/nhlt.c +++ b/src/mainboard/google/poppy/variants/rammus/nhlt.c @@ -16,7 +16,8 @@ void variant_nhlt_init(struct nhlt *nhlt) printk(BIOS_ERR, "Couldn't add Dialog DA7219.\n"); /* Maxim MAX98927 Smart Amps for left and right channel */ - if (nhlt_soc_add_max98927(nhlt, AUDIO_LINK_SSP0)) + /* Render time_slot is 0 and feedback time_slot is 2 */ + if (nhlt_soc_add_max98373(nhlt, AUDIO_LINK_SSP0, 0, 2)) printk(BIOS_ERR, "Couldn't add Maxim MAX98927\n"); } |