]> git.baikalelectronics.ru Git - 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)
committerTony Lindgren <tony@atomide.com>
Thu, 12 Dec 2019 16:20:10 +0000 (08:20 -0800)
commit4f2bd2e5958a61a42ff72a771cec998bbd21692d
tree138f75ce2df55db4c2d48642c7504158253fd6f0
parentd817148437b352a047b95feb27f766bf85c22526
bus: ti-sysc: Fix missing reset delay handling

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: c0e8cf60dcf8 ("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>
drivers/bus/ti-sysc.c