Received: by 10.223.176.5 with SMTP id f5csp4103712wra; Tue, 30 Jan 2018 02:07:17 -0800 (PST) X-Google-Smtp-Source: AH8x227BY6MXUReJ7wmsiACLa4PqsEdy9cbHmLVZoyUzNfabIvXRXVOtheao3qkemjjxfogEErBy X-Received: by 10.99.127.90 with SMTP id p26mr23119836pgn.343.1517306837174; Tue, 30 Jan 2018 02:07:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517306837; cv=none; d=google.com; s=arc-20160816; b=lNUsFZjW8swfa0R3Vq0PFEYt/i4bozWegUXgkoVLQmzf22EFZujmFYhchsdxNVv0bd CHFlwIjQEkqGx0xRtjuJ/F9hWdvgSInKSrfYHCDCU6QitCdqLCZX74nwKTc9mjaf+L73 VdPfmmzLl74/wqyxMB9qOG697wF+aCaislUg6Sn2EWplxJW6kfFhIKaBdxW2AaQNJJNs HgCjORReNLwVlGTiVb0T171YUAAWaMUYXam2xYm+XFmW06gJGCcI2X4quDVHgJraSOSu n15OJ/PZuSYJSFyfAzV79zkinVagdALagK/zQBfYI1G+w4OC/fc7SQIQ0QLAHVu5eTeV hb7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=QRTBkND7sCNHSOI/i/MUH/mEAKFTYkWxhU3kte7Bta4=; b=r9iRSwcSViGjzMRfb22+dro/rBTPVWdYRtQ1fRFTmJ5BrVxaJwXMdCTujfssZATyz1 8t6xbnkV7r7By/TU/vlmL4qLj7Eqzm8+NUIEtiuaLw1Trngc+zRVth6Xp0L+hIfGsMIu 8hdqKXIPL80p3zfcfdNd5p3P1sRw9ItykKTfdTU06/LdX73m5+hb/UPy6WT7JiuOeqtG kfJlfDyq/cksy54IHIs1eBiJinGZqFuUmDpmjX0RgWQUHZFr/hG6xnlZ66DfyWVUFpic LCEpG6pRkxnHVDYz27XrE26Wvm1SBVaiqAhWGB4NKWiws8cVLoDi0loUbghPUX/FoFtP /ssw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o11si9031037pgn.796.2018.01.30.02.07.02; Tue, 30 Jan 2018 02:07:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751927AbeA3KGi (ORCPT + 99 others); Tue, 30 Jan 2018 05:06:38 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:36173 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751925AbeA3KGe (ORCPT ); Tue, 30 Jan 2018 05:06:34 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 7B290219A6; Tue, 30 Jan 2018 11:06:32 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [37.71.171.242]) by mail.free-electrons.com (Postfix) with ESMTPSA id 40D122198E; Tue, 30 Jan 2018 11:06:22 +0100 (CET) Date: Tue, 30 Jan 2018 11:06:21 +0100 From: Alexandre Belloni To: Michael Grzeschik Cc: a.zummo@towertech.it, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux@roeck-us.net, jdelvare@suse.com, kernel@pengutronix.de, Denis.Osterland@diehl.com Subject: Re: [PATCH 2/4] rtc: isl1208: Add device tree binding documentation Message-ID: <20180130100621.GC2809@piout.net> References: <20180123121801.4214-1-m.grzeschik@pengutronix.de> <20180123121801.4214-3-m.grzeschik@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180123121801.4214-3-m.grzeschik@pengutronix.de> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 23/01/2018 at 13:17:59 +0100, Michael Grzeschik wrote: > From: Denis Osterland > > Wrote documentation for ISL1208, ISL1218 device tree > binding with short examples. > This binding is already in Documentation/devicetree/bindings/trivial-devices.txt, no need to duplicate. > Signed-off-by: Denis Osterland > Signed-off-by: Michael Grzeschik > --- > .../devicetree/bindings/rtc/intersil,isl1208.txt | 35 ++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rtc/intersil,isl1208.txt > > diff --git a/Documentation/devicetree/bindings/rtc/intersil,isl1208.txt b/Documentation/devicetree/bindings/rtc/intersil,isl1208.txt > new file mode 100644 > index 0000000000000..a54e99feae1ca > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/intersil,isl1208.txt > @@ -0,0 +1,35 @@ > +Intersil ISL1208, ISL1218 I2C RTC/Alarm chip > + > +ISL1208 is a trivial I2C device (it has simple device tree bindings, > +consisting of a compatible field, an address and possibly an interrupt > +line). > + > +Required properties supported by the device: > + > + - "compatible": must be one of > + "isil,isl1208" > + "isil,isl1218" > + - "reg": I2C bus address of the device > + > +Optional properties: > + > + - "interrupt-parent", "interrupts", "interrupts-extended": > + for passing the interrupt line of the SoC connected to #IRQ pin > + of the RTC chip. > + > + > +Example isl1208 node without #IRQ pin connected: > + > + isl1208: isl1208@68 { > + compatible = "isil,isl1208"; > + reg = <0x68>; > + }; > + > +Example isl1208 node with #IRQ pin connected to SoC gpio1 pin 12: > + > + isl1208: isl1208@68 { > + compatible = "isil,isl1208"; > + reg = <0x68>; > + interrupt-parent = <&gpio1>; > + interrupts = <12 IRQ_TYPE_EDGE_FALLING>; > + }; > -- > 2.11.0 > -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com