1. 19 May, 2018 1 commit
  2. 18 May, 2018 1 commit
    • Alexandre Belloni's avatar
      rtc: ls1x: add range · d7599245
      Alexandre Belloni authored
      While the year is encoded on 32 bits in SYS_TOYWRITE1i/SYS_TOYREAD1. The
      Loongson 1c datasheet states that the range is from 0 to 99.
      
      The current code exceeds this range and seems to be working, I deduce that
      the leap year algorithm will fail in 2100.
      
      Anyway, alarm registers only encode the year on 14 bits so with alarm
      support, the range will always be limited to 0 to 16383.
      Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
      d7599245
  3. 17 May, 2018 24 commits
  4. 16 May, 2018 1 commit
  5. 14 May, 2018 1 commit
  6. 06 May, 2018 4 commits
  7. 03 May, 2018 7 commits
  8. 19 Apr, 2018 1 commit
    • Zhang Rui's avatar
      rtc: cmos: introduce quirks to enable use_acpi_alarm mode · 36d91a4d
      Zhang Rui authored
      Use ACPI for RTC Alarm only for Intel platforms
      1. with Low Power S0 support
      2. with HPET RTC emulation enabled
      3. no earlier than 2015
      
      Note that, during the test, it is found that this patch
      1. works in 4.15-rc kernel
      2. hangs the platform after suspend-to-idle for 2 or 3 times, in 4.15.0
      3. works again in 4.16-rc3 kernel.
      4. works in the latest 4.15.12 stable kernel.
      
      Thus although this patch breaks 4.15.0 kernel for some unknown reason,
      still, it is safe for both upstream and backport.
      Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
      Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
      36d91a4d