]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: tas2764: expose SDOUT bus keeper via set_tdm_idle operation
authorJames Calligeros <jcalligeros99@gmail.com>
Sun, 1 Mar 2026 08:05:25 +0000 (18:05 +1000)
committerMark Brown <broonie@kernel.org>
Mon, 16 Mar 2026 01:13:04 +0000 (01:13 +0000)
commit45573ee1f2badd1886eb6f4a736e60e3f76effe6
tree4acfff8360e7d231fe1a3ef1bb3683bc66c3b2e9
parentb758d3574e88537f9089bd757a51b35cf9675179
ASoC: tas2764: expose SDOUT bus keeper via set_tdm_idle operation

TAS2764, and the Apple-exclusive variant SN012776, include bus keepers
on the SDOUT pin that can be configured to alter the behaviour of the
SDOUT pin during specified TDM slots. The chip can either leave the
bus floating (default/uninitialised behaviour) or fill the specified
slots with zeroes.

Expose the SDOUT bus keeper and allow it to be configured using the
set_tdm_idle DAI op. The mask must be cropped to only cover slots
valid for the configured BCLK ratio, so introduce a set_bclk_ratio
op that properly configures this.

Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
Link: https://patch.msgid.link/20260301-tdm-idle-slots-v3-6-c6ac5351489a@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2764.c
sound/soc/codecs/tas2764.h