]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: imx8m-power-domain: Add delay to align with kernel driver
authorFabio Estevam <festevam@denx.de>
Sat, 6 May 2023 16:14:02 +0000 (13:14 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jul 2023 12:40:03 +0000 (14:40 +0200)
commit8f70f3df6201f28ac0ea604840d1c0e62d521629
treefb5898f35feb06629195da7ae3f81877fca4d0aa
parent79e315761c5c3dbbfe457edfe421932f40d88520
power: imx8m-power-domain: Add delay to align with kernel driver

In the imx8m power domain kernel driver, there is an extra udelay(5)
prior to requesting the domain to power up:

https://github.com/torvalds/linux/blob/v6.3/drivers/soc/imx/gpcv2.c#L347-L375

Haven't observed any issues due to the lack of this delay in U-Boot yet,
but better to align it with the kernel driver implementation.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/power/domain/imx8m-power-domain.c