Thread (18 messages) 18 messages, 4 authors, 2026-03-16

Re: [PATCH v3 5/7] ASoC: soc-dai: add common operation to set TDM idle mode

From: Mark Brown <broonie@kernel.org>
Date: 2026-03-03 18:17:44
Also in: asahi, imx, linux-arm-kernel, linux-sound, lkml

On Tue, Mar 03, 2026 at 07:10:49PM +1000, James Calligeros wrote:
On Tuesday, 3 March 2026 12:11:50 pm Australian Eastern Standard Time Kuninori 
Morimoto wrote:
quoted
quoted
+int snd_soc_dai_set_tdm_idle(struct snd_soc_dai *dai,
+			     unsigned int tx_mask, unsigned int rx_mask,
+			     int tx_mode, int rx_mode);
quoted
Do we need "rx_mode" ?
Only "tx_mode" is enough if my understanding was correct.
For our (Asahi) purposes yes, we only require TX. However, TAS2770 also
has a bus keeper on SDIN, and I suspect other hardware may too. Rather than
break the API later on should the need to configure this arise,
I decided to add the capability now. I am happy to get rid of it if
we think it is superfluous at this time though.
I do think it's reasonable to keep things symmetric, it's probably
better to have an API that's consistent even if some of the code doesn't
currently get used.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help