linux/drivers/soc/imx
Pengfei Li c2d14682b3 pmdomain: imx: Make imx pgc power domain also set the fwnode
[ Upstream commit 374de39d38 ]

Currently, The imx pgc power domain doesn't set the fwnode
pointer, which results in supply regulator device can't get
consumer imx pgc power domain device from fwnode when creating
a link.

This causes the driver core to instead try to create a link
between the parent gpc device of imx pgc power domain device and
supply regulator device. However, at this point, the gpc device
has already been bound, and the link creation will fail. So adding
the fwnode pointer to the imx pgc power domain device will fix
this issue.

Signed-off-by: Pengfei Li <pengfei.li_1@nxp.com>
Tested-by: Emil Kronborg <emil.kronborg@protonmail.com>
Fixes: 3fb16866b5 ("driver core: fw_devlink: Make cycle detection more robust")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20231020185949.537083-1-pengfei.li_1@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-11-28 17:07:16 +00:00
..
gpc.c pmdomain: imx: Make imx pgc power domain also set the fwnode 2023-11-28 17:07:16 +00:00
gpcv2.c soc: imx: gpcv2: Assert reset before ungating clock 2022-08-21 21:34:48 +08:00
imx8m-blk-ctrl.c ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
imx8mp-blk-ctrl.c soc: imx: imx8mp-blk-ctrl: don't set power device name 2023-02-01 08:34:04 +01:00
imx93-blk-ctrl.c soc: imx: add i.MX93 media blk ctrl driver 2022-09-17 16:31:06 +08:00
imx93-pd.c soc: imx: imx93-pd: Fix the error handling path of imx93_pd_probe() 2022-10-29 16:26:32 +08:00
imx93-src.c soc: imx: add i.MX93 SRC power domain driver 2022-09-17 16:31:06 +08:00
Kconfig soc: imx: add i.MX93 SRC power domain driver 2022-09-17 16:31:06 +08:00
Makefile soc: imx: add i.MX93 media blk ctrl driver 2022-09-17 16:31:06 +08:00
soc-imx.c soc: imx: Remove Layerscape check 2022-01-28 17:46:08 +08:00
soc-imx8m.c soc: imx8m: Enable OCOTP clock for imx8mm before reading registers 2023-10-06 14:56:49 +02:00