ASoC: Intel: add support for new SoundWire hardware layout on TGL
The creativity of hardware folks is endless, with a complete
permutation of rt711 (was link0 now link1), rt1308 (was link1 now
link2) and rt715 (was link3 now link0).
Someday we will get all this information from platform firmware, for
now let's add the mapping table.
Signed-off-by: Bard Liao <email address hidden>
Signed-off-by: Pierre-Louis Bossart <email address hidden>
Reviewed-by: Bard Liao <email address hidden>
Reviewed-by: Guennadi Liakhovetski <email address hidden>
Signed-off-by: Kai Vehmanen <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Mark Brown <email address hidden>
(backported from commit e787f5b5b14061bf76518d780b9bc0e9e7dd2739)
Signed-off-by: Hui Wang <email address hidden>
2dc7e41...
by
Pierre-Louis Bossart <email address hidden>
ASoC: Intel: sof_sdw_rt700: add codec prefix
Somehow for this codec we never used any prefix for the controls,
likely because the test platform has a single SoundWire device.
Follow the convention and use the codec prefix across the board to
avoid possible conflicts.
Signed-off-by: Pierre-Louis Bossart <email address hidden>
Reviewed-by: Bard Liao <email address hidden>
Reviewed-by: Guennadi Liakhovetski <email address hidden>
Signed-off-by: Kai Vehmanen <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Mark Brown <email address hidden>
(cherry picked from commit fbcc27d18115f5e2bdad15a087831190c3f05d9b)
Signed-off-by: Hui Wang <email address hidden>
6a0fe81...
by
Pierre-Louis Bossart <email address hidden>
Now that the ACPI machine params provide all the information needed,
allocate the card codec_conf dynamically and set .dlc and
.prefix_name.
Signed-off-by: Pierre-Louis Bossart <email address hidden>
Reviewed-by: Bard Liao <email address hidden>
Reviewed-by: Guennadi Liakhovetski <email address hidden>
Signed-off-by: Kai Vehmanen <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Mark Brown <email address hidden>
(backported from commit 23c8aa3ebabf0008c1d05c38e9723e5deb720ba0)
Signed-off-by: Hui Wang <email address hidden>
967bb52...
by
Pierre-Louis Bossart <email address hidden>
ASoC: Intel: add codec name prefix to ACPI machine description
The current SOF machine driver adds a name prefix for each codec,
mainly to differentiate ALSA controls for left and right amplifiers.
This is a good idea, but the machine driver duplicates some of the
information that already exists in ACPI descriptors, so add those
prefixes there. Follow-up patches will make use of the information
encoded in these tables and remove duplication.
Signed-off-by: Pierre-Louis Bossart <email address hidden>
Reviewed-by: Bard Liao <email address hidden>
Reviewed-by: Guennadi Liakhovetski <email address hidden>
Signed-off-by: Kai Vehmanen <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Mark Brown <email address hidden>
(backported from commit f93808308aab34071259fa8cffbda273bc346ea7)
Signed-off-by: Hui Wang <email address hidden>
ASoC: topology: set component dai_index to ipc dai config dai_index
The ipc dai config dai_index is from topology. However, the same dai
config will be applied to all DAIs in the same dai link. We have to
ensure that the ipc dai config's dai_index match to the component's
dai_index.
Signed-off-by: Bard Liao <email address hidden>
Signed-off-by: Ranjani Sridharan <email address hidden>
Reviewed-by: Guennadi Liakhovetski <email address hidden>
Reviewed-by: Kai Vehmanen <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Mark Brown <email address hidden>
(cherry picked from commit 744a3bb3b4b6c4073ae9381a02c9824b29dd1a05)
Signed-off-by: Hui Wang <email address hidden>