[GIT PULL] RTC for 4.13

From: Alexandre Belloni
Date: Thu Jul 13 2017 - 05:02:08 EST


Hi Linus,

Here is the pull-request for the RTC subsystem for 4.13.

The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6:

Linux 4.12-rc1 (2017-05-13 13:19:49 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git tags/rtc-4.13

for you to fetch changes up to 40bf6a35483ee25271ce2a90d8976cf1409a033a:

rtc: Remove wrong deprecation comment (2017-07-12 23:11:23 +0200)

----------------------------------------------------------------
RTC for 4.13

Subsystem:
- expose non volatile RAM using nvmem instead of open coding in many
drivers. Unfortunately, this option has to be enabled by default to not
break existing users.
- rtctest can now test for cutoff dates, showing when an RTC will start
failing to properly save time and date.
- new RTC registration functions to remove race conditions in drivers

Newly supported RTCs:
- Broadcom STB wake-timer
- Epson RX8130CE
- Maxim IC DS1308
- STMicroelectronics STM32H7

Drivers:
- ds1307: use regmap, use nvmem, more cleanups
- ds3232: temperature reading support
- gemini: renamed to ftrtc010
- m41t80: use CCF to expose the clock
- rv8803: use nvmem
- s3c: many cleanups
- st-lpc: fix y2106 bug

----------------------------------------------------------------
Alexandre Belloni (17):
rtc: sysfs: make name uniform
rtc: dev: remove rtc->name from debug message
rtc: pcf8563: avoid using rtc->name
rtc: ds1307: avoid using rtc-name
rtc: remove rtc_device.name
rtc: class separate device allocation from registration
rtc: class separate id allocation from registration
rtc: introduce new registration method
rtc: at91rm9200: remove race condition
rtc: add generic nvmem support
rtc: rv8803: switch to rtc_register_device
rtc: rv8803: use generic nvmem support
rtc: rv8803: remove rv8803_remove
rtc: ds1307: switch to rtc_register_device
rtc: ds1307: use generic nvmem
rtc: ds1307: remove ds1307_remove
rtc: Remove wrong deprecation comment

Amelie Delaunay (2):
dt-bindings: rtc: stm32: add support for STM32H7
rtc: stm32: add STM32H7 RTC support

Arnd Bergmann (1):
nvmem: include linux/err.h from header

Benjamin Gaignard (3):
tools: timer: add rtctest_setdate
rtc: rtctest: add check for problematic dates
rtc: st-lpc: make it robust against y2038/2106 bug

Brian Norris (1):
rtc: brcmstb-waketimer: Add Broadcom STB wake-timer

Dan Carpenter (1):
rtc: rtc-nuc900: fix loop timeout test

David Lowe (1):
rtc: rtc-ds1307: enable support for mcp794xx as a wakeup source without IRQ

Diaz de Grenu, Jose (1):
rtc: mxc: remove unused variable

Florian Fainelli (1):
dt-bindings: Document the Broadcom STB wake-up timer node

Gary Bisson (4):
rtc: m41t80: fix SQWE override when setting an alarm
rtc: m41t80: fix SQW dividers override when setting a date
rtc: m41t80: remove sqw sysfs entry
rtc: m41t80: add clock provider support

Heiner Kallweit (3):
rtc: ds1307: convert driver to regmap
rtc: ds1307: use regmap_update_bits where applicable
rtc: ds1307: factor out century bit handling

Kirill Esipov (1):
rtc: ds3232: add temperature support

Krzysztof Kozlowski (6):
rtc: s3c: Jump to central exit point on getting src clock error
rtc: s3c: Minor white-space cleanups
rtc: s3c: Drop unneeded cast to void pointer
rtc: s3c: Do not remove const from rodata memory
rtc: s3c: Handle clock prepare failures in probe
rtc: s3c: Handle clock enable failures

Linus Walleij (3):
rtc: gemini: Add optional clock handling
rtc: gemini: Augment DT bindings for Faraday
rtc: gemini/ftrtc010: rename driver and symbols

Marek Vasut (1):
rtc: ds1307: Add support for Epson RX8130CE

Mauro Carvalho Chehab (1):
rtc.txt: standardize document format

Sean Nyekjaer (1):
rtc: ds1307: add ds1308 variant

Vaibhav Jain (3):
rtc: opal: Handle disabled TPO in opal_get_tpo_time()
rtc: interface: Validate alarm-time before handling rollover
rtc: opal: Implement rtc_class_ops.alarm_irq_enable callback

.../bindings/rtc/brcm,brcmstb-waketimer.txt | 22 +
.../devicetree/bindings/rtc/cortina,gemini.txt | 14 -
.../devicetree/bindings/rtc/faraday,ftrtc010.txt | 28 +
.../devicetree/bindings/rtc/st,stm32-rtc.txt | 32 +-
Documentation/rtc.txt | 46 +-
MAINTAINERS | 2 +-
drivers/rtc/Kconfig | 37 +-
drivers/rtc/Makefile | 4 +-
drivers/rtc/class.c | 202 +++--
drivers/rtc/interface.c | 9 +-
drivers/rtc/nvmem.c | 113 +++
drivers/rtc/rtc-at91rm9200.c | 14 +-
drivers/rtc/rtc-brcmstb-waketimer.c | 330 +++++++
drivers/rtc/rtc-core.h | 8 +
drivers/rtc/rtc-dev.c | 2 +-
drivers/rtc/rtc-ds1307.c | 957 ++++++++++-----------
drivers/rtc/rtc-ds3232.c | 119 +++
drivers/rtc/{rtc-gemini.c => rtc-ftrtc010.c} | 119 ++-
drivers/rtc/rtc-m41t80.c | 251 ++++--
drivers/rtc/rtc-mxc.c | 11 -
drivers/rtc/rtc-nuc900.c | 2 +-
drivers/rtc/rtc-opal.c | 32 +-
drivers/rtc/rtc-pcf8563.c | 2 +-
drivers/rtc/rtc-rv8803.c | 72 +-
drivers/rtc/rtc-s3c.c | 147 ++--
drivers/rtc/rtc-st-lpc.c | 19 +-
drivers/rtc/rtc-stm32.c | 82 +-
drivers/rtc/rtc-sysfs.c | 3 +-
include/linux/nvmem-provider.h | 3 +
include/linux/rtc.h | 21 +-
tools/testing/selftests/timers/Makefile | 2 +-
tools/testing/selftests/timers/rtctest.c | 128 ++-
tools/testing/selftests/timers/rtctest_setdate.c | 86 ++
33 files changed, 2027 insertions(+), 892 deletions(-)
create mode 100644 Documentation/devicetree/bindings/rtc/brcm,brcmstb-waketimer.txt
delete mode 100644 Documentation/devicetree/bindings/rtc/cortina,gemini.txt
create mode 100644 Documentation/devicetree/bindings/rtc/faraday,ftrtc010.txt
create mode 100644 drivers/rtc/nvmem.c
create mode 100644 drivers/rtc/rtc-brcmstb-waketimer.c
rename drivers/rtc/{rtc-gemini.c => rtc-ftrtc010.c} (50%)
create mode 100644 tools/testing/selftests/timers/rtctest_setdate.c

--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Attachment: signature.asc
Description: PGP signature