Message ID | 20241120135859.3133984-6-daniel.baluta@nxp.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Configure imx8mp dsp node for rproc usage | expand |
Hello Daniel, On 20.11.24 14:58, Daniel Baluta wrote: > With imx8mp-evk board we are now configuring 'dsp' node for rproc usage, > so add rproc specific memory regions. > > Also, enable dsp node because it is ready to be used. > > Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> > &eqos { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_eqos>; > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > index fa4ff75af12d..e6f3ac02689c 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > @@ -282,7 +282,6 @@ reserved-memory { > dsp_reserved: dsp@92400000 { > reg = <0 0x92400000 0 0x1000000>; > no-map; > - status = "disabled"; This reverts commit 010dc015b811 ("arm64: dts: imx8mp: Disable dsp reserved memory by default"). Please enable the reserved memory node in your board DTS instead. Thanks, Ahmad > }; > }; >
On Wed, Nov 20, 2024 at 5:36 PM Ahmad Fatoum <a.fatoum@pengutronix.de> wrote: > > Hello Daniel, > > On 20.11.24 14:58, Daniel Baluta wrote: > > With imx8mp-evk board we are now configuring 'dsp' node for rproc usage, > > so add rproc specific memory regions. > > > > Also, enable dsp node because it is ready to be used. > > > > Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> > > > &eqos { > > pinctrl-names = "default"; > > pinctrl-0 = <&pinctrl_eqos>; > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > > index fa4ff75af12d..e6f3ac02689c 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi > > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi > > @@ -282,7 +282,6 @@ reserved-memory { > > dsp_reserved: dsp@92400000 { > > reg = <0 0x92400000 0 0x1000000>; > > no-map; > > - status = "disabled"; > > This reverts commit 010dc015b811 ("arm64: dts: imx8mp: Disable dsp > reserved memory by default"). > > Please enable the reserved memory node in your board DTS instead. Thanks Ahmad that's a good catch. Will fix this in v2. Will wait for few days to get more comments on this patchseries and then send v2. Thanks, Daniel.
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index d26930f1a9e9..adb01a484d78 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -291,6 +291,12 @@ &aud2htx { status = "okay"; }; +&dsp { + memory-region = <&dsp_vdev0buffer>, <&dsp_vdev0vring0>, + <&dsp_vdev0vring1>, <&dsp_reserved>; + status = "okay"; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index fa4ff75af12d..e6f3ac02689c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -282,7 +282,6 @@ reserved-memory { dsp_reserved: dsp@92400000 { reg = <0 0x92400000 0 0x1000000>; no-map; - status = "disabled"; }; };
With imx8mp-evk board we are now configuring 'dsp' node for rproc usage, so add rproc specific memory regions. Also, enable dsp node because it is ready to be used. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 6 ++++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 1 - 2 files changed, 6 insertions(+), 1 deletion(-)