linux/drivers/firmware/imx
Pengpeng Hou 55c748d596 firmware: imx: scu: manage mailbox channels and global handle
imx_scu_probe() requests mailbox channels with the non-managed
mbox_request_channel_byname() helper and then publishes sc_ipc through
the global imx_sc_ipc_handle.  Later probe failures, including child
population failure, can leave the channels and global handle live after
the probe has failed.

Register devres actions to free each mailbox channel and clear the global
handle.  Also depopulate partially created child devices when
devm_of_platform_populate() reports an error.

Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
2026-07-24 16:28:37 -04:00
..
imx-dsp.c firmware: Switch back to struct platform_driver::remove() 2024-11-12 12:55:56 +01:00
imx-scu-irq.c firmware: imx: scu-irq: Remove unused export of imx_scu_enable_general_irq_channel 2025-10-27 14:43:47 +08:00
imx-scu-soc.c firmware: imx: scu: use soc name for soc_id 2023-08-11 22:13:58 +08:00
imx-scu.c firmware: imx: scu: manage mailbox channels and global handle 2026-07-24 16:28:37 -04:00
Kconfig firmware: imx: Add i.MX95 SCMI CPU driver 2025-04-14 13:55:04 +01:00
Makefile firmware: imx: Add i.MX95 SCMI CPU driver 2025-04-14 13:55:04 +01:00
misc.c firmware: imx: Align imx_sc_msg_req_cpu_start to 4 2020-02-24 15:27:48 +08:00
rm.c firmware: imx: add get resource owner api 2022-02-12 14:07:36 +08:00
sm-cpu.c firmware: imx: Add i.MX95 SCMI CPU driver 2025-04-14 13:55:04 +01:00
sm-lmm.c firmware: imx: Add i.MX95 SCMI LMM driver 2025-04-14 13:55:04 +01:00
sm-misc.c firmware: imx: sm-misc: Add NULL check for kmalloc in syslog_show 2026-06-29 16:40:53 -04:00