11 Jan, 2012

1 commit


27 Aug, 2011

1 commit

  • Only register as an RTC device after the hardware has been
    successfully initialized. The RTC class driver will call
    back to this driver to read a pending alarm, and other
    drivers watching for new devices on the RTC class may
    read the RTC time upon registration. Such access might
    occur while the RTC is stopped, prior to clearing
    pending alarms, etc.

    The new ordering also avoids leaving the platform
    device drvdata set to an unregistered struct rtc_device *
    on probe errors.

    Signed-off-by: Todd Poynor
    Signed-off-by: John Stultz

    Todd Poynor
     

11 Aug, 2011

2 commits


26 Jul, 2011

1 commit

  • We forget to save the return value of the call to
    twl_rtc_write_u8(save_control, REG_RTC_CTRL_REG); in 'ret', making the
    test of 'ret < 0' dead code since 'ret' then couldn't possibly have
    changed since the last test just a few lines above. It also makes us not
    detect failures from that specific twl_rtc_write_u8() call.

    Signed-off-by: Jesper Juhl
    Cc: Alessandro Zummo
    Cc: Alexandre Rusev
    Cc: "George G. Davis"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     

10 Mar, 2011

1 commit

  • Now that the generic code handles UIE mode irqs via periodic
    alarm interrupts, no one calls the
    rtc_class_ops->update_irq_enable() method anymore.

    This patch removes the driver hooks and implementations of
    update_irq_enable if no one else is calling it.

    CC: Thomas Gleixner
    CC: Alessandro Zummo
    CC: Marcelo Roberto Jimenez
    CC: rtc-linux@googlegroups.com
    Signed-off-by: John Stultz

    John Stultz
     

07 Mar, 2010

1 commit

  • The C99 specification states in section 6.11.5:

    The placement of a storage-class specifier other than at the beginning of
    the declaration specifiers in a declaration is an obsolescent feature.

    Signed-off-by: Tobias Klauser
    Signed-off-by: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tobias Klauser
     

14 Dec, 2009

4 commits

  • This patch adds support for RTC in phoenix TWL6030.
    Register offset addresses have changed in TWL6030
    rtc-twl.c will hence forth support all twl RTC (4030, 5030, 6030 ..)

    Signed-off-by: Balaji T K
    Signed-off-by: Santosh Shilimkar
    Reviewed-by: Tony Lindgren
    Reviewed-by: Kevin Hilman
    Signed-off-by: Samuel Ortiz

    Balaji T K
     
  • This patch renames all twl4030_ functions to twl_ so that RTC driver can be
    shared between Triton and Phoenix.

    Signed-off-by: Balaji T K
    Signed-off-by: Nayak Rajendra
    Signed-off-by: Santosh Shilimkar
    Acked-by: Kevin Hilman
    Signed-off-by: Samuel Ortiz

    Balaji T K
     
  • This patch renames function names like twl4030_i2c_write_u8,
    twl4030_i2c_read_u8 to twl_i2c_write_u8, twl_i2c_read_u8
    and also common variable in twl-core.c

    Signed-off-by: Rajendra Nayak
    Signed-off-by: Balaji T K
    Signed-off-by: Santosh Shilimkar
    Acked-by: Kevin Hilman
    Signed-off-by: Samuel Ortiz

    Balaji T K
     
  • The upcoming TWL6030 is companion chip for OMAP4 like the current TWL4030
    for OMAP3. The common modules like RTC, Regulator creates opportunity
    to re-use the most of the code from twl4030.

    This patch renames few common drivers twl4030* files to twl* to enable
    the code re-use.

    Signed-off-by: Rajendra Nayak
    Signed-off-by: Balaji T K
    Signed-off-by: Santosh Shilimkar
    Acked-by: Kevin Hilman
    Signed-off-by: Samuel Ortiz

    Santosh Shilimkar