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
Consider my knowledge here limited, thus sending RFC. Some parts we're heavily assisted by LLM. David Signed-off-by: David Heidelberg <[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] --- David Heidelberg (6): 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 arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi | 132 ++++++++++++++++++++- sound/soc/codecs/cs35l36.c | 44 +++++++ sound/soc/qcom/sdm845.c | 49 ++++++-- 3 files changed, 213 insertions(+), 12 deletions(-) --- base-commit: 7079a12d7506b07fb53b54a664bfad5fa9b16d70 change-id: 20260613-pixel3-audio-bdbfb49e8037 Best regards, -- David Heidelberg <[email protected]>

