Skip to content

Commit 6b878ac

Browse files
TE-N-ShengjiuWangbroonie
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent cd640ca commit 6b878ac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Documentation/devicetree/bindings/sound/fsl-sai.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ Required properties:
4949
receive data by following their own bit clocks and
5050
frame sync clocks separately.
5151

52+
- fsl,dataline : configure the dataline. it has 3 value for each configuration
53+
first one means the type: I2S(1) or PDM(2)
54+
second one is dataline mask for 'rx'
55+
third one is dataline mask for 'tx'.
56+
for example: fsl,dataline = <1 0xff 0xff 2 0xff 0x11>;
57+
it means I2S type rx mask is 0xff, tx mask is 0xff, PDM type
58+
rx mask is 0xff, tx mask is 0x11 (dataline 1 and 4 enabled).
59+
5260
Optional properties:
5361

5462
- big-endian : Boolean property, required if all the SAI

0 commit comments

Comments
 (0)