From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933038AbcFUH0F (ORCPT ); Tue, 21 Jun 2016 03:26:05 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:35870 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753221AbcFUHZS (ORCPT ); Tue, 21 Jun 2016 03:25:18 -0400 From: Andrey Smirnov To: rtc-linux@googlegroups.com Cc: Andrey Smirnov , Alessandro Zummo , Alexandre Belloni , linux-kernel@vger.kernel.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, cphealy@gmail.com Subject: [PATCH v2 03/17] RTC: ds1307: Add devicetree bindings for DS1341 Date: Tue, 21 Jun 2016 00:22:36 -0700 Message-Id: <1466493770-11895-2-git-send-email-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1466493770-11895-1-git-send-email-andrew.smirnov@gmail.com> References: <1466493770-11895-1-git-send-email-andrew.smirnov@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devicetree bindings for DS1341 that allow to control settings affecting power consumption of the chip. Signed-off-by: Andrey Smirnov --- .../devicetree/bindings/rtc/dallas,ds1341.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/dallas,ds1341.txt diff --git a/Documentation/devicetree/bindings/rtc/dallas,ds1341.txt b/Documentation/devicetree/bindings/rtc/dallas,ds1341.txt new file mode 100644 index 0000000..7942dd0 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/dallas,ds1341.txt @@ -0,0 +1,23 @@ +* Dallas DS1341 I2C Serial Real-Time Clock + +Required properties: + +- compatible: Should contain "dallas,ds1341". + +- reg: I2C address for chip + +Optional properties: + +- dallas,disable-oscillator-stop-flag : Boolean. Configure chip to disable oscillator + fault detection circuitry. Setting this flag is beneficial for power saving. + +- dallas,enable-glitch-filter : Boolean. Configure chip to enable crystal oscillator + output glitch filtering. Setting this flag will increase power consumption. + +Example: + ds1341: rtc@68 { + compatible = "dallas,ds1341"; + dallas,disable-oscillator-stop-flag; + dallas,enable-glitch-filter; + reg = <0x68>; + }; -- 2.5.5