Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1495618
| From | Doug Anderson <dianders@chromium.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/2] clocksource: arm_arch_timer: Don't assume clock runs in suspend |
| Date | 2016-10-05 00:20 +0200 |
| Message-ID | <soGe6-jc-7@gated-at.bofh.it> (permalink) |
| References | <soCtP-6h4-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi, On Tue, Oct 4, 2016 at 11:12 AM, Brian Norris <briannorris@chromium.org> wrote: > The ARM 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@chromium.org> > --- > v2: > * add new device tree property, instead of re-using the "always-on" > property (which has different meaning) > > Documentation/devicetree/bindings/arm/arch_timer.txt | 5 +++++ > drivers/clocksource/arm_arch_timer.c | 9 ++++++++- > 2 files changed, 13 insertions(+), 1 deletion(-) FWIW: Reviewed-by: Douglas Anderson <dianders@chromium.org>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 1/2] clocksource: arm_arch_timer: Don't assume clock runs in suspend Brian Norris <briannorris@chromium.org> - 2016-10-04 20:20 +0200
[PATCH v2 2/2] arm64: dts: rockchip: arch counter doesn't tick in system suspend Brian Norris <briannorris@chromium.org> - 2016-10-04 20:20 +0200
Re: [PATCH v2 2/2] arm64: dts: rockchip: arch counter doesn't tick in system suspend Doug Anderson <dianders@chromium.org> - 2016-10-05 00:20 +0200
Re: [PATCH v2 1/2] clocksource: arm_arch_timer: Don't assume clock runs in suspend Doug Anderson <dianders@chromium.org> - 2016-10-05 00:20 +0200
csiph-web