From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Banajit Goswami <bgoswami@quicinc.com>
Cc: neil.armstrong@linaro.org, linux-arm-msm@vger.kernel.org,
krzysztof.kozlowski@linaro.org, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: [PATCH v4 0/3] ASoC: codecs: lpass: add support for v2.5 rx macro
Date: Thu, 13 Jun 2024 11:49:30 +0100 [thread overview]
Message-ID: <20240612-lpass-codec-v25-v4-0-f63d3676dbc4@linaro.org> (raw)
This patchset adds support to reading codec version and also adds
support for v2.5 codec version in rx macro.
LPASS 2.5 and up versions have changes in some of the rx blocks which
are required to get headset functional correctly.
Tested this on SM8450, X13s and x1e80100 crd.
This changes also fixes issue with sm8450, sm8550, sm8660 and x1e80100.
@Neil Armstrong can you pl test it on sm8650
@Krzysztof Kozlowski can you pl test it on sm8550
Thanks,
Srini
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
Changes in v3:
- moved dev_info to dev_dbg to print codec version.
- added explicit cases for codec version checks instead of using
range
- changed err handling.
- Link to v1: https://lore.kernel.org/r/20240612-lpass-codec-v25-v1-0-9f40611a1370@linaro.org
---
Srinivas Kandagatla (3):
ASoC: codecs: lpass-macro: add helpers to get codec version
ASoC: codec: lpass-rx-macro: prepare driver to accomdate new codec versions
ASoC: codec: lpass-rx-macro: add support for 2.5 codec version
sound/soc/codecs/lpass-macro-common.c | 23 ++
sound/soc/codecs/lpass-macro-common.h | 35 ++
sound/soc/codecs/lpass-rx-macro.c | 595 +++++++++++++++++++++++++---------
sound/soc/codecs/lpass-va-macro.c | 28 ++
4 files changed, 528 insertions(+), 153 deletions(-)
---
base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
change-id: 20240612-lpass-codec-v25-4e960abd661f
Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
next reply other threads:[~2024-06-13 10:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-13 10:49 Srinivas Kandagatla [this message]
2024-06-13 10:49 ` [PATCH v4 1/3] ASoC: codecs: lpass-macro: add helpers to get codec version Srinivas Kandagatla
2024-06-13 10:49 ` [PATCH v4 2/3] ASoC: codec: lpass-rx-macro: prepare driver to accomdate new codec versions Srinivas Kandagatla
2024-06-13 10:49 ` [PATCH v4 3/3] ASoC: codec: lpass-rx-macro: add support for 2.5 codec version Srinivas Kandagatla
2024-06-13 11:00 ` Krzysztof Kozlowski
2024-06-13 11:04 ` Srinivas Kandagatla
2024-06-14 10:39 ` Krzysztof Kozlowski
2024-06-15 20:16 ` [PATCH v4 0/3] ASoC: codecs: lpass: add support for v2.5 rx macro Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240612-lpass-codec-v25-v4-0-f63d3676dbc4@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=alsa-devel@alsa-project.org \
--cc=bgoswami@quicinc.com \
--cc=broonie@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®