lkml.org 
[lkml]   [2004]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] 2.6 I2C epson 8564 RTC chip
    On Thu, Apr 29, 2004 at 11:49:45PM +0100, Russell King wrote:
    > On Thu, Apr 29, 2004 at 03:40:07PM -0700, Tom Rini wrote:
    > > A generic one for i2c rtcs or another generic rtc driver? There's
    > > already drivers/char/genrtc.c...
    >
    > genrtc.c lacks several features ARM needs, the big one being wakeup
    > timers. It also only provides either (configurable) emulation or no
    > support of various RTC features, rather than allowing a real RTC to
    > provide them if it can - and you need to know the details of your RTC
    > at kernel configuration time.

    Having hacked at this, and just not having had the time to clean it up a
    bit more yet, did you try adding it to genrtc at least?

    > It provides no support for translating "RTC" time into seconds and
    > vice versa which is needed for second-counter based RTCs found in
    > PXA, StrongARM, and other ARM SoC platforms.

    It couldn't be added in?

    > IOW, its fairly restrictive in what it provides and what it allows
    > architectures to provide.

    Either way, I'd like to not have 2 generic rtc drivers if at all
    possible...

    --
    Tom Rini
    http://gate.crashing.org/~trini/
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:02    [W:0.021 / U:0.860 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site