Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1235884

Re: [RFC/PATCH 00/11] arm: omap: counter32k rework

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [RFC/PATCH 00/11] arm: omap: counter32k rework
Date 2015-09-30 10:30 +0200
Message-ID <qekVZ-7TY-17@gated-at.bofh.it> (permalink)
References <qea0x-Ak-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tuesday 29 September 2015 15:43:55 Felipe Balbi wrote:
> 
> the following patches de-obfuscate arch/arm/mach-omap2/timer.c
> and start moving code to drivers/clocksource. So far only counter32k
> has been moved over.
> 
> Note that we can't get rid of all the code (yet) because there are
> still platforms relying to legacy boot and because of the strong
> coupling with OMAP's hwmod layer.
> 
> This is, for now, an RFC and has be written on top of [1]. Boot tested
> with AM335x and AM437x.
> 
> [1] http://marc.info/?l=linux-omap&m=144354336924308&w=2

Looks very nice!

> ps: if anybody has a good idea on how to get rid of
> register_persistent_clock(), please let me know

I don't think we want to get rid of that, because it is the more
accurate interface. IIRC systems that have an RTC will use
timekeeping_inject_sleeptime64() in rtc_resume(). I don't know however
how the two methods are coordinated, i.e. how the kernel ensures that
exactly one of the two is used, but never both.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC/PATCH 00/11] arm: omap: counter32k rework Felipe Balbi <balbi@ti.com> - 2015-09-29 22:50 +0200
  Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Arnd Bergmann <arnd@arndb.de> - 2015-09-30 10:30 +0200
    Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Felipe Balbi <balbi@ti.com> - 2015-09-30 16:20 +0200
      Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Arnd Bergmann <arnd@arndb.de> - 2015-09-30 16:50 +0200
        Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Felipe Balbi <balbi@ti.com> - 2015-09-30 17:00 +0200
        Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Arnd Bergmann <arnd@arndb.de> - 2015-09-30 17:00 +0200
          Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Thierry Reding <thierry.reding@gmail.com> - 2015-09-30 17:10 +0200
          Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Daniel Lezcano <daniel.lezcano@linaro.org> - 2015-10-02 00:20 +0200
            Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Tony Lindgren <tony@atomide.com> - 2015-10-05 13:00 +0200
              Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Arnd Bergmann <arnd@arndb.de> - 2015-10-05 13:10 +0200
                Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Tony Lindgren <tony@atomide.com> - 2015-10-05 13:20 +0200
                Re: [RFC/PATCH 00/11] arm: omap: counter32k rework Arnd Bergmann <arnd@arndb.de> - 2015-10-05 14:30 +0200

csiph-web