[PATCH v4 5/6] arm64: dts: imx8mp: Add fsl,dsp-ctrl property for dsp
From: Daniel Baluta
Date: Wed Feb 12 2025 - 03:52:52 EST
Audio block control contains a set of registers and some of them used for
DSP configuration.
Drivers (rproc, SOF) are using fsl,dsp-ctrl property in order to control
the DSP, particularly for Run/Stall bit.
Note that audio block control doesn't offer the functionality to reset
thte DSP. Reset is done via DAP interface.
Reviewed-by: Iuliana Prodan <iuliana.prodan@xxxxxxx>
Reviewed-by: Peng Fan <peng.fan@xxxxxxx>
Signed-off-by: Daniel Baluta <daniel.baluta@xxxxxxx>
---
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index 14cfbd228b45..46b33fbb9bd1 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -1609,7 +1609,7 @@ sdma2: dma-controller@30e10000 {
};
audio_blk_ctrl: clock-controller@30e20000 {
- compatible = "fsl,imx8mp-audio-blk-ctrl";
+ compatible = "fsl,imx8mp-audio-blk-ctrl", "syscon";
reg = <0x30e20000 0x10000>;
#clock-cells = <1>;
#reset-cells = <1>;
@@ -2425,6 +2425,7 @@ dsp: dsp@3b6e8000 {
mboxes = <&mu2 0 0>, <&mu2 1 0>, <&mu2 3 0>;
firmware-name = "imx/dsp/hifi4.bin";
memory-region = <&dsp_reserved>;
+ fsl,dsp-ctrl = <&audio_blk_ctrl>;
status = "disabled";
};
};
--
2.43.0