From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753746AbcFUHTt (ORCPT ); Tue, 21 Jun 2016 03:19:49 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:36077 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751628AbcFUHTp (ORCPT ); Tue, 21 Jun 2016 03:19:45 -0400 From: Andrey Smirnov To: rtc-linux@googlegroups.com Cc: Andrey Smirnov , Alessandro Zummo , Alexandre Belloni , linux-kernel@vger.kernel.org, cphealy@gmail.com Subject: [PATCH v2 00/17] DS1341 support and code cleanup Date: Tue, 21 Jun 2016 00:18:22 -0700 Message-Id: <1466493519-11277-1-git-send-email-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.5.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi everyone, This set is a v2 of the DS1307 driver patches. Changes since v1: - Devicetree bindings are separated into a separate commit - Device tree properties now have vendor specific prefixes and documenatation explicitly stating their type - Three more patches, with improvements to rtctest.c, are added to the patchset Any feedback is appreciated. Thank you, Andrey Smirnov Andrey Smirnov (17): RTC: ds1307: Add DS1341 variant RTC: ds1307: Disable square wave and timers as default RTC: ds1307: Add devicetree bindings for DS1341 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 RTC: rtctest: Change alarm IRQ support detection RTC: rtctest: Change no IRQ detection for RTC_IRQP_READ RTC: rtctest: Change no IRQ detection for RTC_IRQP_SET .../devicetree/bindings/rtc/dallas,ds1341.txt | 23 + drivers/rtc/rtc-ds1307.c | 742 ++++++++++++--------- tools/testing/selftests/timers/rtctest.c | 13 +- 3 files changed, 467 insertions(+), 311 deletions(-) create mode 100644 Documentation/devicetree/bindings/rtc/dallas,ds1341.txt -- 2.5.5