mbox series

[v3,0/2] rtc: Add a driver for Cadence RTC

Message ID 20190122104216.12077-1-jank@cadence.com
Headers show
Series rtc: Add a driver for Cadence RTC | expand

Message

Jan Kotas Jan. 22, 2019, 10:42 a.m. UTC
This patchset adds a driver support for Cadence RTC IP.
It supports time, date and wakeups from sleep.

Changes since v2:
	Fixed a typo in the bindings documentation.

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

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

Comments

Alexandre Belloni Jan. 22, 2019, 6:18 p.m. UTC | #1
On 22/01/2019 10:42:14+0000, Jan Kotas wrote:
> This patchset adds a driver support for Cadence RTC IP.
> It supports time, date and wakeups from sleep.
> 
> Changes since v2:
> 	Fixed a typo in the bindings documentation.
> 
> 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
> 
> Jan Kotas (2):
>   dt-bindings: rtc: Add bindings for Cadence RTC
>   rtc: Add Cadence RTC driver
> 
Both applied, thanks (only once ;))