ASoC: ti: davinci-i2s: Add features to McBSP
authorMark Brown <broonie@kernel.org>
Tue, 9 Apr 2024 22:27:01 +0000 (23:27 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 9 Apr 2024 22:27:01 +0000 (23:27 +0100)
commit6451246884d0e57bc12a0d4563753d4ae588fb1d
tree0f9856d2f84a08d5c5eb384256a756ccaf5dda69
parente2ff3bd86dd739dbd807985dd7a7283c4c8bbe06
parent08e02fa48429c34db231cc3b58b940de2f7caf35
ASoC: ti: davinci-i2s: Add features to McBSP

Merge series from Bastien Curutchet <bastien.curutchet@bootlin.com>:

This series aims to add some features to McBSP driver.

Convert bindings from .txt to .yaml.
Add possibility to use an external clock as sample rate generator's
input.
Add handling of new formats (TDM, S24_LE, BP_FC).
Enable the detection of unexpected frame pulses.
Set the clock free-running mode according to SND_SOC_DAIFMT_[GATED/CONT]
configuration in DAI format.
Add ti,T1-framing[tx/rx] properties in DT. They allow to set the data
delay to two bit-clock periods.

This has been tested on a platform designed off of the DAVINCI/OMAP-L138
connected to 3 daisy-chained AD7767. An external clock drives the
sample rate generator through the CLKS pin.
The hardware I have only allowed me to test acquisition side of McBSP.
It is connected to a 6 channels TDM and acts as Bit clock provider and
Frame clock consumer.