Re: [PATCH v8 0/3] ASoC: qcom: qdsp6: Add MI2S clock control

Ajay Kumar Nandam <[email protected]>
Newsgroups org.kernel.vger.linux-sound,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>

On 7/27/2026 8:42 PM, Mohammad Rafi Shaik wrote:
> Add support for MI2S clock control within q6apm-lpass DAIs, including
> handling of MCLK, BCLK via the DAI .set_sysclk callback. Each MI2S port
> now retrieves its clock handles from the device tree, allowing per-port
> clock configuration and proper enable/disable during startup and shutdown.
> 
> On platforms such as Monaco and Lemans, third-party codecs are
> hardware-wired to the SoC and do not always have an in-tree codec
> driver to manage their clocks. For these designs, clock line
> enablement must be driven from the platform side, and this
> series provides the necessary support for that.
> 
> On QAIF-based platforms such as Shikra and Hawi, responsibility
> for voting I2S MCLK and bit-clock has moved from the DSP to the
> kernel. This series introduces the required device tree binding
> support to represent and vote for these clocks from the kernel.
> 
> Enhances the sc8280xp machine driver to set the boards spacific
> configurations.
> 
> ---
> Changes in v8:
> - Fixed indentation, reported by Krzysztof.
> - Resolved all sashiko comments.
> - Link to v7: https://lore.kernel.org/all/[email protected]/
> 
> Changes in v7:
> - Addressed review comments, reported by Krzysztof.
> - Drop ECLK handling, which is not required.
> - Link to v6: https://lore.kernel.org/all/[email protected]/
> 
> Changes in v6:
> - Addressed review comments, reported by Krzysztof.
> - Resolved all sashiko comments.
> - Link to v5: https://lore.kernel.org/all/[email protected]/
> 
> Changes in v5:
> - Addressed review comments, reported by Krzysztof.
> - Resolved all sashiko comments.
> - Link to v4: https://lore.kernel.org/all/[email protected]/
> 
> Changes in v4:
> - Addressed review comments from Mark Brown.
> - Resolved all sashiko comments.
> - Link to v3: https://lore.kernel.org/all/[email protected]/
> 
> Changes in v3:
> - Addressed all review comments from Mark Brown.
> - Fixed OF node reference handling, clock configuration, and sample-rate
>    handling issues as suggested by Mark Brown.
> - Added proper error checking for DAI configuration APIs as suggested by Mark Brown.
> - Added SENARY DAI support alongside MI2S DAIs as suggested by Val Packett.
> - Link to v2: https://lore.kernel.org/all/[email protected]/
> 
> Changes in v2:
> - Added a detailed commit description to clearly explain the need for this change.
> - Improved the machine driver based on Neil’s feedback.
> - Link to v1: https://lore.kernel.org/all/[email protected]/
> ---
> Mohammad Rafi Shaik (3):
>    ASoC: dt-bindings: qcom,q6apm-lpass-dais: Document DAI subnode
>    ASoC: qcom: q6apm-lpass-dais: Add MI2S clock control
>    ASoC: qcom: sc8280xp: enhance machine driver for board-specific config
> 
>   .../bindings/sound/qcom,q6apm-lpass-dais.yaml |  50 ++++
>   sound/soc/qcom/qdsp6/q6apm-lpass-dais.c       | 181 ++++++++++++-
>   sound/soc/qcom/qdsp6/q6prm.h                  |   3 +
>   sound/soc/qcom/sc8280xp.c                     | 240 ++++++++++++++++--
>   4 files changed, 452 insertions(+), 22 deletions(-)
> 
> 
> base-commit: c5e32e86ca02b003f86e095d379b38148999293d

Tested-by: Ajay Kumar Nandam <[email protected]> #SHIKRA-IQS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.