mb/google/dedede/var/drawcia: Add fw_config probe for ALC5682-VD/ALC5682-VS
commit0d753e510808e66ffd5dc6ee71ff4e1db4c09ffa
authorWisley Chen <wisley.chen@quanta.corp-partner.google.com>
Tue, 24 Aug 2021 10:31:15 +0000 (24 16:31 +0600)
committerFelix Held <felix-coreboot@felixheld.de>
Sat, 28 Aug 2021 17:44:34 +0000 (28 17:44 +0000)
tree5f386eab3184628d5e5ac8a31cd61bb55e63a63d
parentb4481e0bd440f2f027b03acb94fcd8cfe0171f3f
mb/google/dedede/var/drawcia: Add fw_config probe for ALC5682-VD/ALC5682-VS

ALC5682-VD/ALC5682-VS use different kernel driver by different hid name.
Update hid name depending on the AUDIO_CODEC_SOURCE field of fw_config.

ALC5682-VD: _HID = "10EC5682"
ALC5682I-VS: _HID = "RTL5682"

BUG=b:194356991
TEST=ALC5682-VD/ALC5682-VS audio codec can work

Change-Id: I71b824c42c13cc2a8bebe0072de4a65ce238f074
Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57118
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
src/mainboard/google/dedede/variants/drawcia/overridetree.cb