[PATCH v2 0/2] rtc: Add a driver for Cadence RTC

From: Jan Kotas
Date: Fri Jan 11 2019 - 10:14:52 EST


This patchset adds a driver support for Cadence RTC IP.
It supports time, date and wakeups from sleep.

Changes since v1:
Added devm_rtc_allocate_device before requesting an IRQ
Added range_min, range_max values
Return -EINVAL for read_time() if RTC is disabled
Fixed some typos

Jan Kotas (2):
dt-bindings: rtc: Add bindings for Cadence RTC
rtc: Add Cadence RTC driver

Documentation/devicetree/bindings/rtc/cdns,rtc.txt | 25 ++
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-cadence.c | 423 +++++++++++++++++++++
4 files changed, 459 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/cdns,rtc.txt
create mode 100644 drivers/rtc/rtc-cadence.c

--
2.15.0