From 72f0d07080b13fcf8cc650155b54185e91c5d2e8 Mon Sep 17 00:00:00 2001 From: Zidan Wang Date: Fri, 26 Jun 2015 16:06:45 +0800 Subject: MLK-11179 ASoC: fsl: implement specify audio DMA buffer size from devicetree If the property "fsl,dma-buffer-size" is present, using the specified buffer size. Otherwise, using the default audio buffer size. Signed-off-by: Zidan Wang (cherry picked from commit bba153dd92a4f58b81c4c26fb3a95c45445c65e0) --- Documentation/devicetree/bindings/sound/fsl,esai.txt | 4 ++++ Documentation/devicetree/bindings/sound/fsl,spdif.txt | 4 ++++ Documentation/devicetree/bindings/sound/fsl,ssi.txt | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'Documentation/devicetree/bindings/sound') diff --git a/Documentation/devicetree/bindings/sound/fsl,esai.txt b/Documentation/devicetree/bindings/sound/fsl,esai.txt index cd3ee5d84f03..733c0a633c13 100644 --- a/Documentation/devicetree/bindings/sound/fsl,esai.txt +++ b/Documentation/devicetree/bindings/sound/fsl,esai.txt @@ -46,6 +46,10 @@ Required properties: will be in use as default, or the big endian mode will be in use for all the device registers. + - fsl,dma-buffer-size: It specify the audio buffer size of playback and + capture. If this property is absent, using the default value of audio buffer + size. + Example: esai: esai@02024000 { diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.txt b/Documentation/devicetree/bindings/sound/fsl,spdif.txt index 4ca39ddc0417..58b966b7a2af 100644 --- a/Documentation/devicetree/bindings/sound/fsl,spdif.txt +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.txt @@ -37,6 +37,10 @@ Required properties: will be in use as default, or the big endian mode will be in use for all the device registers. + - fsl,dma-buffer-size: It specify the audio buffer size of playback and + capture. If this property is absent, using the default value of audio buffer + size. + Example: spdif: spdif@02004000 { diff --git a/Documentation/devicetree/bindings/sound/fsl,ssi.txt b/Documentation/devicetree/bindings/sound/fsl,ssi.txt index 5b76be45d18b..3ad10966d3a5 100644 --- a/Documentation/devicetree/bindings/sound/fsl,ssi.txt +++ b/Documentation/devicetree/bindings/sound/fsl,ssi.txt @@ -62,6 +62,10 @@ Optional properties: "ac97-slave" - AC97 mode, SSI is clock slave "ac97-master" - AC97 mode, SSI is clock master +- fsl,dma-buffer-size: It specify the audio buffer size of playback and + capture. If this property is absent, using the default value of audio buffer + size. + Child 'codec' node required properties: - compatible: Compatible list, contains the name of the codec -- cgit v1.2.3