android_kernel_xiaomi_sm7250/drivers/soc/imx
Lucas Stach 195bd29b4f soc: imx: gpc: fix power up sequencing
[ Upstream commit e0ea2d11f8a08ba7066ff897e16c5217215d1e68 ]

Currently we wait only until the PGC inverts the isolation setting
before disabling the peripheral clocks. This doesn't ensure that the
reset is properly propagated through the peripheral devices in the
power domain.

Wait until the PGC signals that the power up request is done and
wait a bit for resets to propagate before disabling the clocks.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-23 10:30:17 +02:00
..
gpc.c soc: imx: gpc: fix power up sequencing 2020-04-23 10:30:17 +02:00
gpcv2.c
Kconfig
Makefile