{"id":814010,"url":"http://patchwork.ozlabs.org/api/patches/814010/?format=json","web_url":"http://patchwork.ozlabs.org/project/rtc-linux/patch/20170915010534.17637-1-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":"<20170915010534.17637-1-alexandre.belloni@free-electrons.com>","list_archive_url":null,"date":"2017-09-15T01:05:34","name":"dt-bindings: RTC: DS1307 and compatibles are not trivial","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"ead184cc8fa35f4abb37bbb52ff4ed0fbee9f675","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/20170915010534.17637-1-alexandre.belloni@free-electrons.com/mbox/","series":[{"id":3184,"url":"http://patchwork.ozlabs.org/api/series/3184/?format=json","web_url":"http://patchwork.ozlabs.org/project/rtc-linux/list/?series=3184","date":"2017-09-15T01:05:34","name":"dt-bindings: RTC: DS1307 and compatibles are not trivial","version":1,"mbox":"http://patchwork.ozlabs.org/series/3184/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/814010/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/814010/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 3xtcf84zLyz9sPr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 15 Sep 2017 11:05:52 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751679AbdIOBFv (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tThu, 14 Sep 2017 21:05:51 -0400","from mail.free-electrons.com ([62.4.15.54]:52426 \"EHLO\n\tmail.free-electrons.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751516AbdIOBFu (ORCPT\n\t<rfc822; linux-rtc@vger.kernel.org>); Thu, 14 Sep 2017 21:05:50 -0400","by mail.free-electrons.com (Postfix, from userid 110)\n\tid 33D73209A2; Fri, 15 Sep 2017 03:05:49 +0200 (CEST)","from localhost (unknown [12.145.98.253])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 9514920917;\n\tFri, 15 Sep 2017 03:05:37 +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] dt-bindings: RTC: DS1307 and compatibles are not trivial","Date":"Fri, 15 Sep 2017 03:05:34 +0200","Message-Id":"<20170915010534.17637-1-alexandre.belloni@free-electrons.com>","X-Mailer":"git-send-email 2.14.1","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":"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         | 37 ++++++++++++++++++++++\n .../devicetree/bindings/trivial-devices.txt        |  6 ----\n 2 files changed, 37 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..d1a820e25cb9\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt\n@@ -0,0 +1,37 @@\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};\n+\ndiff --git a/Documentation/devicetree/bindings/trivial-devices.txt b/Documentation/devicetree/bindings/trivial-devices.txt\nindex e3992013133e..4353151367a1 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":[]}