From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934890AbcKWXIF (ORCPT ); Wed, 23 Nov 2016 18:08:05 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:32922 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933884AbcKWXID (ORCPT ); Wed, 23 Nov 2016 18:08:03 -0500 Date: Wed, 23 Nov 2016 17:07:25 -0600 From: Rob Herring To: Daniel Lezcano Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org, Brian Norris , Marc Zyngier , Mark Rutland , Will Deacon , Douglas Anderson , Scott Wood , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM ARCHITECTED TIMER DRIVER" Subject: Re: [PATCH 1/4] clocksource/drivers/arm_arch_timer: Don't assume clock runs in suspend Message-ID: <20161123230725.c3euemhmfnm3qjtn@rob-hp-laptop> References: <20161122094300.GA2017@mai> <1479807866-6957-1-git-send-email-daniel.lezcano@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1479807866-6957-1-git-send-email-daniel.lezcano@linaro.org> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 22, 2016 at 10:44:21AM +0100, Daniel Lezcano wrote: > From: Brian Norris > > 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 > Reviewed-by: Douglas Anderson > Acked-by: Marc Zyngier > Signed-off-by: Daniel Lezcano > --- > Documentation/devicetree/bindings/arm/arch_timer.txt | 5 +++++ Acked-by: Rob Herring > drivers/clocksource/arm_arch_timer.c | 9 ++++++++- > 2 files changed, 13 insertions(+), 1 deletion(-)