Re: [PATCH v1 2/3] ASoC: qcom: lpass-rx-macro: Add shikra compatible

From: Konrad Dybcio

Date: Tue Jun 09 2026 - 05:19:10 EST


On 6/8/26 7:20 PM, Mohammad Rafi Shaik wrote:
> Add shikra RX macro compatible data and hook it into the existing
> LPASS codec v4.0 flow.
>
> Map codec v4.0 to the 2.5+ RX register handling paths, and enable the
> FS counter bypass bit during MCLK enable when the platform requests
> LPASS_MACRO_FLAG_BYPASS_FS_CONTROL.
>
> Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@xxxxxxxxxxxxxxxx>
> ---

[...]

> @@ -2043,6 +2045,11 @@ static void rx_macro_mclk_enable(struct rx_macro *rx, bool mclk_enable)
> CDC_RX_CLK_MCLK2_ENABLE);
> regmap_update_bits(regmap, CDC_RX_CLK_RST_CTRL_FS_CNT_CONTROL,
> CDC_RX_FS_MCLK_CNT_CLR_MASK, 0x00);
> +
> + if (rx->bypass_fs_control)
> + regmap_update_bits(regmap,
> + CDC_RX_CLK_RST_CTRL_FS_CNT_CONTROL,
> + 0x80, 0x80);

regmap_set_bits()

Konrad