{"id":819185,"url":"http://patchwork.ozlabs.org/api/patches/819185/?format=json","web_url":"http://patchwork.ozlabs.org/project/rtc-linux/patch/20170927140345.5537-6-alexandre.belloni@free-electrons.com/","project":{"id":9,"url":"http://patchwork.ozlabs.org/api/projects/9/?format=json","name":"Linux RTC development","link_name":"rtc-linux","list_id":"linux-rtc.vger.kernel.org","list_email":"linux-rtc@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170927140345.5537-6-alexandre.belloni@free-electrons.com>","list_archive_url":null,"date":"2017-09-27T14:03:44","name":"[v2,5/6] dt-bindings: rtc: Add bindings for m41t80 and compatibles","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"82d80136246e1153bd3a6ddcd45a1330bdcac265","submitter":{"id":26276,"url":"http://patchwork.ozlabs.org/api/people/26276/?format=json","name":"Alexandre Belloni","email":"alexandre.belloni@free-electrons.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/rtc-linux/patch/20170927140345.5537-6-alexandre.belloni@free-electrons.com/mbox/","series":[{"id":5376,"url":"http://patchwork.ozlabs.org/api/series/5376/?format=json","web_url":"http://patchwork.ozlabs.org/project/rtc-linux/list/?series=5376","date":"2017-09-27T14:03:39","name":"dt-bindings: rtc: document existing bindings","version":2,"mbox":"http://patchwork.ozlabs.org/series/5376/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/819185/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/819185/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linux-rtc-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-rtc-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y2KMV1jB2z9sRq\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 00:04:54 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753207AbdI0OEd (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 27 Sep 2017 10:04:33 -0400","from mail.free-electrons.com ([62.4.15.54]:38063 \"EHLO\n\tmail.free-electrons.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1753190AbdI0ODv (ORCPT\n\t<rfc822; linux-rtc@vger.kernel.org>); Wed, 27 Sep 2017 10:03:51 -0400","by mail.free-electrons.com (Postfix, from userid 110)\n\tid 086242090B; Wed, 27 Sep 2017 16:03:49 +0200 (CEST)","from localhost (242.171.71.37.rev.sfr.net [37.71.171.242])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id DBD6A20892;\n\tWed, 27 Sep 2017 16:03:48 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on\n\tmail.free-electrons.com","X-Spam-Level":"","X-Spam-Status":"No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT,\n\tURIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0","From":"Alexandre Belloni <alexandre.belloni@free-electrons.com>","To":"linux-rtc@vger.kernel.org","Cc":"linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,\n\tdevicetree@vger.kernel.org,\n\tAlexandre Belloni <alexandre.belloni@free-electrons.com>","Subject":"[PATCH v2 5/6] dt-bindings: rtc: Add bindings for m41t80 and\n\tcompatibles","Date":"Wed, 27 Sep 2017 16:03:44 +0200","Message-Id":"<20170927140345.5537-6-alexandre.belloni@free-electrons.com>","X-Mailer":"git-send-email 2.14.2","In-Reply-To":"<20170927140345.5537-1-alexandre.belloni@free-electrons.com>","References":"<20170927140345.5537-1-alexandre.belloni@free-electrons.com>","Sender":"linux-rtc-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-rtc.vger.kernel.org>","X-Mailing-List":"linux-rtc@vger.kernel.org"},"content":"The ST M41T80 family of RTC are not trivial devices, document them.\n\nSigned-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>\n---\n .../devicetree/bindings/rtc/rtc-m41t80.txt         | 31 ++++++++++++++++++++++\n .../devicetree/bindings/trivial-devices.txt        |  2 --\n 2 files changed, 31 insertions(+), 2 deletions(-)\n create mode 100644 Documentation/devicetree/bindings/rtc/rtc-m41t80.txt","diff":"diff --git a/Documentation/devicetree/bindings/rtc/rtc-m41t80.txt b/Documentation/devicetree/bindings/rtc/rtc-m41t80.txt\nnew file mode 100644\nindex 000000000000..717d93860af1\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/rtc/rtc-m41t80.txt\n@@ -0,0 +1,31 @@\n+ST M41T80 family of RTC and compatible\n+\n+Required properties:\n+- compatible: should be one of:\n+\t\"st,m41t62\",\n+\t\"st,m41t65\",\n+\t\"st,m41t80\",\n+\t\"st,m41t81\",\n+\t\"st,m41t81s\",\n+\t\"st,m41t82\",\n+\t\"st,m41t83\",\n+\t\"st,m41t84\",\n+\t\"st,m41t85\",\n+\t\"st,m41t87\",\n+\t\"microcrystal,rv4162\",\n+- reg: I2C bus address of the device\n+\n+Optional properties:\n+- interrupt-parent: phandle for the interrupt controller.\n+- interrupts: rtc alarm interrupt.\n+- clock-output-names: From common clock binding to override the default output\n+                      clock name\n+- wakeup-source: Enables wake up of host system on alarm\n+\n+Example:\n+\trtc@68 {\n+\t\tcompatible = \"st,m41t80\";\n+\t\treg = <0x68>;\n+\t\tinterrupt-parent = <&UIC0>;\n+\t\tinterrupts = <0x9 0x8>;\n+\t};\ndiff --git a/Documentation/devicetree/bindings/trivial-devices.txt b/Documentation/devicetree/bindings/trivial-devices.txt\nindex db7dc1edd4a2..c6ae418f2e22 100644\n--- a/Documentation/devicetree/bindings/trivial-devices.txt\n+++ b/Documentation/devicetree/bindings/trivial-devices.txt\n@@ -175,8 +175,6 @@ sii,s35390a\t\t2-wire CMOS real-time clock\n silabs,si7020\t\tRelative Humidity and Temperature Sensors\n skyworks,sky81452\tSkyworks SKY81452: Six-Channel White LED Driver with Touch Panel Bias Supply\n st,24c256\t\ti2c serial eeprom  (24cxx)\n-st,m41t62\t\tSerial real-time clock (RTC) with alarm\n-st,m41t80\t\tM41T80 - SERIAL ACCESS RTC WITH ALARMS\n taos,tsl2550\t\tAmbient Light Sensor with SMBUS/Two Wire Serial Interface\n ti,ads7828\t\t8-Channels, 12-bit ADC\n ti,ads7830\t\t8-Channels, 8-bit ADC\n","prefixes":["v2","5/6"]}