mbox series

[SRU,OEM-5.10,0/6] alsa/sdw: support soundwire audio for TGL-H machines

Message ID 20210115020421.6534-1-hui.wang@canonical.com
Headers show
Series alsa/sdw: support soundwire audio for TGL-H machines | expand

Message

Hui Wang Jan. 15, 2021, 2:04 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1911830

The patchset are not upstreamed yet, their target upstream version
is 5.12, so here I just backported the patchset to oem-5.10 kernel,
after those patches are merged to upstream kernel, I will start to
backport them to 5.10 generic kernel.

[Impact]
In the OEM project, we have a new TGL-H soundwire machine, with
the current oem-5.10 kernel, the audio can't work.

[Fix]
Backport 6 patches from Intel thesofproject kernel.

[Test]
Put the testing sof-tgl-h.ri in the /lib/firmware/intel/sof,
boot the patched kernel, we could see speakers and microphone
from gnome-setting, and they all work well.


[Where problems could occur]
The patches changed soundwire machine driver, it is possible
to make the audio on old soundwire machines not work anymore.
But we tested the patches on TGL-U and cml soundwire machines,
all worked well.



Bard Liao (2):
  UBUNTU: SAUCE: ALSA: hda: intel-dsp-config: add PCI id for TGL-H
  UBUNTU: SAUCE: fixup! ALSA: hda: intel-dsp-config: add PCI id for
    TGL-H

Hui Wang (1):
  UBUNTU: SAUCE: ASoC: Intel: sof_sdw: set SOF_SDW_FOUR_SPK to Dell
    TGL-H SKU 0A5E

Libin Yang (3):
  UBUNTU: SAUCE: ASoC: SOF: allow soundwire use
    desc->default_fw_filename
  UBUNTU: SAUCE: ASoC: Intel: tgl: remove sof_fw_filename set for
    tgl_3_in_1_default
  UBUNTU: SAUCE: ASoC: Intel: sof_sdw: set proper flags for Dell TGL-H
    SKU 0A5E

 sound/hda/intel-dsp-config.c                      |  4 ++++
 sound/soc/intel/boards/sof_sdw.c                  | 10 ++++++++++
 sound/soc/intel/common/soc-acpi-intel-tgl-match.c |  7 -------
 sound/soc/sof/intel/hda.c                         |  5 ++++-
 4 files changed, 18 insertions(+), 8 deletions(-)

Comments

Timo Aaltonen Jan. 21, 2021, 10:48 a.m. UTC | #1
On 15.1.2021 4.04, Hui Wang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1911830
> 
> The patchset are not upstreamed yet, their target upstream version
> is 5.12, so here I just backported the patchset to oem-5.10 kernel,
> after those patches are merged to upstream kernel, I will start to
> backport them to 5.10 generic kernel.
> 
> [Impact]
> In the OEM project, we have a new TGL-H soundwire machine, with
> the current oem-5.10 kernel, the audio can't work.
> 
> [Fix]
> Backport 6 patches from Intel thesofproject kernel.
> 
> [Test]
> Put the testing sof-tgl-h.ri in the /lib/firmware/intel/sof,
> boot the patched kernel, we could see speakers and microphone
> from gnome-setting, and they all work well.
> 
> 
> [Where problems could occur]
> The patches changed soundwire machine driver, it is possible
> to make the audio on old soundwire machines not work anymore.
> But we tested the patches on TGL-U and cml soundwire machines,
> all worked well.
> 
> 
> 
> Bard Liao (2):
>    UBUNTU: SAUCE: ALSA: hda: intel-dsp-config: add PCI id for TGL-H
>    UBUNTU: SAUCE: fixup! ALSA: hda: intel-dsp-config: add PCI id for
>      TGL-H
> 
> Hui Wang (1):
>    UBUNTU: SAUCE: ASoC: Intel: sof_sdw: set SOF_SDW_FOUR_SPK to Dell
>      TGL-H SKU 0A5E
> 
> Libin Yang (3):
>    UBUNTU: SAUCE: ASoC: SOF: allow soundwire use
>      desc->default_fw_filename
>    UBUNTU: SAUCE: ASoC: Intel: tgl: remove sof_fw_filename set for
>      tgl_3_in_1_default
>    UBUNTU: SAUCE: ASoC: Intel: sof_sdw: set proper flags for Dell TGL-H
>      SKU 0A5E
> 
>   sound/hda/intel-dsp-config.c                      |  4 ++++
>   sound/soc/intel/boards/sof_sdw.c                  | 10 ++++++++++
>   sound/soc/intel/common/soc-acpi-intel-tgl-match.c |  7 -------
>   sound/soc/sof/intel/hda.c                         |  5 ++++-
>   4 files changed, 18 insertions(+), 8 deletions(-)
> 

applied to oem-5.10, thanks