]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: dt-bindings: davinci-mcasp: Add properties for asynchronous mode
authorSen Wang <sen@ti.com>
Tue, 3 Feb 2026 00:37:00 +0000 (18:37 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 4 Feb 2026 18:21:49 +0000 (18:21 +0000)
commitf1ef70a4a32042984d29b8d02bdf6167474373af
tree481e4688efe92c590f9218240178a3710a1f8e31
parentdcf0470aa399e59ba9e13c7de87a60c8743a358a
ASoC: dt-bindings: davinci-mcasp: Add properties for asynchronous mode

McASP supports the independent configuration of TX & RX clk and frame
sync registers. By default, the driver is configured in synchronous mode
where RX clock generator is disabled and it uses transmit clock signals as
bit clock and frame sync. Therefore add optional properties needed for
asynchronous mode.

Add ti,async-mode boolean binding to provide a way to decouple the default
behavior and allows for independent TX & RX clocking.

Add tdm-slots-rx uint32 binding to provide an alternative hardware
specifier stating the number of RX serializers.
The existing property tdm-slots will still dictate number of
TX serializers, and RX if tdm-slots-rx isn't given for backwards
compatibility.

Add auxclk-fs-ratio-rx which allows to specify the ratio just for RX.
The driver can be supplied with two different ratios
(auxclk-fs-ratio and auxclk-fs-ratio-rx in tandem) and achieve two
different sampling rates for tx & rx.

Signed-off-by: Sen Wang <sen@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Tested-by: Paresh Bhagat <p-bhagat@ti.com>
Link: https://patch.msgid.link/20260203003703.2334443-2-sen@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml