This series address: 0. demistify the hex to BIT() macro and add left/right rx spk 1. most likely wrongly set DSP_B in sdm845.c my guess this is because TDM was never used in the mainline with sdm845 2. applying correct mask to left/right speaker for the TDM in sdm845.c, so both speakers can work simultaneusly 3. setting sysclk at startups, which some codecs need (such as cs35l36) 4. setting proper tdm slot in the cs35l36 driver 5. device-tree wiring for Pixel 3 / 3 XL
As per previous discussion not seding patch removing the "Input Mux" which now interferes with TDM callback. If wanted, I can send it as a follow-up. Signed-off-by: David Heidelberg <[email protected]> --- Changes in v5: - Dropped `slimbus: qcom-ngd-ctrl: Remove data channels on stream disable` in favor of now merged `slimbus: qcom-ngd-ctrl: Implement disable_stream callback` - Applied R-bs. - Small clarifications in the commit messages and comments blocks. - Link to v4: https://patch.msgid.link/[email protected] Changes in v4: - Rebase on top of d4d1619ebd55 ("ASoC: codecs: cs35l*: use .auto_selectable_formats") (Mark) - Link to v3: https://patch.msgid.link/[email protected] Changes in v3: - De-RFC, applied Reviewed-by tag. - Link to v2: https://patch.msgid.link/[email protected] Changes in v2: - Device-tree name sorting, with exception keeping mm1-dai-link in it's place. (Konrad) - Make set_tdm_slot cleaner and less leveled. (Konrad) - Added TDM MIC defines in sdm845.c. Should we in capture use speaker mask? - Renamed model from 'Google Pixel 3' to 'blueline', I would love to hear feedback on this one. - Link to v1: https://lore.kernel.org/r/[email protected] To: Srinivas Kandagatla <[email protected]> To: Liam Girdwood <[email protected]> To: Mark Brown <[email protected]> To: Jaroslav Kysela <[email protected]> To: Takashi Iwai <[email protected]> To: David Rhodes <[email protected]> To: Richard Fitzgerald <[email protected]> To: Bjorn Andersson <[email protected]> To: Konrad Dybcio <[email protected]> To: Abel Vesa <[email protected]> To: Rob Herring <[email protected]> To: Krzysztof Kozlowski <[email protected]> To: Conor Dooley <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] --- David Heidelberg (7): ASoC: qcom: sdm845: Demystify TDM masks a bit ASoC: qcom: sdm845: use DSP_A format for TDM codec DAIs ASoC: qcom: sdm845: Use per-speaker RX masks for TDM slot assignment ASoC: qcom: sdm845: Set codec dai and component sysclk during startup ASoC: cs35l36: Implement set_tdm_slot to program RX and TX slots arm64: dts: qcom: sdm845-google: Add basic audio support arm64: dts: qcom: sdm845-google: Add WCD9340 codec and microphone capture arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi | 190 ++++++++++++++++++++- sound/soc/codecs/cs35l36.c | 44 +++++ sound/soc/qcom/sdm845.c | 49 ++++-- 3 files changed, 271 insertions(+), 12 deletions(-) --- base-commit: 5f063f13788dabaff119c78e425a0cf6c428e348 change-id: 20260613-pixel3-audio-bdbfb49e8037 Best regards, -- David Heidelberg <[email protected]>

