diff options
author | Joshua Henderson <joshua.henderson@microchip.com> | 2016-02-25 18:30:44 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-03-14 17:08:21 +0100 |
commit | 51aa905c912385ee99791b2ced80646f37b9fe0a (patch) | |
tree | a5e8fe2528353749213fd6b87c599ca6b9b404d9 /drivers/rtc/Kconfig | |
parent | dt/bindings: Add bindings for the PIC32 real time clock (diff) | |
download | linux-51aa905c912385ee99791b2ced80646f37b9fe0a.tar.xz linux-51aa905c912385ee99791b2ced80646f37b9fe0a.zip |
rtc: pic32: Add PIC32 real time clock driver
This driver adds support for the PIC32 real time clock and calendar
peripheral:
- reading and setting time
- alarms provided by dedicated IRQ
Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index f8a67e792fdd..2bcc861bda59 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1641,6 +1641,16 @@ config RTC_DRV_XGENE This driver can also be built as a module, if so, the module will be called "rtc-xgene". +config RTC_DRV_PIC32 + tristate "Microchip PIC32 RTC" + depends on MACH_PIC32 + default y + help + If you say yes here you get support for the PIC32 RTC module. + + This driver can also be built as a module. If so, the module + will be called rtc-pic32 + comment "HID Sensor RTC drivers" config RTC_DRV_HID_SENSOR_TIME |