APPLIED [OEM-5.10] Re: [PATCH 0/4][SRU][OEM-5.10/U] Cirrus CS8409 HDA bridge/CS42L42 codec support

Timo Aaltonen tjaalton at ubuntu.com
Thu Mar 18 18:37:16 UTC 2021


On 8.3.2021 9.25, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1916554
> 
> [Impact]
> 
> No driver for Cirrus CS8409 HDA bridge/CS42L42 codec, no
> playback/capture device available.
> 
> [Fix]
> 
> Patchset
> https://lore.kernel.org/alsa-devel/20210306111934.4832-1-vitalyr@opensource.cirrus.com/
> currently in
> https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git branch
> for-next.
> 
> [Test Case]
> 
> On platform with Cirrus CS8409 HDA bridge:
> 
>    /sys/class/sound/card0/device/$ cat hdaudioC0D0/vendor_*
>    0x10138409
>    Cirrus Logic
>    /sys/class/sound/card0/device/$ cat hdaudioC0D0/chip_name
>    Generic
> 
> Its chip_name should be updated with correct model name and sound system
> should be working:
> 
>    /sys/class/sound/card0/device/$ cat hdaudioC0D0/chip_name
>    CS8409/CS42L42
> 
> APLAY and ARECORD should also list new audio devices:
> 
>    **** List of PLAYBACK Hardware Devices ****
>    card 0: PCH [HDA Intel PCH], device 0: CS8409/CS42L42 Analog [CS8409/CS42L42 Analog]
>      Subdevices: 1/1
>      Subdevice #0: subdevice #0
> 
>    **** List of CAPTURE Hardware Devices ****
>    card 0: PCH [HDA Intel PCH], device 0: CS8409/CS42L42 Analog
>    [CS8409/CS42L42 Analog]
>      Subdevices: 1/1
>      Subdevice #0: subdevice #0
> 
> [Where problems could occur]
> 
> New device driver landing, may bring in new issues bound to new
> driver/device configuration such as suspend/resume issues.
> 
> Stefan Binding (1):
>    ALSA: hda/cirrus: Add Headphone and Headset MIC Volume Control
> 
> Vitaly Rodionov (3):
>    ALSA: hda/cirrus: Increase AUTO_CFG_MAX_INS from 8 to 18
>    ALSA: hda/cirrus: Add support for CS8409 HDA bridge and CS42L42
>      companion codec.
>    ALSA: hda/cirrus: Add jack detect interrupt support from CS42L42
>      companion codec.
> 
>   sound/pci/hda/hda_auto_parser.h |    2 +-
>   sound/pci/hda/hda_local.h       |    2 +-
>   sound/pci/hda/patch_cirrus.c    | 1081 +++++++++++++++++++++++++++++++
>   3 files changed, 1083 insertions(+), 2 deletions(-)
> 

applied to oem-5.10, thanks

-- 
t



More information about the kernel-team mailing list