mbox series

[v3,0/8] MSM8953/MSM8976 ASoC support

Message ID 20240731-msm8953-msm8976-asoc-v3-0-163f23c3a28d@gmail.com
Headers show
Series MSM8953/MSM8976 ASoC support | expand

Message

Adam Skladowski July 31, 2024, 3:25 p.m. UTC
Introduce support for basic sound card setup on MSM8953/MSM8976
platforms, document new compatibles and introduce support for more dais.
Most of code is sourced from msm8953-mainline fork over github
with some changes implemented by me,some basic changes are 
mentioned in each patch.

Changes since v2
===============
1. Guarded ioremap on quinary mux with checking if resource is not NULL
2. Introduced compatible based reg overriding in wcd-analog driver
3. Separated PM8950/PM8953 codec patches
4. Moved reg/reg-names back into top-level and rewrote as in comments
5. Separated MSM8953/MSM8976 QDSP6 patches
6. Added Lineout patch

[1] - https://lore.kernel.org/lkml/20240723083300.35605-1-krzysztof.kozlowski@linaro.org/T/

Changes since v1
================
1. Rebased dt-bindings documentation based on Krzysztof's split patch[1]
2. Resolved clang errors by guarding ret verification inside if
3. Switched quin-iomux to devm_ioremap_resource to not fail on msm8916

Signed-off-by: Adam Skladowski <a39.skl@gmail.com>
---
Adam Skladowski (4):
      ASoC: dt-bindings: pm8916-wcd-analog-codec: Document pm8950/pm8953
      ASoC: msm8916-wcd-analog: add pm8950 codec
      ASoC: dt-bindings: apq8016-sbc: Add msm8953/msm8976-qdsp6-sndcard
      ASoC: qcom: apq8016_sbc: Add support for msm8976 SoC

Vladimir Lypak (4):
      ASoC: qcom: apq8016_sbc.c: Add Quinary support
      ASoC: msm8916-wcd-analog: add pm8953 codec
      ASoC: qcom: apq8016_sbc: Add support for msm8953 SoC
      ASoC: msm8916-wcd-analog: add lineout output

 .../bindings/sound/qcom,apq8016-sbc-sndcard.yaml   |  27 ++++
 .../sound/qcom,pm8916-wcd-analog-codec.yaml        |   6 +-
 sound/soc/codecs/msm8916-wcd-analog.c              | 145 ++++++++++++++++++++-
 sound/soc/qcom/apq8016_sbc.c                       |  88 ++++++++++++-
 4 files changed, 257 insertions(+), 9 deletions(-)
---
base-commit: 31c2a5c4bf3673b0bf098f358ea931b9ada1e7de
change-id: 20240729-msm8953-msm8976-asoc-65f973a13165

Best regards,

Comments

Dmitry Baryshkov Aug. 1, 2024, 8:20 a.m. UTC | #1
On Wed, Jul 31, 2024 at 05:25:25PM GMT, Adam Skladowski wrote:
> From: Vladimir Lypak <vladimir.lypak@gmail.com>
> 
> Add support for configuring Quinary Mi2S interface
> it will be used on MSM8953 and MSM8976 platform.
> 
> Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com>
> [Adam: Split from MSM8953 support patch,add msg]
> Signed-off-by: Adam Skladowski <a39.skl@gmail.com>
> ---
>  sound/soc/qcom/apq8016_sbc.c | 17 ++++++++++++++++-
>  1 file changed, 16 insertions(+), 1 deletion(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Dmitry Baryshkov Aug. 1, 2024, 8:22 a.m. UTC | #2
On Wed, Jul 31, 2024 at 05:25:28PM GMT, Adam Skladowski wrote:
> From: Vladimir Lypak <vladimir.lypak@gmail.com>
> 
> Add regs overrides for PM8953 codec.
> 
> Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com>
> [Adam: rename codec]
> Signed-off-by: Adam Skladowski <a39.skl@gmail.com>
> ---
>  sound/soc/codecs/msm8916-wcd-analog.c | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>