{"id":819192,"url":"http://patchwork.ozlabs.org/api/patches/819192/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170927140345.5537-5-alexandre.belloni@free-electrons.com/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170927140345.5537-5-alexandre.belloni@free-electrons.com>","list_archive_url":null,"date":"2017-09-27T14:03:43","name":"[v2,4/6] dt-bindings: rtc: DS1307 and compatibles are not trivial","commit_ref":null,"pull_url":null,"state":"accepted","archived":true,"hash":"02f59aaf045a3633bd9ceb9c0885f77ff49ecf52","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/devicetree-bindings/patch/20170927140345.5537-5-alexandre.belloni@free-electrons.com/mbox/","series":[{"id":5377,"url":"http://patchwork.ozlabs.org/api/series/5377/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=5377","date":"2017-09-27T14:03:39","name":"dt-bindings: rtc: document existing bindings","version":2,"mbox":"http://patchwork.ozlabs.org/series/5377/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/819192/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/819192/checks/","tags":{},"related":[],"headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@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=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y2KMz0TPCz9tXw\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 00:05:19 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S932169AbdI0OE6 (ORCPT <rfc822; incoming-dt@patchwork.ozlabs.org>);\n\tWed, 27 Sep 2017 10:04:58 -0400","from mail.free-electrons.com ([62.4.15.54]:38058 \"EHLO\n\tmail.free-electrons.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1753142AbdI0ODv (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Wed, 27 Sep 2017 10:03:51 -0400","by mail.free-electrons.com (Postfix, from userid 110)\n\tid C86FE2090A; Wed, 27 Sep 2017 16:03:48 +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 A0B4F20892;\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 4/6] dt-bindings: rtc: DS1307 and compatibles are not\n\ttrivial","Date":"Wed, 27 Sep 2017 16:03:43 +0200","Message-Id":"<20170927140345.5537-5-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":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"Document optional properties for ds1307 and compatible RTCs\n\nSigned-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>\n---\n .../devicetree/bindings/rtc/rtc-ds1307.txt         | 36 ++++++++++++++++++++++\n .../devicetree/bindings/trivial-devices.txt        |  6 ----\n 2 files changed, 36 insertions(+), 6 deletions(-)\n create mode 100644 Documentation/devicetree/bindings/rtc/rtc-ds1307.txt","diff":"diff --git a/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt b/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt\nnew file mode 100644\nindex 000000000000..c010f18a85a0\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt\n@@ -0,0 +1,36 @@\n+Dallas DS1307 and compatible RTC\n+\n+Required properties:\n+- compatible: should be one of:\n+\t\"dallas,ds1307\",\n+\t\"dallas,ds1308\",\n+\t\"dallas,ds1337\",\n+\t\"dallas,ds1338\",\n+\t\"dallas,ds1339\",\n+\t\"dallas,ds1388\",\n+\t\"dallas,ds1340\",\n+\t\"dallas,ds1341\",\n+\t\"maxim,ds3231\",\n+\t\"st,m41t0\",\n+\t\"st,m41t00\",\n+\t\"microchip,mcp7940x\",\n+\t\"microchip,mcp7941x\",\n+\t\"pericom,pt7c4338\",\n+\t\"epson,rx8025\",\n+\t\"isil,isl12057\"\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+\trtc1: ds1339@68 {\n+\t\tcompatible = \"dallas,ds1339\";\n+\t\treg = <0x68>;\n+\t\tinterrupt-parent = <&gpio4>;\n+\t\tinterrupts = <20 0>;\n+\t};\ndiff --git a/Documentation/devicetree/bindings/trivial-devices.txt b/Documentation/devicetree/bindings/trivial-devices.txt\nindex d0666acdec66..db7dc1edd4a2 100644\n--- a/Documentation/devicetree/bindings/trivial-devices.txt\n+++ b/Documentation/devicetree/bindings/trivial-devices.txt\n@@ -36,9 +36,6 @@ atmel,at97sc3204t\ti2c trusted platform module (TPM)\n capella,cm32181\t\tCM32181: Ambient Light Sensor\n capella,cm3232\t\tCM3232: Ambient Light Sensor\n cirrus,cs42l51\t\tCirrus Logic CS42L51 audio codec\n-dallas,ds1307\t\t64 x 8, Serial, I2C Real-Time Clock\n-dallas,ds1338\t\tI2C RTC with 56-Byte NV RAM\n-dallas,ds1340\t\tI2C RTC with Trickle Charger\n dallas,ds1374\t\tI2C, 32-Bit Binary Counter Watchdog RTC with Trickle Charger and Reset Input/Output\n dallas,ds1631\t\tHigh-Precision Digital Thermometer\n dallas,ds1672\t\tDallas DS1672 Real-time Clock\n@@ -55,7 +52,6 @@ dlg,da9063\t\tDA9063: system PMIC for quad-core application processors\n domintech,dmard09\tDMARD09: 3-axis Accelerometer\n domintech,dmard10\tDMARD10: 3-axis Accelerometer\n epson,rx8010\t\tI2C-BUS INTERFACE REAL TIME CLOCK MODULE\n-epson,rx8025\t\tHigh-Stability. I2C-Bus INTERFACE REAL TIME CLOCK MODULE\n epson,rx8581\t\tI2C-BUS INTERFACE REAL TIME CLOCK MODULE\n emmicro,em3027\t\tEM Microelectronic EM3027 Real-time Clock\n fsl,mag3110\t\tMAG3110: Xtrinsic High Accuracy, 3D Magnetometer\n@@ -179,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,m41t0\t\tSerial real-time clock (RTC)\n-st,m41t00\t\tSerial real-time clock (RTC)\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","prefixes":["v2","4/6"]}