Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp947895imm; Wed, 11 Jul 2018 14:02:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfW3RuvxVtenjO1+IECqJjVdQP9wmC3xOy5hSrU/T9nfAkHdvWErvqHI+xiv1B83mEVWEwk X-Received: by 2002:a17:902:b612:: with SMTP id b18-v6mr183657pls.131.1531342943644; Wed, 11 Jul 2018 14:02:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531342943; cv=none; d=google.com; s=arc-20160816; b=g+d5ssbvCzQ4Teg0fu/dgHANpVqLGR9pggY+Y0SM7S6DMpfU4zIGP7DDi7t0D0RKC0 TyR60OlbW8KRCFTtPXa9C6qkYkVmqeZzk29p+Fq4Yc9Yx9ty2roOED1aHabdWYTv9ihM RabXY8oHvA59mJN2zPTTqIG7SCZVxjrG8ywCnU/umiXtjHCAR/7YutToqCYmb8CDTWs2 waCs/WUHmHlEROkJwWlUr7Kfj1d9HrQeh8aTX/Hn76TCftuyAbfPqD/OtN/+yZ6VnuTh iSB82eZFY565qV+Q3XzF8YXHbguBgtSxABm4Dl6p8sdv9Gpx+GObsOIQ4XBpYloNhkop Vggg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=z/S8ra/0PQ90wZXeqad/qfs2N2bRUagHXY9TbkwcYW4=; b=CoCVBU/84M4bcaejivV1rNomnXZ7cEXZxP5FODGuNmGetv11O/RiO8rz8Sxxxk8tWP 35jeuzmUUKWuu0ZUFe8wjRdKVtwNZeQZCa2wigwIBRjQIdBNhOL4rftmNDSwitKZtCts xsafSxd0zqWzXaEmMy9COYyMqSUd8EInz4mI1xKZ35taHWVWelBUW3xOsgMQsAO3vEVV 4bd8M78IJCONiLshgLCxt7mnUkTdK8a5+7OtkqF8razh8XWAw60vRAf82bjLljQDhNf6 v6Q2+fjWTFz7p7yJoLXMvO99agn8CScadLMRqvi8TSoEC/6C98ZjJgabWfFcqqSaoTEY 1lbQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12-v6si20838041pfd.142.2018.07.11.14.02.08; Wed, 11 Jul 2018 14:02:23 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387610AbeGKPVL (ORCPT + 99 others); Wed, 11 Jul 2018 11:21:11 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:45480 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726831AbeGKPVL (ORCPT ); Wed, 11 Jul 2018 11:21:11 -0400 Received: by mail-oi0-f68.google.com with SMTP id q11-v6so24339487oic.12; Wed, 11 Jul 2018 08:16:23 -0700 (PDT) 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:content-transfer-encoding :in-reply-to:user-agent; bh=z/S8ra/0PQ90wZXeqad/qfs2N2bRUagHXY9TbkwcYW4=; b=JrEl8l/5k3X70g6X8i+02YQm/7Q341IecEjQ0c+dk339MKfdIy16s3BKkIZGxshl2Y vwzK9jtWPek3U+N4sQ42wjK6rDHfLghcWbbrV3evwuuaOst88ArzrbpvGnBrIM12gbS6 ehH1ZwoakZsBkoyQox2m0ek6cWFXNdRroqNJhmoIFYpu8h7FHWyGfS3wtMc+gIY05teH 7r9S/Qi2XGU4QsaHAuZxiTGUnJEApkt0QpNWYjyIkv2X0a7+Xta44WknJst38jlbxcl0 kBq3q1WlrE1B2Of+kh6mD0VG7/h4bsyNuPPCFsSdXaI2JtPCe2DgszSN87vRId2MVn/b ad8Q== X-Gm-Message-State: APt69E1ZvSL6ePekB2CUe/728An8HfT8c2hGU5kjHExql3VqZ/c6Nkgn 0YPlvtOcdJtjYyYaDGCIauE+bVw= X-Received: by 2002:aca:3d43:: with SMTP id k64-v6mr30858816oia.166.1531322183005; Wed, 11 Jul 2018 08:16:23 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id u144-v6sm13205880oie.14.2018.07.11.08.16.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Jul 2018 08:16:22 -0700 (PDT) Date: Wed, 11 Jul 2018 09:16:21 -0600 From: Rob Herring To: Denis OSTERLAND Cc: "mark.rutland@arm.com" , "linux-kernel@vger.kernel.org" , "alexandre.belloni@bootlin.com" , "m.grzeschik@pengutronix.de" , "devicetree@vger.kernel.org" , "a.zummo@towertech.it" , "linux-rtc@vger.kernel.org" , "kernel@pengutronix.de" Subject: Re: [PATCH v4 5/5] rtc: isl1219: add device tree docu Message-ID: <20180711151621.GA4084@rob-hp-laptop> References: <20180710090710.9066-1-Denis.Osterland@diehl.com> <20180710090710.9066-6-Denis.Osterland@diehl.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180710090710.9066-6-Denis.Osterland@diehl.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 10, 2018 at 09:44:15AM +0000, Denis OSTERLAND wrote: > From: Denis Osterland > > The devicetree documentation for the ISL1219 device tree > binding is added with an short example. It is not a trivial > device, because it supports two interrupt souces. s/souces/sources/ > > Signed-off-by: Denis Osterland > --- > .../devicetree/bindings/rtc/isil,isl1219.txt | 29 +++++++++++++++++++ > 1 file changed, 29 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rtc/isil,isl1219.txt > > diff --git a/Documentation/devicetree/bindings/rtc/isil,isl1219.txt b/Documentation/devicetree/bindings/rtc/isil,isl1219.txt > new file mode 100644 > index 000000000000..f26f1e9d4bde > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/isil,isl1219.txt > @@ -0,0 +1,29 @@ > +Intersil ISL1219 I2C RTC/Alarm chip with event in > + > +ISL1219 has additional pins EVIN and #EVDET for tamper detection. > + > +Required properties supported by the device: > + > + - "compatible": must be "isil,isl1219" > + - "reg": I2C bus address of the device > + > +Optional properties: > + > + - "interrupt-names": list which may contains "irq" and "evdet" > + - "interrupt-parent", "interrupts", "interrupts-extended": > + for passing the interrupt line of the SoC connected to #IRQ pin > + and #EVDET pin of the RTC chip. Just list 'interrupts' and how many there are. interrupt-parent is implied and may be in a parent node. interrupts-extended is also implicitly allowed as needed. > + - "isil,ev-evienb": if present bit can be set to disable event input pull-up > + > + > +Example isl1219 node with #IRQ pin connected to SoC gpio1 pin12 > + and #EVDET pin connected to SoC gpio2 pin 24: > + > + isl1219: rtc@68 { > + compatible = "isil,isl1219"; > + reg = <0x68>; > + interrupt-names = "irq", "evdet"; > + interrupts-extended = <&gpio1 12 IRQ_TYPE_EDGE_FALLING>, > + <&gpio2 24 IRQ_TYPE_EDGE_FALLING>; > + }; > + > -- > 2.18.0 > > > > Diehl Connectivity Solutions GmbH > Gesch?ftsf?hrung: Horst Leonberger > Sitz der Gesellschaft: N?rnberg - Registergericht: Amtsgericht > N?rnberg: HRB 32315 > ___________________________________________________________________________________________________ > > Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. > Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. > Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt. > The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by > mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited.