Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6870037imm; Tue, 24 Jul 2018 04:42:26 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcq/hWnHYlO9rP/x8RGeqEPESwvH83/WABBKmtFsSMaeNM+DfTkkAtqDvMLDRIVSDq+zz+y X-Received: by 2002:a63:ac57:: with SMTP id z23-v6mr15511161pgn.74.1532432546832; Tue, 24 Jul 2018 04:42:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532432546; cv=none; d=google.com; s=arc-20160816; b=cj3vAcuqZNiio17mE8JVFoQgMCXHJ06YE9giptFJCYWS6zPTECEpExfgb8it6vSn7e xpkZWEKcH4+QGQO0HGFUqXBGYuvC9ZOiaeQ24/THEm1O2e7z2KEBTgXrMYIshJm0860L p46UA6tT1llYdKfQuxfod9WDDHSExSNlYUssj0GNaoPxtyibwtHa40ohT2QSlXaiys0Y Ngnr2oohSpoiH9mqy0dJjBovyEtD2J4L4ZmltwkVe1fW59jRSOggRO9/kYFEdfmf22yK tDmfetAGXuGxX9mhClmF6I2ZdHK77ajnXM9CuLEZnNN3tL4aAEdLxFLCmWyywxFAH62p aw0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:mime-version:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:arc-authentication-results; bh=zWJz/iKzApM9NKpTJp0B8689eox7kLP9N7+VuPEsIIA=; b=gm+ihvpZowmaNLr3pmeOYSX84stuB67L/1LIm7x6w9GRT+jR1634B6maZ2zW9Q7CJR xF/C85K7TB28XaBxWaTEIu4Z6RDrXDE/a2Wm/uqJ0KgOVJUpyMfPa41E+3k11oy8LOfr orrbKKtpSFBIxXEdc7+0cMU2oK+2K5Ut5w5FcHC1JojgXUEC2IWOjqWzo4u61R9WwGAn /sxmRDJCaKnLUPJ98D3aGiY4+C9ffUGCKPvjVUai2Ydby0Ew+UB/UEuau76JLySsfqut jWgbdmS0Ew4c40+o7gK7ZDI3wuHwfxBnGFE7RkF2beCNwMii/wGON4aqdga2QRlp33uN 3/2w== 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 2-v6si2748518pfd.39.2018.07.24.04.42.12; Tue, 24 Jul 2018 04:42:26 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388358AbeGXMrO convert rfc822-to-8bit (ORCPT + 99 others); Tue, 24 Jul 2018 08:47:14 -0400 Received: from enterprise03.smtp.diehl.com ([193.201.238.214]:31107 "EHLO enterprise03.smtp.diehl.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388256AbeGXMrN (ORCPT ); Tue, 24 Jul 2018 08:47:13 -0400 X-Greylist: delayed 587 seconds by postgrey-1.27 at vger.kernel.org; Tue, 24 Jul 2018 08:47:11 EDT X-$ESA-Groupmapping: true X-IronPort-AV: E=Sophos;i="5.51,397,1526335200"; d="scan'208";a="1739768" From: Denis OSTERLAND To: "mark.rutland@arm.com" , "robh+dt@kernel.org" CC: "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" , Denis OSTERLAND Subject: [PATCH v5 5/5] rtc: isl1219: add device tree docu Thread-Topic: [PATCH v5 5/5] rtc: isl1219: add device tree docu Thread-Index: AQHUI0HYWBw2NLUC4U+pSoYH+IFvBg== Date: Tue, 24 Jul 2018 11:31:22 +0000 Message-ID: <20180724095437.6016-6-Denis.Osterland@diehl.com> References: <20180724095437.6016-1-Denis.Osterland@diehl.com> In-Reply-To: <20180724095437.6016-1-Denis.Osterland@diehl.com> Accept-Language: de-DE, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.18.5.2-0ubuntu3.2 MIME-Version: 1.0 X-TrailerSkip: 1 X-GBS-PROC: byQFdw3ukCM+zy1/poiPc3S+cPOwesVRp3YOtqJ1nLGzDTCHgOUEK+Oxjt5YvNJU X-TNEFEvaluated: 1 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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..c3efd48e91c2 --- /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" + - "interrupts": list of interrupts for "irq" and "evdet" + - "isil,ev-evienb": if present EV.EVIENB bit is set to the specified + value for proper operation. + + +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>; + isil,ev-evienb = <1>; + }; + -- 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.