OSDN Git Service

ASoC: mchp, i2s-mcc: Add property to specify pin pair for TDM
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Mon, 1 Mar 2021 17:09:02 +0000 (19:09 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 13:08:41 +0000 (13:08 +0000)
commitead2a3e43f0a6556e464a83ffba7d7baacf0d426
tree9bf94eb7c5f21ddb3f4a44e13218b295bd6f2bc6
parent153bb1feefd2a7c907d65ccf89953feb1548e60f
ASoC: mchp, i2s-mcc: Add property to specify pin pair for TDM

SAMA7G5's I2S-MCC has 4 pairs of DIN/DOUT pins. Since TDM only uses a
single pair of pins for synchronous capture and playback, the controller
needs to be told which of the pair is connected. This can be mentioned
using the new "microchip,tdm-data-pair" property. The property is optional,
needed only if TDM is used, and if it's missing DIN/DOUT 0 pins will be
used by default.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20210301170905.835091-5-codrin.ciubotariu@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/mchp-i2s-mcc.txt