[PATCH 1/4] clocksource/drivers/arm_arch_timer: Don't assume clock runs in suspend

Rob Herring robh at kernel.org
Wed Nov 23 15:07:25 PST 2016


On Tue, Nov 22, 2016 at 10:44:21AM +0100, Daniel Lezcano wrote:
> From: Brian Norris <briannorris at chromium.org>
> 
> The ARM specifies that the system counter "must be implemented in an
> always-on power domain," and so we try to use the counter as a source of
> timekeeping across suspend/resume. Unfortunately, some SoCs (e.g.,
> Rockchip's RK3399) do not keep the counter ticking properly when
> switched from their high-power clock to the lower-power clock used in
> system suspend. Support this quirk by adding a new device tree property.
> 
> Signed-off-by: Brian Norris <briannorris at chromium.org>
> Reviewed-by: Douglas Anderson <dianders at chromium.org>
> Acked-by: Marc Zyngier <marc.zyngier at arm.com>
> Signed-off-by: Daniel Lezcano <daniel.lezcano at linaro.org>
> ---
>  Documentation/devicetree/bindings/arm/arch_timer.txt | 5 +++++

Acked-by: Rob Herring <robh at kernel.org>

>  drivers/clocksource/arm_arch_timer.c                 | 9 ++++++++-
>  2 files changed, 13 insertions(+), 1 deletion(-)



More information about the linux-arm-kernel mailing list