03 Apr, 2015

1 commit

  • This driver has a number of y2038/y2106 issues.

    This patch resolves them by:

    - Replacing rtc_tm_to_time() with rtc_tm_to_time64()
    - Replacing rtc_time_to_tm() with rtc_time64_to_tm()
    - Changing ab3100_rtc_set_mmss() to use rtc_class_ops's set_mmss64()

    After this patch, the driver should not have any remaining
    y2038/y2106 issues.

    Signed-off-by: Xunlei Pang
    Signed-off-by: John Stultz
    Acked-by: Alessandro Zummo
    Acked-by: Linus Walleij
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/1427945681-29972-10-git-send-email-john.stultz@linaro.org
    Signed-off-by: Ingo Molnar

    Xunlei Pang
     

20 Oct, 2014

1 commit


04 Jul, 2013

2 commits

  • After the switch to devm_ functions and the removal of
    rtc_device_unregister(), the 'remove' function does not do anything.
    Delete it.

    Signed-off-by: Sachin Kamat
    Acked-by: Linus Walleij
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sachin Kamat
     
  • The driver core clears the driver data to NULL after device_release or
    on probe failure, since commit 0998d063100 ("device-core: Ensure drvdata
    = NULL when no driver is bound"). Thus, it is not needed to manually
    clear the device driver data to NULL.

    Signed-off-by: Jingoo Han
    Cc: Lars-Peter Clausen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jingoo Han
     

30 Apr, 2013

2 commits


23 Sep, 2010

1 commit


28 May, 2010

2 commits

  • The interface for the AB3100 is changed to make way for the
    ABX500 family of chips: AB3550, AB5500 and future ST-Ericsson
    Analog Baseband chips. The register access functions are moved
    out to a separate struct abx500_ops. In this way the interface
    is moved from the implementation and the sub functionality drivers
    can keep their interface intact when chip infrastructure and
    communication mechanisms changes. We also define the AB3550
    device IDs and the AB3550 platform data struct and convert
    the catenated 32bit event to an array of 3 x 8bits.

    Signed-off-by: Mattias Wallin
    Signed-off-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Mattias Wallin
     
  • The goal here is to make way for a more general interface for the
    analog baseband chips ab3100 ab3550 ab550 and future chips.

    This patch have been divided into two parts since both changing name
    and content of a file is not recommended in git.

    Signed-off-by: Mattias Wallin
    Signed-off-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Linus Walleij
     

17 Sep, 2009

1 commit

  • This adds support for the RTC found inside the AB3100 Mixed Signal chip.
    The symbols used for communicating with the chip is found in the
    mfd/ab3100-core.c driver that also provides the platform device.

    Signed-off-by: Linus Walleij
    Acked-by: Alessandro Zummo
    Signed-off-by: Samuel Ortiz

    Linus Walleij