mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
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>
This commit is contained in:
parent
79e315761c
commit
8f70f3df62
1 changed files with 3 additions and 0 deletions
|
@ -338,6 +338,9 @@ static int imx8m_power_domain_on(struct power_domain *power_domain)
|
|||
}
|
||||
}
|
||||
|
||||
/* delay for reset to propagate */
|
||||
udelay(5);
|
||||
|
||||
if (domain->bits.pxx) {
|
||||
/* request the domain to power up */
|
||||
setbits_le32(base + regs->pup, domain->bits.pxx);
|
||||
|
|
Loading…
Reference in a new issue