Re: [PATCH] clocksource: dw_apb: add reset control

From: Dinh Nguyen
Date: Thu Sep 27 2018 - 09:52:12 EST




On 09/26/2018 10:21 AM, Daniel Lezcano wrote:
> On 17/09/2018 16:52, Dinh Nguyen wrote:
>> Add code to retrieve the reset property for the dw-apb timers.
>
> The patch does more than that. Can you explain why the assert/deassert ?

Can I update the commit message to this?

Add code to retrieve the reset property from the dw-apb timers and if
the property is available, the safe operation is to assert the timer
into reset, and followed by a deassert of the timer reset(brings the
timer out of reset).

This patch is needed for systems where the bootloader has left the timer
not used in reset.

Dinh