02 Mar, 2018

1 commit


26 Oct, 2017

1 commit

  • Add support for reading and writing the RTC offset register, converting
    it to the corresponding parts-per-billion value.

    When setting the drift, the PCF8523 has two modes: one applies the
    adjustment every two hours, the other applies the adjustment every
    minute. We select between these two modes according to which ever
    gives the closest PPB value to the one requested.

    Signed-off-by: Russell King
    Signed-off-by: Alexandre Belloni

    Russell King
     

15 Mar, 2016

1 commit

  • The time and date register of the pcf8223 are undefined after a power
    reset. Properly handle the OS bit and return -EINVAL when that bit is set.

    It is properly removed when setting the time.

    This solves an issue where the time and date may be valid for
    rtc_valid_tm() but is not the current time.

    Signed-off-by: Alexandre Belloni

    Alexandre Belloni
     

12 Jan, 2016

1 commit

  • When the chip increments the YEAR register and it already holds
    bin2bcd(99) it reads as 0 afterwards. With this behaviour the last valid
    day (without trickery) that has a representation is 2099-12-31 23:59:59.
    So refuse to write later dates.

    Signed-off-by: Uwe Kleine-König
    Signed-off-by: Alexandre Belloni

    Uwe Kleine-König
     

05 Sep, 2015

1 commit


07 May, 2014

1 commit


04 Jul, 2013

1 commit


30 Apr, 2013

1 commit


22 Feb, 2013

1 commit

  • Implement reading of the battery voltage low signal for rtc-pcf8523.

    The bit is read-only and cannot be cleared by software, so no
    clear function is implemented.

    [akpm@linux-foundation.org: omit pcf8563_rtc_ioctl() if CONFIG_RTC_INTF_DEV=n]
    Signed-off-by: Jesper Nilsson
    Reviewed-by: Thierry Reding
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Nilsson
     

18 Dec, 2012

1 commit

  • Add an RTC driver for PCF8523 chips by NXP Semiconductors. No support is
    currently provided for the alarm and interrupt functions. Only the time
    and date functionality is implemented.

    Signed-off-by: Thierry Reding
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thierry Reding