linux-stable/drivers/soc/imx
Marek Vasut df88005bd8 soc: imx: gpcv2: Assert reset before ungating clock
In case the power domain clock are ungated before the reset is asserted,
the system might freeze completely. This is likely due to a device is an
undefined state being attached to bus, which sporadically leads to a bus
hang. Assert the reset before the clock are enabled to assure the device
is in defined state before being attached to bus.

Fixes: fe58c887fb ("soc: imx: gpcv2: add support for optional resets")
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2022-08-21 21:34:48 +08:00
..
gpc.c soc: imx: gpc: fix power up sequencing 2020-03-16 11:39:02 +08:00
gpcv2.c soc: imx: gpcv2: Assert reset before ungating clock 2022-08-21 21:34:48 +08:00
imx8m-blk-ctrl.c Revert "soc: imx: imx8m-blk-ctrl: set power device name" 2022-08-17 16:35:44 +08:00
imx8mp-blk-ctrl.c soc: imx: fix semicolon.cocci warnings 2022-05-05 20:51:52 +08:00
Kconfig imx: soc: Select REGMAP_MMIO 2021-10-05 13:54:44 +08:00
Makefile soc: imx: add i.MX8MP HSIO blk-ctrl 2022-05-05 09:28:57 +08:00
soc-imx.c soc: imx: Remove Layerscape check 2022-01-28 17:46:08 +08:00
soc-imx8m.c Revert "soc: imx8m: change to use platform driver" 2021-07-15 19:02:44 +08:00