ARM: dts: stm32: Add coprocessor detach mbox on stm32mp15xx-osd32 SoM
authorLeonard Göhrs <l.goehrs@pengutronix.de>
Fri, 10 Mar 2023 09:26:50 +0000 (10:26 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 20 Mar 2023 16:11:58 +0000 (17:11 +0100)
To support the detach feature, add a new mailbox channel to inform
the remote processor on a detach. This signal allows the remote processor
firmware to stop IPC communication and to reinitialize the resources for
a re-attach.

See 6257dfc1c412dcdbd76ca5fa92c8444222dbe5b0 for a patch that does the
same for stm32mp15x-dkx boards.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp15xx-osd32.dtsi

index 935b7084b5a23e1898e29fa0437a6fc59b896e8c..a43965c86fe8b92a5bf14502b3dde52821b5a3ac 100644 (file)
 &m4_rproc {
        memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
                        <&vdev0vring1>, <&vdev0buffer>;
-       mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
-       mbox-names = "vq0", "vq1", "shutdown";
+       mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>, <&ipcc 3>;
+       mbox-names = "vq0", "vq1", "shutdown", "detach";
        interrupt-parent = <&exti>;
        interrupts = <68 1>;
        status = "okay";