]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: dt-bindings: fsl-sai: Add new property to configure dataline
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 17 Jun 2022 07:44:36 +0000 (15:44 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:18:10 +0000 (13:18 +0100)
commit6b878ac2711056dd07c712caf89f58449cf5a592
tree60d24e7140d471e81b7e6cb669d0c845ac433677
parentcd640ca20095ed3b9306981f0064313a54fd4568
ASoC: dt-bindings: fsl-sai: Add new property to configure dataline

"fsl,dataline" is added to configure the dataline of SAI.
It has 3 value for each configuration, first one means the type:
I2S(1) or PDM(2), second one is dataline mask for 'rx', third one is
dataline mask for 'tx'. for example:

fsl,dataline = <1 0xff 0xff 2 0xff 0x11>,

it means I2S type rx mask is 0xff, tx mask is 0xff, PDM type
rx mask is 0xff, tx mask is 0x11 (dataline 1 and 4 enabled).

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1655451877-16382-7-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/fsl-sai.txt