drivers/soundwire: Support Realtek ALC712 codec
Update SoundWire driver to support ALC712 audio codec. reference datasheet: Realtek ALC712-VB-CG Rev. 0.24 BUG=b:378629979 TEST=emerge-fatcat coreboot A sound can be heard from the speaker, the test instructions are as follows: amixer -c 0 cset name='rt712 OT23 L Switch' on amixer -c 0 cset name=''rt712 OT23 R Switch' on amixer -c 0 cset name='rt1320-1 OT23 L Switch' on amixer -c 0 cset name='rt1320-1 OT23 R Switch' on amixer -c 0 cset name='Speaker Switch' on speaker-test -D hw:0,2 -c 2 -t sine -f 440 Change-Id: Ib79896a9fe23f2f66d6ee3a24f5a62bfa0f7a649 Signed-off-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85571 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Mac Chiang <mac.chiang@intel.com>
This commit is contained in:
parent
3e0f35b23a
commit
68da65b2a5
3 changed files with 23 additions and 1 deletions
|
|
@ -21,6 +21,7 @@
|
|||
#define MIPI_MFG_ID_REALTEK 0x025d
|
||||
#define MIPI_DEV_ID_REALTEK_ALC5682 0x5682
|
||||
#define MIPI_DEV_ID_REALTEK_ALC711 0x0711
|
||||
#define MIPI_DEV_ID_REALTEK_ALC712 0x0712
|
||||
#define MIPI_DEV_ID_REALTEK_ALC721 0x0721
|
||||
#define MIPI_DEV_ID_REALTEK_ALC722 0x0722
|
||||
#define MIPI_DEV_ID_REALTEK_ALC1308 0x1308
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue