Skip to content

arm64: dts: qcom: msm8939-longcheer-l9100: Add sound #295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: wip/msm8916/6.15-rc3
Choose a base branch
from

Conversation

a-andre
Copy link

@a-andre a-andre commented Mar 4, 2023

No description provided.

@a-andre
Copy link
Author

a-andre commented Mar 4, 2023

The integrated microphone doesn't show up. Headset detection seems to work.
But sound doesn't work, yet. Probably because of a missing UCM config.

@stephan-gh stephan-gh changed the base branch from msm8916/6.2-rc5 to msm8916/6.3-rc7 April 22, 2023 15:07
@a-andre a-andre force-pushed the bqm5_sound branch 2 times, most recently from fd30dcc to 47f7bfa Compare April 27, 2023 17:40
@a-andre a-andre changed the base branch from msm8916/6.3-rc7 to msm8916/6.6-rc3 October 2, 2023 20:09
@stephan-gh stephan-gh changed the base branch from msm8916/6.6-rc3 to msm8916/6.6-rc4 October 7, 2023 13:59
@a-andre a-andre force-pushed the bqm5_sound branch 2 times, most recently from a4c1316 to ba70c06 Compare January 6, 2024 18:02
@stephan-gh stephan-gh changed the base branch from msm8916/6.6-rc4 to msm8916/6.7-rc4 January 6, 2024 18:15
@stephan-gh stephan-gh changed the base branch from msm8916/6.7-rc4 to msm8916/wip/msm8916/6.7-rc8 January 6, 2024 18:16
@a-andre a-andre changed the base branch from msm8916/wip/msm8916/6.7-rc8 to wip/msm8916/6.10-rc5 June 28, 2024 21:14
@a-andre a-andre changed the base branch from wip/msm8916/6.10-rc5 to wip/msm8916/6.14-rc7 April 16, 2025 20:16
@a-andre a-andre force-pushed the bqm5_sound branch 3 times, most recently from a863e9a to a9d5530 Compare April 18, 2025 20:32
@a-andre a-andre changed the base branch from wip/msm8916/6.14-rc7 to wip/msm8916/6.15-rc2 April 20, 2025 19:28
@a-andre a-andre force-pushed the bqm5_sound branch 2 times, most recently from 9d2580e to 8560edc Compare April 21, 2025 17:24
@a-andre a-andre changed the base branch from wip/msm8916/6.15-rc2 to wip/msm8916/6.15-rc3 April 21, 2025 17:28
Add tristate prompt to allow codec selection.

Reviewed-by: Charles Keepax <[email protected]>
Signed-off-by: André Apitzsch <[email protected]>
CONFIG_MFD_ARIZONA_I2C=m
CONFIG_MFD_WM8998=y
CONFIG_REGULATOR_ARIZONA_LDO1=m
CONFIG_REGULATOR_ARIZONA_MICSUPP=m
CONFIG_SND_SOC_WM8998=m

Signed-off-by: André Apitzsch <[email protected]>
@a-andre a-andre force-pushed the bqm5_sound branch 2 times, most recently from 4186ea4 to bc71a79 Compare April 27, 2025 12:16
@a-andre
Copy link
Author

a-andre commented May 1, 2025

Based on mixer_paths_skuk.txt I assume the following commands should be used to prepare the device

amixer -c 0 cset iface=MIXER,name='QUAT_MI2S_RX Audio Mixer MultiMedia1' 1
amixer -c 0 cset iface=MIXER,name='MultiMedia1 Mixer QUAT_MI2S_TX' 1
amixer -c 0 cset iface=MIXER,name='QUAT_MI2S_RX Voice Mixer CS-Voice' 1
amixer -c 0 cset iface=MIXER,name='CS-Voice Capture Mixer QUAT_MI2S_TX' 1

But aplay -Dplughw:0,0 -vv /usr/share/sounds/alsa/Front_*.wav fails and dmesg shows

q6asm-dai 4080000.remoteproc:smd-edge:apr:service@7:dais: q6asm_dai_prepare: stream reg failed ret:-22
q6asm-dai 4080000.remoteproc:smd-edge:apr:service@7:dais: ASoC error (-22): at snd_soc_pcm_component_prepare() on 4080000.remoteproc:smd-edge:apr:service@7:dais

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants