~vicamo/+git/ubuntu-kernel:bug-1894184/tgl-soundwire-support/oem-5.6

Last commit made on 2020-10-06
Get this branch:
git clone -b bug-1894184/tgl-soundwire-support/oem-5.6 https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-1894184/tgl-soundwire-support/oem-5.6
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

cd88d84... by You-Sheng Yang

Bug 1894184: TGL SoundWire Support

3fd5551... by Kai-Chuan Hsieh

ASoC: Intel: Correct codec name prefix to ACPI machine description

e359815... by Bard Liao <email address hidden>

ASoC: intel: sof_sdw_rt711: remove hard-coded codec name

We can get codec name from dai link.

Suggested-by: Rander Wang <email address hidden>
Signed-off-by: Bard Liao <email address hidden>

df77b59... by Hui Wang

UBUNTU: SAUCE: add a tgl sdw machine to the sdw support tbl

Signed-off-by: Hui Wang <email address hidden>

0548ea5... by Bard Liao <email address hidden>

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>

ASoC: Intel: sof_sdw: remove hard-coded codec_conf table

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>

ae336dc... by Bard Liao <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>

f02f29f... by Bard Liao <email address hidden>

ASoC: SOF: topology: send ipc for all found DAIs in sof_set_dai_config

We may find more than one DAIs in sof_set_dai_config() and we should
send message to DSP for each DAI we found.

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 726e6142b5c99b407a8118330598f82ba63617c3)
Signed-off-by: Hui Wang <email address hidden>