diff mbox series

[v2,2/3] firmware: imx: scu-pd: Add mu13 b side PD range

Message ID 20190718102519.31855-3-daniel.baluta@nxp.com (mailing list archive)
State Mainlined
Commit 590b346b58badfe87cb13a64abdc8af25e907846
Headers show
Series Add power domain range for MU13 side b / IRQSTR_DSP | expand

Commit Message

Daniel Baluta July 18, 2019, 10:25 a.m. UTC
LSIO subsystem contains 14 MU instances.

5 MUs to communicate between AP <-> SCU
  - side-A PD range managed by AP
  - side-B PD range managed by SCU

9 MUs to communicate between all cores (AP/M4/DSP).
  - side-A PD range managed by core-A (AP/M4/DSP)
  - side-B PD range managed by core-B (AP/M4/DSP).

Communication between AP <-> DSP is done through the
assigned MU number 13.

So, we power up side-A by the AP and we decide to
power up side-B also from AP. This is because powering
it up from DSP would be painful.

Powering up side B from DSP would require the DSP to
communicate with SCU and to keep things simple we don't
want that now.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
---
 drivers/firmware/imx/scu-pd.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Dong Aisheng July 18, 2019, 11:56 a.m. UTC | #1
> From: Daniel Baluta <daniel.baluta@nxp.com>
> Sent: Thursday, July 18, 2019 6:25 PM
> 
> LSIO subsystem contains 14 MU instances.
> 
> 5 MUs to communicate between AP <-> SCU
>   - side-A PD range managed by AP
>   - side-B PD range managed by SCU
> 
> 9 MUs to communicate between all cores (AP/M4/DSP).
>   - side-A PD range managed by core-A (AP/M4/DSP)
>   - side-B PD range managed by core-B (AP/M4/DSP).
> 
> Communication between AP <-> DSP is done through the assigned MU number
> 13.
> 
> So, we power up side-A by the AP and we decide to power up side-B also from
> AP. This is because powering it up from DSP would be painful.
> 
> Powering up side B from DSP would require the DSP to communicate with SCU
> and to keep things simple we don't want that now.
> 
> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>

Regards
Aisheng
diff mbox series

Patch

diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c
index 950d30238186..eb9700b66a76 100644
--- a/drivers/firmware/imx/scu-pd.c
+++ b/drivers/firmware/imx/scu-pd.c
@@ -93,6 +93,7 @@  static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = {
 	{ "kpp", IMX_SC_R_KPP, 1, false, 0 },
 	{ "fspi", IMX_SC_R_FSPI_0, 2, true, 0 },
 	{ "mu_a", IMX_SC_R_MU_0A, 14, true, 0 },
+	{ "mu_b", IMX_SC_R_MU_13B, 1, true, 13 },
 
 	/* CONN SS */
 	{ "usb", IMX_SC_R_USB_0, 2, true, 0 },