diff options
author | Mark Brown <broonie@kernel.org> | 2022-06-28 11:30:11 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-28 11:30:11 +0100 |
commit | 6ed91f5b10e80c72d8381a673ad26fbfdbf73017 (patch) | |
tree | 87283a4904dcaec57a9b1805f58b8a670a22258d /Documentation | |
parent | 1e0ec034dbcbc3ec2e6a4bdd6a0fbab8766d3ecd (diff) | |
parent | e3f4e5b1a3e654d518155b37c7b2084cbce9d1a7 (diff) | |
download | lwn-6ed91f5b10e80c72d8381a673ad26fbfdbf73017.tar.gz lwn-6ed91f5b10e80c72d8381a673ad26fbfdbf73017.zip |
Add PDM/DSD/dataline configuration support
Merge series from Shengjiu Wang <shengjiu.wang@nxp.com>:
Support PDM format and DSD format.
Add new dts property to configure dataline. The SAI has multiple
successive FIFO registers, but in some use
case the required dataline/FIFOs are not successive.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/fsl-sai.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/fsl-sai.txt b/Documentation/devicetree/bindings/sound/fsl-sai.txt index c71c5861d787..4c66e6a1a533 100644 --- a/Documentation/devicetree/bindings/sound/fsl-sai.txt +++ b/Documentation/devicetree/bindings/sound/fsl-sai.txt @@ -49,6 +49,14 @@ Required properties: receive data by following their own bit clocks and frame sync clocks separately. + - fsl,dataline : configure the dataline. 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). + Optional properties: - big-endian : Boolean property, required if all the SAI |