]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bus: ti-sysc: Fix missing reset delay handling
authorTony Lindgren <tony@atomide.com>
Thu, 12 Dec 2019 16:20:10 +0000 (08:20 -0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 06:00:53 +0000 (01:00 -0500)
commitbafa25988fce9a05b501378a0231ed9e1f17e8a9
treeaa4b3f043df2eebf1539e88ed4ac1cb0af57fa35
parent9e6892071e8e19993a10453e76fe3a5347de5d02
bus: ti-sysc: Fix missing reset delay handling

BugLink: https://bugs.launchpad.net/bugs/1861929
[ Upstream commit e709ed70d122e94cb426b1e1f905829eae19a009 ]

We have dts property for "ti,sysc-delay-us", and we're using it, but the
wait after OCP softreset only happens if devices are probed in legacy mode.

Let's add a delay after writing the OCP softreset when specified.

Fixes: e0db94fe87da ("bus: ti-sysc: Make OCP reset work for sysstatus and sysconfig reset bits")
Cc: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/bus/ti-sysc.c