[PATCH v4 0/6] configure imx8 dsp DT node for rproc usage

Laurentiu Mihalcea posted 6 patches 1 month ago
.../devicetree/bindings/dsp/fsl,dsp.yaml      | 31 +++++++++++++++----
.../bindings/mailbox/arm,mhuv2.yaml           |  2 +-
.../boot/dts/freescale/imx8-ss-audio.dtsi     | 19 +++++-------
arch/arm64/boot/dts/freescale/imx8qm-mek.dts  | 27 ++++++++++++++++
arch/arm64/boot/dts/freescale/imx8qm.dtsi     | 28 +++++++++++++++++
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 21 ++++++++++++-
6 files changed, 109 insertions(+), 19 deletions(-)
[PATCH v4 0/6] configure imx8 dsp DT node for rproc usage
Posted by Laurentiu Mihalcea 1 month ago
From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>

Configure/add imx8 dsp DT node for rproc usage.
Additionally, fix number of power domains from the fsl,dsp.yaml binding.

---
Changes in v4:
- Added Krzysztof's and Frank's R-b's.

- Wrapped DT commit messages to 75 chars.

- Placed 'mbox-names' after 'mboxes' property in 'vpu_dsp' DT node.

- Link to v3: https://lore.kernel.org/lkml/20241011150439.4027-1-laurentiumihalcea111@gmail.com/

Changes in v3:
- Moved handling of IRQSTR_DSP PD to fiwmare side. Now QXP has 2
mandatory PDs, while QM has 4.

- Dropped the optional PDs. All PDs are now mandatory.

- Dropped Linux implementation details from the binding's commit
message.

- Renamed reserved memory nodes to generic "memory".

- Split QXP board and soc DT changes into dif. patches.

- Dropped comments about SOF and rewrote the commit message of the
patch that modifies the 'dsp' node from 'imx8-ss-audio.dtsi'. Hopefully,
should be more clear why the change is done.

- Squashed arm,mhuv2 binding changes.

- Link to v2: https://lore.kernel.org/lkml/20240925232008.205802-1-laurentiumihalcea111@gmail.com/

Changes in v2:
- Modify subject of commit changing fsl,dsp.yaml to state that the change
is for fsl,dsp.yaml

- Fix issue with arm,mhuv2 binding found by Rob's bot caused by the
changes to fsl,dsp binding

- Improve formatting of commit messages

- Link to v1: https://lore.kernel.org/lkml/20240918182117.86221-1-laurentiumihalcea111@gmail.com
---

Laurentiu Mihalcea (6):
  dt-bindings: dsp: fsl,dsp: fix power domain count
  arm64: dts: imx8-ss-audio: configure dsp node for rproc usage
  arm64: dts: imx8qxp-mek: add dsp rproc-related mem regions
  arm64: dts: imx8qm: drop dsp node from audio_subsys bus
  arm64: dts: imx8qm: add node for VPU dsp
  arm64: dts: imx8qm-mek: enable dsp node for rproc usage

 .../devicetree/bindings/dsp/fsl,dsp.yaml      | 31 +++++++++++++++----
 .../bindings/mailbox/arm,mhuv2.yaml           |  2 +-
 .../boot/dts/freescale/imx8-ss-audio.dtsi     | 19 +++++-------
 arch/arm64/boot/dts/freescale/imx8qm-mek.dts  | 27 ++++++++++++++++
 arch/arm64/boot/dts/freescale/imx8qm.dtsi     | 28 +++++++++++++++++
 arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 21 ++++++++++++-
 6 files changed, 109 insertions(+), 19 deletions(-)

-- 
2.34.1
Re: [PATCH v4 0/6] configure imx8 dsp DT node for rproc usage
Posted by Shawn Guo 3 weeks, 3 days ago
On Mon, Oct 21, 2024 at 11:52:15AM -0400, Laurentiu Mihalcea wrote:
> Laurentiu Mihalcea (6):
>   dt-bindings: dsp: fsl,dsp: fix power domain count
>   arm64: dts: imx8-ss-audio: configure dsp node for rproc usage
>   arm64: dts: imx8qxp-mek: add dsp rproc-related mem regions
>   arm64: dts: imx8qm: drop dsp node from audio_subsys bus
>   arm64: dts: imx8qm: add node for VPU dsp
>   arm64: dts: imx8qm-mek: enable dsp node for rproc usage

Applied all, thanks!
Re: [PATCH v4 0/6] configure imx8 dsp DT node for rproc usage
Posted by Iuliana Prodan 1 month ago
On 10/21/2024 6:52 PM, Laurentiu Mihalcea wrote:
> From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
>
> Configure/add imx8 dsp DT node for rproc usage.
> Additionally, fix number of power domains from the fsl,dsp.yaml binding.
For the series:

Tested-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>

Thanks,
Iulia
> ---
> Changes in v4:
> - Added Krzysztof's and Frank's R-b's.
>
> - Wrapped DT commit messages to 75 chars.
>
> - Placed 'mbox-names' after 'mboxes' property in 'vpu_dsp' DT node.
>
> - Link to v3: https://lore.kernel.org/lkml/20241011150439.4027-1-laurentiumihalcea111@gmail.com/
>
> Changes in v3:
> - Moved handling of IRQSTR_DSP PD to fiwmare side. Now QXP has 2
> mandatory PDs, while QM has 4.
>
> - Dropped the optional PDs. All PDs are now mandatory.
>
> - Dropped Linux implementation details from the binding's commit
> message.
>
> - Renamed reserved memory nodes to generic "memory".
>
> - Split QXP board and soc DT changes into dif. patches.
>
> - Dropped comments about SOF and rewrote the commit message of the
> patch that modifies the 'dsp' node from 'imx8-ss-audio.dtsi'. Hopefully,
> should be more clear why the change is done.
>
> - Squashed arm,mhuv2 binding changes.
>
> - Link to v2: https://lore.kernel.org/lkml/20240925232008.205802-1-laurentiumihalcea111@gmail.com/
>
> Changes in v2:
> - Modify subject of commit changing fsl,dsp.yaml to state that the change
> is for fsl,dsp.yaml
>
> - Fix issue with arm,mhuv2 binding found by Rob's bot caused by the
> changes to fsl,dsp binding
>
> - Improve formatting of commit messages
>
> - Link to v1: https://lore.kernel.org/lkml/20240918182117.86221-1-laurentiumihalcea111@gmail.com
> ---
>
> Laurentiu Mihalcea (6):
>    dt-bindings: dsp: fsl,dsp: fix power domain count
>    arm64: dts: imx8-ss-audio: configure dsp node for rproc usage
>    arm64: dts: imx8qxp-mek: add dsp rproc-related mem regions
>    arm64: dts: imx8qm: drop dsp node from audio_subsys bus
>    arm64: dts: imx8qm: add node for VPU dsp
>    arm64: dts: imx8qm-mek: enable dsp node for rproc usage
>
>   .../devicetree/bindings/dsp/fsl,dsp.yaml      | 31 +++++++++++++++----
>   .../bindings/mailbox/arm,mhuv2.yaml           |  2 +-
>   .../boot/dts/freescale/imx8-ss-audio.dtsi     | 19 +++++-------
>   arch/arm64/boot/dts/freescale/imx8qm-mek.dts  | 27 ++++++++++++++++
>   arch/arm64/boot/dts/freescale/imx8qm.dtsi     | 28 +++++++++++++++++
>   arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 21 ++++++++++++-
>   6 files changed, 109 insertions(+), 19 deletions(-)
>