mbox series

[SRU,OEM-5.6,00/15] alsa: add Dell tgl soundwire machines support

Message ID 20201016012237.16530-1-hui.wang@canonical.com
Headers show
Series alsa: add Dell tgl soundwire machines support | expand

Message

Hui Wang Oct. 16, 2020, 1:22 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1900069

This fix is only for oem-5.6 kernel, the groovy 5.8 kernel doesn't
support soundwire audio at all, Intel said the linux-5.10 kernel
will have a good support for soundwire audio, so this SRU is
meaningless for groovy 5.8 kernel.


[Impact]
We enabled a new Dell TGL machine, the audio on this machine doesn't
work, the codec on this machine is soundwire bus connnected.

[Fix]
With Intel's help, we need to backport some patches from upstream
kernel and linux-next kernel.

[Test Case]
Boot the kernel, check with dmesg and aplay -l/arecord -l, the audio
card registered and speaker, headphone, mic and internal mic all
registered and worked.


[Regression Risk]
This could make the Dell cml soundwire audio fail to work or make
some sof dmic machines fail to work, but this possibility is very low,
we have tested this patchset on Dell cml soundwire audio machines and
some hp and lenovo dmic machines.


Bard Liao (4):
  ASoC: SOF: topology: send ipc for all found DAIs in sof_set_dai_config
  ASoC: topology: set component dai_index to ipc dai config dai_index
  ASoC: Intel: add support for new SoundWire hardware layout on TGL
  ASoC: Intel: sof_sdw_rt711: remove hard-coded codec name

Naveen Manohar (1):
  ASoC: Intel: common: add match table for TGL MAX98373 + RT5682
    SoundWire driver

Pierre-Louis Bossart (10):
  ALSA: hda: add autodetection for SoundWire
  ASoC: Intel: soc-acpi: mirror CML and TGL configurations
  ASoC: Intel: add codec name prefix to ACPI machine description
  ASoC: Intel: sof_sdw: remove hard-coded codec_conf table
  ASoC: Intel: sof_sdw_rt700: add codec prefix
  ASoC/soundwire: bus: use property to set interrupt masks
  soundwire: bus: filter-out unwanted interrupt reports
  soundwire: slave: add first_interrupt_done status
  soundwire: bus: use quirk to filter out invalid parity errors
  ASoC: codecs: realtek-soundwire: ignore initial PARITY errors

 drivers/soundwire/bus.c                       |  37 +++-
 drivers/soundwire/slave.c                     |   1 +
 include/linux/soundwire/sdw.h                 |   9 +
 include/sound/soc-acpi.h                      |   2 +
 sound/hda/intel-dsp-config.c                  |  65 ++++--
 sound/soc/codecs/rt1308-sdw.c                 |   3 +
 sound/soc/codecs/rt700-sdw.c                  |   5 +
 sound/soc/codecs/rt711-sdw.c                  |   5 +
 sound/soc/codecs/rt715-sdw.c                  |   5 +
 sound/soc/codecs/wsa881x.c                    |   1 +
 sound/soc/intel/boards/sof_sdw.c              | 128 +++++++-----
 sound/soc/intel/boards/sof_sdw_rt700.c        |   6 +-
 sound/soc/intel/boards/sof_sdw_rt711.c        |   2 +-
 .../intel/common/soc-acpi-intel-cml-match.c   |  13 +-
 .../intel/common/soc-acpi-intel-icl-match.c   |   7 +
 .../intel/common/soc-acpi-intel-tgl-match.c   | 188 +++++++++++++++++-
 sound/soc/sof/topology.c                      |  87 +++-----
 17 files changed, 420 insertions(+), 144 deletions(-)

Comments

Timo Aaltonen Oct. 16, 2020, 9:39 a.m. UTC | #1
On 16.10.2020 4.22, Hui Wang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1900069
> 
> This fix is only for oem-5.6 kernel, the groovy 5.8 kernel doesn't
> support soundwire audio at all, Intel said the linux-5.10 kernel
> will have a good support for soundwire audio, so this SRU is
> meaningless for groovy 5.8 kernel.
> 
> 
> [Impact]
> We enabled a new Dell TGL machine, the audio on this machine doesn't
> work, the codec on this machine is soundwire bus connnected.
> 
> [Fix]
> With Intel's help, we need to backport some patches from upstream
> kernel and linux-next kernel.
> 
> [Test Case]
> Boot the kernel, check with dmesg and aplay -l/arecord -l, the audio
> card registered and speaker, headphone, mic and internal mic all
> registered and worked.
> 
> 
> [Regression Risk]
> This could make the Dell cml soundwire audio fail to work or make
> some sof dmic machines fail to work, but this possibility is very low,
> we have tested this patchset on Dell cml soundwire audio machines and
> some hp and lenovo dmic machines.
> 
> 
> Bard Liao (4):
>    ASoC: SOF: topology: send ipc for all found DAIs in sof_set_dai_config
>    ASoC: topology: set component dai_index to ipc dai config dai_index
>    ASoC: Intel: add support for new SoundWire hardware layout on TGL
>    ASoC: Intel: sof_sdw_rt711: remove hard-coded codec name
> 
> Naveen Manohar (1):
>    ASoC: Intel: common: add match table for TGL MAX98373 + RT5682
>      SoundWire driver
> 
> Pierre-Louis Bossart (10):
>    ALSA: hda: add autodetection for SoundWire
>    ASoC: Intel: soc-acpi: mirror CML and TGL configurations
>    ASoC: Intel: add codec name prefix to ACPI machine description
>    ASoC: Intel: sof_sdw: remove hard-coded codec_conf table
>    ASoC: Intel: sof_sdw_rt700: add codec prefix
>    ASoC/soundwire: bus: use property to set interrupt masks
>    soundwire: bus: filter-out unwanted interrupt reports
>    soundwire: slave: add first_interrupt_done status
>    soundwire: bus: use quirk to filter out invalid parity errors
>    ASoC: codecs: realtek-soundwire: ignore initial PARITY errors
> 
>   drivers/soundwire/bus.c                       |  37 +++-
>   drivers/soundwire/slave.c                     |   1 +
>   include/linux/soundwire/sdw.h                 |   9 +
>   include/sound/soc-acpi.h                      |   2 +
>   sound/hda/intel-dsp-config.c                  |  65 ++++--
>   sound/soc/codecs/rt1308-sdw.c                 |   3 +
>   sound/soc/codecs/rt700-sdw.c                  |   5 +
>   sound/soc/codecs/rt711-sdw.c                  |   5 +
>   sound/soc/codecs/rt715-sdw.c                  |   5 +
>   sound/soc/codecs/wsa881x.c                    |   1 +
>   sound/soc/intel/boards/sof_sdw.c              | 128 +++++++-----
>   sound/soc/intel/boards/sof_sdw_rt700.c        |   6 +-
>   sound/soc/intel/boards/sof_sdw_rt711.c        |   2 +-
>   .../intel/common/soc-acpi-intel-cml-match.c   |  13 +-
>   .../intel/common/soc-acpi-intel-icl-match.c   |   7 +
>   .../intel/common/soc-acpi-intel-tgl-match.c   | 188 +++++++++++++++++-
>   sound/soc/sof/topology.c                      |  87 +++-----
>   17 files changed, 420 insertions(+), 144 deletions(-)
> 

though it's a fairly big set at this point but also well tested so..
applied to oem-5.6, thanks