From: Ravi Hothi <ravi.hothi@oss.qualcomm.com>
To: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>,
Srinivas Kandagatla <srini@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>,
Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com>,
Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>,
Sarath Ganapathiraju <sarath.ganapathiraju@oss.qualcomm.com>
Subject: Re: [PATCH v8 0/9] ASoC: qcom: Add shikra and Hawi LPASS macro support
Date: Tue, 1 Dec 2026 12:21:27 +0530 [thread overview]
Message-ID: <6dcce1bc-919b-40fc-aa1b-92b9eaac63bc@oss.qualcomm.com> (raw)
In-Reply-To: <20261201-add_shikra_support-v8-0-5e56d0ad3810@oss.qualcomm.com>
On 12/1/2026 3:03 AM, Mohammad Rafi Shaik wrote:
> This series adds audio support for two Qualcomm SoC platforms — Shikra
> and Hawi — by extending the LPASS codec macro drivers for version 4.0,
> and by adding SoundWire microphone capture support to the VA macro.
>
> Shikra (LPASS codec v4.0)
> --------------------------
> The first part of the series targets the Shikra platform, which
> integrates LPASS codec version 4.0. This is not backwards-compatible
> with previously described compatibles, so new DT bindings and
> standalone compatibles are introduced for the RX and VA macros.
>
> Driver changes include version detection enhancements (including a fix
> for the missing v2.9 version string in the common helper), FS counter
> bypass programming required before the codec is enabled, and a v4.0
> specific regmap configuration covering the additional adaptive filter
> (ADPT) blocks at 0x0800..0x09a4.
>
> SoundWire microphone support (VA macro)
> ----------------------------------------
> The VA decimators previously only supported DMIC inputs. A new patch
> extends them to accept SoundWire microphone (SMIC) sources as well,
> updating the ADC_DMIC_SEL mux programming to be resolved at decimator
> enable time rather than at mixer write time, ensuring correct operation
> regardless of the order in which userspace restores controls. DMIC-
> specific HPF programming is skipped when an SMIC source is active.
>
> Hawi (LPASS codec v4.0)
> ------------------------
> The final three patches, add support for the Hawi (and Maili) platform
> which is based on the Bolero LPASS codec v4.0.
>
> While v4.0 shares the same RX and VA macro register layout as the
> existing v2.5+ path and reuses those helpers, the TX macro is based on
> Bolero v4.0 — an extension of the v9.x TX macro that adds a port-select
> stage in the SWR microphone input path and an adaptive filter (ADPT)
> block. The ADPT block must be disabled before a decimator is enabled;
> this is gated on a new has_adpt flag in match data since the register
> does not exist on earlier versions.
>
> New DT bindings document the RX, TX and VA macro compatibles for Hawi,
> noting the clock differences: the RX macro uses the 'lpr' clock rather
> than 'macro', and the VA macro takes an additional 'heartbeatpulse'
> clock sourced from the LPASS VA CSR rate generator.
>
> Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
Thanks for the Patch.
Tested on shikra-cqm-evk board, Working as expected.
LGTM,
Reviewed-by: Ravi Hothi <ravi.hothi@oss.qualcomm.com>
Tested-by: Ravi Hothi <ravi.hothi@oss.qualcomm.com>
> ---
> Changes in v8:
> - Enable the VA macro heartbeat pulse and the RX/VA macro LPR clocks on Hawi.
> - Fixed the issues reported on Sashiko.
> - Link to v7: https://patch.msgid.link/20261123-add_shikra_support-v7-0-7bf3aa089fc6@oss.qualcomm.com
>
> Changes in v7:
> - Fixed the register mask to use the correct value, as reported by Mark.
> - Dropped v4.1, as Hawi and Shikra both use v4.0 with the required
> board-specific configurations.
> - Handle FS control and ADPT control through board-specific data while
> sharing the same v4.0 version.
> - Link to v6: https://patch.msgid.link/20261106-add_shikra_support-v6-0-2cda302237cc@oss.qualcomm.com
>
> Changes in v6:
> - Clarify the LPR vote naming and document why Hawi uses a standalone
> compatible instead of the SM8550 fallback.
> - Reorder the Maili/Hawi fallback before the SM8550 fallback.
> - Link to v5: https://lore.kernel.org/all/20261014-add_shikra_support_v5-v5-0-fb9f0667e613@oss.qualcomm.com/
>
> Changes in v5:
> - dt-bindings: rx-macro: drop the redundant clocks "minItems" from the
> shikra conditional, it is already set at the top level suggested by
> Krzysztof.
> - va-macro: shikra: do not hardcode the codec version in match data, read it
> back from the hardware and cross check it against the registerlayout
> selected by the compatible, reported by Ajay, Sashiko.
> - va-macro: SoundWire mic: do not let a write to the DMIC/SMIC mux that is not
> part of the active path reprogram the shared ADC_DMIC_SEL bit of a running
> capture, reported by Sashiko.
> - va-macro: SoundWire mic: clarify that only the HPF zero gate assertion is
> specific to the DMIC path, in both the commit message and the code as
> suggested by Ajay.
> - Add device tree bindings for Maili.
> - Prevent duplicate registration of TX DECn MUX controls as suggested by
> Mark.
> - Add v4.0-specific regmap_config and default register table.
> - Link to v4: https://lore.kernel.org/all/20260922-add_shikra_support-v1-0-6c6cb6444caf@oss.qualcomm.com/
>
> Changes in v4:
> - Added three new patches for Hawi / LPASS codec v4.0 support (DT bindings,
> TX macro Bolero v4.0, RX/VA macro v4.0)
> - Fixed all issues reported by Sashiko in v3.
> - Link to v3: https://lore.kernel.org/all/20260917-add_shikra_support-v3-0-fc0e79c341aa@oss.qualcomm.com/
>
> Changes in v3:
> - Added Shikra-specific clock constraints for RX and VA Macro DT bindings.
> - Restricted clock and clock-names properties to align with Shikra hardware requirements.
> - Removed dead code from patch 3 of v2, as suggested by Krzysztof.
> - Replaced open-coded checks with a flag-based conditional for LPASS
> codec v4.1 specific configurations.
> - Reused existing SoundWire microphone widgets, as suggested by Srinivas.
> - Switched the regmap cache type to REGCACHE_MAPLE.
> - Link to v2: https://patch.msgid.link/20260910-add_shikra_support-v2-0-fdd2129c696c@oss.qualcomm.com
>
> Changes in v2:
> - Updated FS CONTROL and ADPT only for version 4.1, as suggested by Krzysztof.
> - Addressed Konrad's review comments from v1 by replacing magic numbers and
> lower hex reg values where appropriate.
> - Link to v1: https://patch.msgid.link/20260608172023.2965292-1-mohammad.rafi.shaik@oss.qualcomm.com
>
> To: Srinivas Kandagatla <srini@kernel.org>
> To: Liam Girdwood <lgirdwood@gmail.com>
> To: Mark Brown <broonie@kernel.org>
> To: Rob Herring <robh@kernel.org>
> To: Krzysztof Kozlowski <krzk+dt@kernel.org>
> To: Conor Dooley <conor+dt@kernel.org>
> To: Jaroslav Kysela <perex@perex.cz>
> To: Takashi Iwai <tiwai@suse.com>
> To: Krzysztof Kozlowski <krzk@kernel.org>
> Cc: linux-sound@vger.kernel.org
> Cc: linux-arm-msm@vger.kernel.org
> Cc: devicetree@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
>
> ---
> Mohammad Rafi Shaik (5):
> ASoC: dt-bindings: qcom: Add Shikra RX and VA macro codecs
> ASoC: qcom: lpass-macro-common: Add missing v2.9 version string
> ASoC: qcom: lpass-rx-macro: Add shikra compatible
> ASoC: qcom: lpass-va-macro: Add shikra compatible
> ASoC: qcom: lpass-va-macro: Add SoundWire microphone support
>
> Prasad Kumpatla (4):
> ASoC: dt-bindings: qcom: Add Hawi LPASS macro codecs
> ASoC: dt-bindings: qcom: Add Maili LPASS macro codecs
> ASoC: qcom: lpass-tx-macro: Add support for Hawi
> ASoC: qcom: lpass: Add support for Hawi
>
> .../bindings/sound/qcom,lpass-rx-macro.yaml | 39 ++
> .../bindings/sound/qcom,lpass-tx-macro.yaml | 23 +
> .../bindings/sound/qcom,lpass-va-macro.yaml | 40 ++
> sound/soc/codecs/lpass-macro-common.h | 8 +
> sound/soc/codecs/lpass-rx-macro.c | 29 +
> sound/soc/codecs/lpass-tx-macro.c | 586 ++++++++++++++++++++-
> sound/soc/codecs/lpass-va-macro.c | 473 ++++++++++++++++-
> 7 files changed, 1165 insertions(+), 33 deletions(-)
> ---
> base-commit: 8cb402ec2c746f32b17e1aab14e900e7e45cb025
> change-id: 20261106-add_shikra_support-d4baa39f4442
>
> Best regards,
> --
> Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
>
>
prev parent reply other threads:[~2026-12-01 6:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 21:33 Mohammad Rafi Shaik
2026-11-30 21:33 ` [PATCH v8 1/9] ASoC: dt-bindings: qcom: Add Shikra RX and VA macro codecs Mohammad Rafi Shaik
2026-11-30 21:33 ` [PATCH v8 2/9] ASoC: qcom: lpass-macro-common: Add missing v2.9 version string Mohammad Rafi Shaik
2026-11-30 21:33 ` [PATCH v8 3/9] ASoC: qcom: lpass-rx-macro: Add shikra compatible Mohammad Rafi Shaik
2026-11-30 21:33 ` [PATCH v8 4/9] ASoC: qcom: lpass-va-macro: " Mohammad Rafi Shaik
2026-11-30 21:34 ` [PATCH v8 5/9] ASoC: qcom: lpass-va-macro: Add SoundWire microphone support Mohammad Rafi Shaik
2026-11-30 21:34 ` [PATCH v8 6/9] ASoC: dt-bindings: qcom: Add Hawi LPASS macro codecs Mohammad Rafi Shaik
2026-11-30 21:34 ` [PATCH v8 7/9] ASoC: dt-bindings: qcom: Add Maili " Mohammad Rafi Shaik
2026-11-30 21:34 ` [PATCH v8 8/9] ASoC: qcom: lpass-tx-macro: Add support for Hawi Mohammad Rafi Shaik
2026-11-30 21:34 ` [PATCH v8 9/9] ASoC: qcom: lpass: " Mohammad Rafi Shaik
2026-12-01 6:51 ` Ravi Hothi [this message]
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=6dcce1bc-919b-40fc-aa1b-92b9eaac63bc@oss.qualcomm.com \
--to=ravi.hothi@oss.qualcomm.com \
--cc=ajay.nandam@oss.qualcomm.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=mohammad.rafi.shaik@oss.qualcomm.com \
--cc=perex@perex.cz \
--cc=prasad.kumpatla@oss.qualcomm.com \
--cc=robh@kernel.org \
--cc=sarath.ganapathiraju@oss.qualcomm.com \
--cc=srini@kernel.org \
--cc=srinivas.kandagatla@oss.qualcomm.com \
--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®