summaryrefslogtreecommitdiff
path: root/drivers/soc/microchip/mpfs-control-scb.c
AgeCommit message (Collapse)Author
2026-03-19soc: microchip: mpfs-control-scb: Fix resource leak on driver unbindFelix Gu
Use devm_mfd_add_devices() instead of mfd_add_devices() to ensure child devices are properly removed when the driver unbinds. Fixes: 4aac11c9a6e7 ("soc: microchip: add mfd drivers for two syscon regions on PolarFire SoC") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
2025-10-29soc: microchip: add mfd drivers for two syscon regions on PolarFire SoCConor Dooley
The control-scb and mss-top-sysreg regions on PolarFire SoC both fulfill multiple purposes. The former is used for mailbox functions in addition to the temperature & voltage sensor while the latter is used for clocks, resets, interrupt muxing and pinctrl. Signed-off-by: Conor Dooley <conor.dooley@microchip.com>