drivers/sof: Add support for rt5650 speaker/jack topology
Enables correct identification of boards using rt5650 codec for either speaker or headset output (or both) by SOF Windows drivers. Change-Id: Ied9717955fcfca33bd63a34f3f6961deb045239c Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78092 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
9f01005da0
commit
7f53e11425
|
@ -17,6 +17,7 @@ enum _spkr_tplg {
|
|||
rt1011,
|
||||
rt1015,
|
||||
rt1019,
|
||||
rt5650_sp,
|
||||
};
|
||||
|
||||
/* Jack topology */
|
||||
|
@ -24,6 +25,7 @@ enum _jack_tplg {
|
|||
cs42l42 = 1,
|
||||
da7219,
|
||||
nau8825,
|
||||
rt5650_hp,
|
||||
rt5682,
|
||||
};
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ static const char *get_spkr_tplg_str(enum _spkr_tplg tplg)
|
|||
case rt1011: return "rt1011";
|
||||
case rt1015: return "rt1015";
|
||||
case rt1019: return "rt1019";
|
||||
case rt5650_sp: return "rt5650";
|
||||
default: return "default";
|
||||
}
|
||||
}
|
||||
|
@ -30,6 +31,7 @@ static const char *get_jack_tplg_str(enum _jack_tplg tplg)
|
|||
case cs42l42: return "cs42l42";
|
||||
case da7219: return "da7219";
|
||||
case nau8825: return "nau8825";
|
||||
case rt5650_hp: return "rt5650";
|
||||
case rt5682: return "rt5682";
|
||||
default: return "default";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue