OSDN Git Service

rtc: add mxc driver for i.MX53 SRTC
authorPatrick Bruenn <p.bruenn@beckhoff.com>
Mon, 18 Dec 2017 11:51:32 +0000 (12:51 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 11 Jan 2018 23:20:39 +0000 (00:20 +0100)
commit83c880f79e88cc60593f627e612326f5d43db81e
tree2c4436e2667c56530a67c931ae2eb438e4f69a22
parent3394f594de244632c682f9faee054063158f8941
rtc: add mxc driver for i.MX53 SRTC

Neither rtc-imxdi, rtc-mxc nor rtc-snvs are compatible with i.MX53.

This is driver enables support for the low power domain SRTC features:
- 32-bit MSB of non-rollover time counter
- 32-bit alarm register

Select the new config option RTC_DRV_MXC_V2 to build this driver

Based on:
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/rtc/rtc-mxc_v2.c?h=imx_2.6.35_11.09.01

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
Acked-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-mxc_v2.c [new file with mode: 0644]