linux/sound/soc/ti
Bastien Curutchet 08e02fa484
ASoC: ti: davinci-i2s: Add T1 framing support
McBSP's data delay can be configured from 0 to 2 bit clock periods. 0 is
used for DSP_B format, 1 is used for DSP_A format, 2 is unused.

A data delay of 2 bit clock periods can be used to interface to
'T1 framing' devices where data stream is preceded by a 'framing bit'. On
transmission, McBSP inserts a blank period (high-impedance period)
before the first data bit to leave an opportunity for other devices to
set this 'framing bit'. On reception, McBSP discards the 'framing bit'
that precedes the data stream.

Add support for the 'framing bit' according to the
'ti,T1-framing-[tx/rx]' device-tree properties. If a flag is present,
the data delay is set to 2 bit clock periods regardless of the selected
DAI format.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://msgid.link/r/20240402071213.11671-14-bastien.curutchet@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-04-09 16:58:43 +01:00
..
ams-delta.c ASoC: ams-delta.c: use component after check 2023-10-27 17:37:34 +01:00
davinci-evm.c ASoC: Use device_get_match_data() 2023-10-09 13:13:59 +01:00
davinci-i2s.c ASoC: ti: davinci-i2s: Add T1 framing support 2024-04-09 16:58:43 +01:00
davinci-i2s.h
davinci-mcasp.c ASoC: Use device_get_match_data() 2023-10-09 13:13:59 +01:00
davinci-mcasp.h
edma-pcm.c
edma-pcm.h
j721e-evm.c ASoC: ti: j721e-evm: Use devm_kcalloc() instead of devm_kzalloc() 2024-01-22 00:06:41 +00:00
Kconfig ASoC: ti: ams-delta: Allow it to be test compiled 2023-10-23 19:40:21 +01:00
Makefile ASoC: remove unused davinci support 2023-01-12 10:53:12 +01:00
n810.c GPIO descriptors for TI ASoC codecs 2023-10-02 16:17:47 +01:00
omap3pandora.c GPIO descriptors for TI ASoC codecs 2023-10-02 16:17:47 +01:00
omap-abe-twl6040.c ASoC: ti: convert not to use asoc_xxx() 2023-09-25 14:16:16 +02:00
omap-dmic.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
omap-dmic.h
omap-hdmi.c ASoC: ti: use devm_snd_soc_register_card() 2024-01-22 00:06:00 +00:00
omap-mcbsp-priv.h ASoC: ti: omap-mcbsp: duplicate sysfs error 2022-07-07 17:16:21 +01:00
omap-mcbsp-st.c ASoC: ti: convert not to use asoc_xxx() 2023-09-25 14:16:16 +02:00
omap-mcbsp.c ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings 2023-10-30 13:30:20 +00:00
omap-mcbsp.h
omap-mcpdm.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
omap-mcpdm.h
omap-twl4030.c GPIO descriptors for TI ASoC codecs 2023-10-02 16:17:47 +01:00
osk5912.c GPIO descriptors for TI ASoC codecs 2023-10-02 16:17:47 +01:00
rx51.c GPIO descriptors for TI ASoC codecs 2023-10-02 16:17:47 +01:00
sdma-pcm.c
sdma-pcm.h
udma-pcm.c
udma-pcm.h