Received: by 10.223.176.5 with SMTP id f5csp3576656wra; Mon, 29 Jan 2018 15:34:58 -0800 (PST) X-Google-Smtp-Source: AH8x226eXVe40eqs7V1/B+G5y8KNdnbkOFKifwuUrmVF+vX6YKqfY9n6cQz8UF3emZSm18cY3QlY X-Received: by 2002:a17:902:f64:: with SMTP id 91-v6mr22785717ply.417.1517268898610; Mon, 29 Jan 2018 15:34:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517268898; cv=none; d=google.com; s=arc-20160816; b=JO978BzKSE/SsmlbXVF9ntKyYf56fX5brRPO5ApZ8SzOQEPGLn081/qUn/XU9dCGE0 ccx+ZZt8i41pQHQQmQSHXnSMUdByqDive8QxrK0MAmFGbUYyYeVz+IkNkQ8Gh1EZ5fMT X1RZmiRs3XmU8igIbG1fvPfeVMBscWpQV3s30gm2W1hl8jE6WyEpWCKT35Y88bhSOIEk VIcWRl1y0Di1vomnuLnHmXGxLop50eeVayFWqRxmotOaO7n0V6fRBCaXHitUWI0HPoDS nBwayAMWJ34JnOX4Bw6cPOwvgQFqaW1YWDoanmQxEE+M9KSl9wV41JvvMb4BQVDit6ax hLmg== 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=pAa6LHW6ijsDyP8t0ezXMwTZPpoq9CoWM+I7EaJr92o=; b=VjAdFBgkFrioih1AkOUwct1fg0zIYY3ws0uwblOnNx2QHdrTd4TpVktmAtVPV+6AL6 Sl/Dmg/pH36nABith/38jqli/TfLC1+XrputV7J/Nj72JzO41Kcf/F7/pmI3BKsMjdOJ hZCXFxyZkFQ99sa1M3RiXnOatj6Jem4hCEXJ2U3iUOT/SU6rhLbUWhe+Byr6v6xKJcRT KwYUba+lvivV8ks9d3rctqdzPBYDdKyQtZcqIsO0hgNICMe9kvlmbuAb04KijjrKUXmy gq4PrgwqJnlXek+HzyAYFYNk534TPq1tBMoCe1aBfQ/e62gBurI5P4u5usLzzyF3wBZn BRjg== 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 k6-v6si1898316pla.496.2018.01.29.15.34.44; Mon, 29 Jan 2018 15:34:58 -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 S1752089AbeA2XeO (ORCPT + 99 others); Mon, 29 Jan 2018 18:34:14 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:44853 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751816AbeA2XeM (ORCPT ); Mon, 29 Jan 2018 18:34:12 -0500 Received: by mail-oi0-f66.google.com with SMTP id b3so3494928oib.11; Mon, 29 Jan 2018 15:34:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=pAa6LHW6ijsDyP8t0ezXMwTZPpoq9CoWM+I7EaJr92o=; b=npvHzMHez7PsvPpyYh3OpVcBeci4eE6e+8lFi28bLfho1cRHpMQKrBw4WmnwMSSazl zdC5see+tCV0CnnkPWkzCFmD9xavpyu4cgCB/Jv7+z84X6ra4oC2PcW1U+QxGC4nH+4L f67kGL4yCcLI3VcFpZ2ctzMXoWMawlel1OFLzPq16qggVK3gQ/cG7ne7FKQnu+x3wW03 io5pau6CYL1u8VYVzzFa7ZJXgx4hHq6gIaxRIBgv0sd1TvX4RdqdzXW5BNkiVSrYVssj LboTLglJHqkXqNqzl+gcOKDc9kOd7hKLx67NCCW0T2OvlFQsKhf3AYh7slva6DqeS0ti n4kQ== X-Gm-Message-State: AKwxyte5R6y4Ha8nr9kyozhAcdH/PIv23BAIaNMmj7XoSwKkxQzsqk2D oOv61Z1d6pUllhE8UeR7OA== X-Received: by 10.202.71.133 with SMTP id u127mr7242302oia.227.1517268851967; Mon, 29 Jan 2018 15:34:11 -0800 (PST) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id m63sm1665756oia.53.2018.01.29.15.34.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jan 2018 15:34:11 -0800 (PST) Date: Mon, 29 Jan 2018 17:34:10 -0600 From: Rob Herring To: Michael Grzeschik Cc: a.zummo@towertech.it, alexandre.belloni@free-electrons.com, 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: <20180129233410.y2g27rawmoh5phvr@rob-hp-laptop> 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: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 23, 2018 at 01:17:59PM +0100, Michael Grzeschik wrote: > From: Denis Osterland > > Wrote documentation for ISL1208, ISL1218 device tree > binding with short examples. > > 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 A couple of nits, otherwise: Reviewed-by: Rob Herring > > 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 { rtc@68 > + compatible = "isil,isl1208"; > + reg = <0x68>; > + }; > + > +Example isl1208 node with #IRQ pin connected to SoC gpio1 pin 12: > + > + isl1208: isl1208@68 { rtc@68 > + compatible = "isil,isl1208"; > + reg = <0x68>; > + interrupt-parent = <&gpio1>; > + interrupts = <12 IRQ_TYPE_EDGE_FALLING>; > + }; > -- > 2.11.0 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html