]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx8-ss-audio: configure dsp node for rproc usage
authorLaurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Mon, 21 Oct 2024 15:52:17 +0000 (11:52 -0400)
committerShawn Guo <shawnguo@kernel.org>
Mon, 4 Nov 2024 08:46:31 +0000 (16:46 +0800)
The 'dsp' node is currently configured for running an audio firmware.
Since the firmware requires that some audio-related IPs be disabled in
Linux, this will clash with the configurations from the imx8 board DTs
(i.e: imx8qm-mek, imx8qxp-mek, etc...), thus making the dsp unusable
(since the firmware won't function properly).

To avoid this issue, configure the 'dsp' node for rproc. This way, users
will be able to use the dsp alongside the board-level audio configuration
as long as the firmware doesn't need the audio IPs.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Tested-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi

index ff5df0fed9e96fa7b1b6743765385148f92e389b..a60ebb718789fdaf120d4a38330cdae510b865d9 100644 (file)
@@ -431,22 +431,19 @@ audio_subsys: bus@59000000 {
        };
 
        dsp: dsp@596e8000 {
-               compatible = "fsl,imx8qxp-dsp";
+               compatible = "fsl,imx8qxp-hifi4";
                reg = <0x596e8000 0x88000>;
                clocks = <&dsp_lpcg IMX_LPCG_CLK_5>,
                         <&dsp_ram_lpcg IMX_LPCG_CLK_4>,
                         <&dsp_lpcg IMX_LPCG_CLK_7>;
                clock-names = "ipg", "ocram", "core";
-               power-domains = <&pd IMX_SC_R_MU_13A>,
-                       <&pd IMX_SC_R_MU_13B>,
-                       <&pd IMX_SC_R_DSP>,
-                       <&pd IMX_SC_R_DSP_RAM>;
-               mbox-names = "txdb0", "txdb1",
-                       "rxdb0", "rxdb1";
-               mboxes = <&lsio_mu13 2 0>,
-                       <&lsio_mu13 2 1>,
-                       <&lsio_mu13 3 0>,
-                       <&lsio_mu13 3 1>;
+               power-domains = <&pd IMX_SC_R_MU_13B>,
+                               <&pd IMX_SC_R_MU_2A>;
+               mbox-names = "tx", "rx", "rxdb";
+               mboxes = <&lsio_mu13 0 0>,
+                        <&lsio_mu13 1 0>,
+                        <&lsio_mu13 3 0>;
+               firmware-name = "imx/dsp/hifi4.bin";
                status = "disabled";
        };