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

From: Mohammad Rafi Shaik

Date: Mon Jun 29 2026 - 01:00:27 EST




On 6/9/2026 2:41 PM, Konrad Dybcio wrote:
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()


Ack, will fix it in the next revision.

Thanks,
Rafi.

Konrad