Skip to content

audioreach-driver: update QAIF headset capture routing for shikra - #75

Merged
qti-sbojja merged 1 commit into
AudioReach:masterfrom
mohsRafi:Fix_shiokra_headphone_capture
Sep 13, 2026
Merged

qti-sbojja merged 1 commit into
AudioReach:masterfrom
mohsRafi:Fix_shiokra_headphone_capture

Conversation

@mohsRafi

@mohsRafi mohsRafi commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Recent upstream DeviceTree updates assign the Shikra QAIF headset capture path to VA_CODEC_DMA_TX_1 instead of VA_CODEC_DMA_TX_0.

Update the SoundWire stream setup, prepare, hw_params, hw_free, and jack handling paths to use VA_CODEC_DMA_TX_1 for the QAIF headset capture backend. Also add link-name mapping for VA_CODEC_DMA_TX_1 to route it to CODEC_DMA-QAIF-TX-1 when QAIF is enabled.
 
This change aligns the driver with the latest upstream DT configuration and restores headset capture functionality on Shikra platforms.

CRs-Fixed: 4675037

Recent upstream DeviceTree updates assign the Shikra QAIF headset
capture path to VA_CODEC_DMA_TX_1 instead of VA_CODEC_DMA_TX_0.

Update the SoundWire stream setup, prepare, hw_params, hw_free,
and jack handling paths to use VA_CODEC_DMA_TX_1 for the QAIF
headset capture backend. Also add link-name mapping for
VA_CODEC_DMA_TX_1 to route it to CODEC_DMA-QAIF-TX-1 when QAIF
is enabled.
 
This change aligns the driver with the latest upstream DT
configuration and restores headset capture functionality on
Shikra platforms.

Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
@mohsRafi
mohsRafi requested review from a team September 12, 2026 14:28

@nandamajay nandamajay left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qti-sbojja
qti-sbojja merged commit 36eb816 into AudioReach:master Sep 13, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants