summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/fsl,dsp,lpa.txt
diff options
context:
space:
mode:
authorBing Song <bing.song@nxp.com>2020-06-15 10:59:09 +0800
committerBing Song <bing.song@nxp.com>2020-07-10 16:48:11 +0800
commit396def6370d174e5a47e11c0007896d25b03086f (patch)
tree607fa573db7b5eb6f86ff4024a65aa336d4cfa7c /Documentation/devicetree/bindings/sound/fsl,dsp,lpa.txt
parent3818e25a7fec68413b6c4382c1f12ec5fe956350 (diff)
MLK-24365-3 dts: dsp: imx8mp: add dts for lpa
The DTS is for i.MX8MP DSP offload audio playback. DSP only use OCRAM and OCRAM_A when audio playback, so DRAM can enter retention mode to save Power. As the size limitation of OCRAM and OCRAM_A and the size audio decoder library, the LPA playback only can support MP3 and AAC. OCRAM address is 0x900000-0x990000. ATF will use 0x960000-0x980000. DSP LPA will use ocram(0x900000-0x960000) and ocram_e(0x980000- 0x990000) Signed-off-by: Bing Song <bing.song@nxp.com>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/fsl,dsp,lpa.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/fsl,dsp,lpa.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/fsl,dsp,lpa.txt b/Documentation/devicetree/bindings/sound/fsl,dsp,lpa.txt
new file mode 100644
index 000000000000..194442a90a77
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/fsl,dsp,lpa.txt
@@ -0,0 +1,24 @@
+NXP LPA(Low Power Audio) DSP
+
+The DTS is for i.MX8MP DSP offload audio playback. DSP only use OCRAM
+and OCRAM_A when audio playback, so DRAM can enter retention mode to
+save Power. As the size limitation of OCRAM and OCRAM_A and the size
+audio decoder library, the LPA playback only can support MP3.
+OCRAM address is 0x900000-0x990000. ATF will use 0x960000-0x980000.
+DSP LPA will use ocram(0x900000-0x960000) and ocram_e(0x980000-
+0x990000)
+
+Required properties:
+
+ - compatible : Contains "fsl,imx8mp-dsp-lpa".
+ - fsl,dsp-firmware : LPA DSP FW name.
+
+Example:
+
+&dsp {
+ compatible = "fsl,imx8mp-dsp-lpa";
+ ocram = <&ocram>;
+ ocram-e = <&ocram_e>;
+ fsl,dsp-firmware = "imx/dsp/hifi4_imx8mp_lpa.bin";
+ status = "okay";
+};