summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-pic32.c
Commit message (Collapse)AuthorAgeFilesLines
* rtc: pic32: convert to SPDX identifierAlexandre Belloni2019-03-041-9/+1Star
| | | | | | Use SPDX-License-Identifier instead of a verbose license text. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
* rtc: pic32: let the core handle rangeAlexandre Belloni2019-03-041-7/+3Star
| | | | | | Let the core handle the RTC range instead of open coding it. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
* rtc: pic32: convert to devm_rtc_allocate_deviceAlexandre Belloni2019-03-041-6/+8
| | | | | | This allows further improvement of the driver. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
* rtc: pic32: Switch to use %ptRAndy Shevchenko2018-12-101-14/+4Star
| | | | | | | | Use %ptR instead of open coded variant to print content of struct rtc_time in human readable format. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
* rtc: stop validating rtc_time in .read_timeAlexandre Belloni2018-03-021-1/+1
| | | | | | | The RTC core is always calling rtc_valid_tm after the read_time callback. It is not necessary to call it just before returning from the callback. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
* rtc: pic32: Delete owner assignmentMarkus Elfring2016-08-311-1/+0Star
| | | | | | | | The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
* rtc: pic32: Add PIC32 real time clock driverJoshua Henderson2016-03-141-0/+411
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>