Re: [PATCH v6 1/3] ARM: rockchip: fix the CPU soft reset

2015-06-09 Thread Kever Yang
Hi Caesar, On 06/09/2015 05:49 PM, Caesar Wang wrote: We need different orderings when turning a core on and turning a core off. In one case we need to assert reset before turning power off. In ther other case we need to turn power on and the deassert reset. In general, the correct flow is: C

Re: [PATCH v6 1/3] ARM: rockchip: fix the CPU soft reset

2015-06-09 Thread Doug Anderson
Caesar, On Tue, Jun 9, 2015 at 2:49 AM, Caesar Wang wrote: > We need different orderings when turning a core on and turning a core > off. In one case we need to assert reset before turning power off. > In ther other case we need to turn power on and the deassert reset. > > In general, the correc

[PATCH v6 1/3] ARM: rockchip: fix the CPU soft reset

2015-06-09 Thread Caesar Wang
We need different orderings when turning a core on and turning a core off. In one case we need to assert reset before turning power off. In ther other case we need to turn power on and the deassert reset. In general, the correct flow is: CPU off: reset_control_assert regmap_update_bits(p