[SRU]alsa: add Dell tgl soundwire machines support

Bug #1900069 reported by Hui Wang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Undecided
Unassigned
linux-oem-5.6 (Ubuntu)
High
Hui Wang
Focal
High
Hui Wang

Bug Description

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.

Hui Wang (hui.wang)
Changed in linux-oem-5.6 (Ubuntu Focal):
importance: Undecided → High
Changed in linux-oem-5.6 (Ubuntu):
importance: Undecided → High
Changed in linux-oem-5.6 (Ubuntu Focal):
assignee: nobody → Hui Wang (hui.wang)
status: New → In Progress
Changed in linux-oem-5.6 (Ubuntu):
status: New → In Progress
tags: added: oem-priority originate-from-1894184 somerville
Hui Wang (hui.wang)
summary: - alsa: add tgl soundwire machines support
+ alsa: add Dell tgl soundwire machines support
Hui Wang (hui.wang)
description: updated
Hui Wang (hui.wang)
summary: - alsa: add Dell tgl soundwire machines support
+ [SRU]alsa: add Dell tgl soundwire machines support
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.6 (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote :

Have verified the kernel CID: 202002-27723 and CID: 202008-28205

They are soundwire supported devices.
The audio works fine on both machine with kernel 5.6.0-1032-oem.

Hui Wang (hui.wang)
tags: added: verification-done-focal
removed: verification-needed-focal
Hui Wang (hui.wang)
Changed in linux-oem-5.6 (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-5.6 - 5.6.0-1032.33

---------------
linux-oem-5.6 (5.6.0-1032.33) focal; urgency=medium

  * focal/linux-oem-5.6: 5.6.0-1032.33 -proposed tracker (LP: #1899926)

  * CVE-2020-12351 // CVE-2020-12352 // CVE-2020-24490
    - Bluetooth: Disable High Speed by default
    - Bluetooth: MGMT: Fix not checking if BT_HS is enabled
    - [Config] Disable BlueZ highspeed support

  * CVE-2020-12351
    - Bluetooth: L2CAP: Fix calling sk_filter on non-socket based channel

  * CVE-2020-12352
    - Bluetooth: A2MP: Fix not initializing all members

  * Lenovo ThinkBook 14-IML Touchpad not showing up in /proc/bus/input/devices
    (LP: #1853277)
    - i2c: core: Call i2c_acpi_install_space_handler() before
      i2c_acpi_register_devices()

  * [SRU]alsa: add Dell tgl soundwire machines support (LP: #1900069)
    - ALSA: hda: add autodetection for SoundWire
    - ASoC: Intel: common: add match table for TGL MAX98373 + RT5682 SoundWire
      driver
    - ASoC: Intel: soc-acpi: mirror CML and TGL configurations
    - 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 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: Intel: add support for new SoundWire hardware layout on TGL
    - ASoC: Intel: sof_sdw_rt711: remove hard-coded codec name
    - 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

  * Fix system reboot when disconnecting WiFi (LP: #1899726)
    - iwlwifi: msix: limit max RX queues for 9000 family

  * Improve descriptions for XFAIL cases in kselftests/net/psock_snd
    (LP: #1900088)
    - selftests/net: improve descriptions for XFAIL cases in psock_snd.sh

  * Fix broken MSI interrupt after HDA controller was suspended (LP: #1899586)
    - ALSA: hda: Skip controller resume if not needed
    - ALSA: hda: Always use jackpoll helper for jack update after resume
    - SAUCE: ALSA: hda: fix jack detection with Realtek codecs when in D3
    - ALSA: hda - let hs_mic be picked ahead of hp_mic

  * Enable brightness control on HP DreamColor panel (LP: #1898865)
    - drm/i915/dpcd_bl: Unbreak enable_dpcd_backlight modparam
    - SAUCE: drm/i915/dpcd_bl: Skip testing control capability with force DPCD
      quirk
    - SAUCE: drm/dp: HP DreamColor panel brigntness fix

  * alsa/hda/realtek - The front Mic on a HP machine doesn't work (LP: #1899508)
    - SAUCE: ALSA: hda/realtek - The front Mic on a HP machine doesn't work

 -- Timo Aaltonen <email address hidden> Fri, 16 Oct 2020 14:40:28 +0300

Changed in linux-oem-5.6 (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers