[PATCH 00/13] DS1341 support and code cleanup
From: Andrey Smirnov
Date: Wed Jun 15 2016 - 02:00:32 EST
Hi everyone,
This patch set contains code to add support for DS1341 variant of the
chip, as well as code to support enabling/disabling some of its power
savings features. Lastly the set contains a number of code cleanups
intended to improve the readability of driver's code.
Any feedback is appreciated!
Thank you,
Andrey Smirnov
Andrey Smirnov (13):
RTC: ds1307: Add DS1341 variant
RTC: ds1307: Disable square wave and timers as default
RTC: ds1307: Add DS1341 specific power-saving options
RTC: ds1307: Convert ds1307_can_wakeup_device into a predicate
RTC: ds1307: Convert want_irq into a predicate
RTC: ds1307: Move chip configuration into a separate routine
RTC: ds1307: Move chip sanity checking into a separate routine
RTC: ds1307: Remove register "cache"
RTC: ds1307: Constify struct ds1307 where possible
RTC: ds1307: Convert goto to a loop
RTC: ds1307: Redefine RX8025_REG_* to minimize extra code
RTC: ds1307: Report oscillator problems more intelligently
RTC: ds1307: Move last bits of sanity checking out of chip_configure
.../devicetree/bindings/rtc/dallas,ds1341.txt | 23 +
drivers/rtc/rtc-ds1307.c | 742 ++++++++++++---------
2 files changed, 457 insertions(+), 308 deletions(-)
create mode 100644 Documentation/devicetree/bindings/rtc/dallas,ds1341.txt
--
2.5.5