]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ARM: imx: update the cpu power up timing setting on i.mx6sx
authorAnson Huang <anson.huang@nxp.com>
Tue, 4 Dec 2018 03:17:45 +0000 (03:17 +0000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit99258b80d8fdf3eb0f1d1bf41f9490bcf0073875
tree6f9af8f1083e91376f265cedeab88082ff07320b
parent2fc166368b1e4178215194b3c8e665095cf08ce0
ARM: imx: update the cpu power up timing setting on i.mx6sx

BugLink: https://bugs.launchpad.net/bugs/1837477
[ Upstream commit 1e434b703248580b7aaaf8a115d93e682f57d29f ]

The sw2iso count should cover ARM LDO ramp-up time,
the MAX ARM LDO ramp-up time may be up to more than
100us on some boards, this patch sets sw2iso to 0xf
(~384us) which is the reset value, and it is much
more safe to cover different boards, since we have
observed that some customer boards failed with current
setting of 0x2.

Fixes: 05136f0897b5 ("ARM: imx: support arm power off in cpuidle for i.mx6sx")
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/arm/mach-imx/cpuidle-imx6sx.c