~vicamo/+git/ubuntu-kernel:bug-1939541/cirrus-dolphin/unstable

Last commit made on 2021-08-19
Get this branch:
git clone -b bug-1939541/cirrus-dolphin/unstable 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-1939541/cirrus-dolphin/unstable
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

b3d74de... by You-Sheng Yang

UBUNTU: [Config] Enable Cirrus Logic HDA bridge support

BugLink: https://bugs.launchpad.net/bugs/1939541

Signed-off-by: You-Sheng Yang <email address hidden>

e1d6753... by Stefan Binding <email address hidden>

ALSA: hda/cs8409: Prevent pops and clicks during reboot

BugLink: https://bugs.launchpad.net/bugs/1939541

During reboot, when the CS42L42 powers down, pops and clicks
may occur due to the codec not being shutdown gracefully.
This can be fixed by going through the suspend sequence,
which shuts down the codec cleanly inside the reboot_notify
hook, which is called on reboot.

Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>

630ff57... by Stefan Binding <email address hidden>

ALSA: hda/cs8409: Prevent pops and clicks during suspend

BugLink: https://bugs.launchpad.net/bugs/1939541

Some of the register values set for type detection cause pops during suspend,
ensure these are cleaned up after type detection completes, as well
ensuring that these are cleared when we suspend.

Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>

4a8eef6... by Stefan Binding <email address hidden>

ALSA: hda/cs8409: Unmute/Mute codec when stream starts/stops

BugLink: https://bugs.launchpad.net/bugs/1939541

Codec is muted on init, and then unmuted when the stream starts.

Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>

4dccf69... by Stefan Binding <email address hidden>

ALSA: hda/cs8409: Follow correct CS42L42 power down sequence for suspend

BugLink: https://bugs.launchpad.net/bugs/1939541

Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>

7c572e6... by Stefan Binding <email address hidden>

ALSA: hda/cs8409: Remove unnecessary delays

BugLink: https://bugs.launchpad.net/bugs/1939541

Since delays when starting jack detection after initialization
have been reduced/removed, it is necessary to add back in an extra
20ms delay after the init sequence to allow the CS42L42 to power up
correctly.

Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>

b569d01... by Stefan Binding <email address hidden>

ALSA: hda/cs8409: Use timeout rather than retries for I2C transaction waits

BugLink: https://bugs.launchpad.net/bugs/1939541

Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>

96f40c8... by Stefan Binding <email address hidden>

ALSA: hda/cs8409: Set fixed sample rate of 48kHz for CS42L42

BugLink: https://bugs.launchpad.net/bugs/1939541

CS42L42 is configured to use a fixed sample rate of 48kHz.

Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>

543ceb1... by Stefan Binding <email address hidden>

ALSA: hda/cs8409: Enable Full Scale Volume for Line Out Codec on Dolphin

BugLink: https://bugs.launchpad.net/bugs/1939541

Headphones codec will keep reduced maximum volume.
Line Out codec will have increased maximum volume.

Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>

4e99d14... by Lucas Tanure <email address hidden>

ALSA: hda/cs8409: Add support for dolphin

BugLink: https://bugs.launchpad.net/bugs/1939541

Dolphin devices have CS8409 HDA Bridge connected to two CS42L42 codecs.
Codec 1 supports Headphone and Headset Mic.
Codec 2 supports Line Out.

Features:
 - Front and Read Jacks appear as separate jacks; Removal or connection
   of on jack should not affect the connection of the other.
 - Front Jack only shows up on jack detection.
 - Rear Jack is Phantom Jack.
 - Separate Volume Controls for each Jack

Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Lucas Tanure <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>