From patchwork Tue Oct 11 00:33:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9370023 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 74AC760487 for ; Tue, 11 Oct 2016 00:37:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58981299AB for ; Tue, 11 Oct 2016 00:37:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 494D7299D0; Tue, 11 Oct 2016 00:37:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 81BA9299AB for ; Tue, 11 Oct 2016 00:37:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1btl2w-0002b0-VD; Tue, 11 Oct 2016 00:35:54 +0000 Received: from forward13m.cmail.yandex.net ([2a02:6b8:b030::9a]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1btl2p-0002YQ-3j for linux-arm-kernel@lists.infradead.org; Tue, 11 Oct 2016 00:35:48 +0000 Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::25]) by forward13m.cmail.yandex.net (Yandex) with ESMTP id D03EC20DA8; Tue, 11 Oct 2016 03:35:23 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 071C51300E61; Tue, 11 Oct 2016 03:35:04 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id SivlLSIFMq-YntSY9fj; Tue, 11 Oct 2016 03:35:03 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1476146104; bh=H0OYdfKsZSmMZA3cl+F0bkuzM1Wyv9oZPmOMYJeaRgU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=lgIUYkzCmNhtJUboe9hHyA6Br+84VbBng5+muj7qY+xkACk+VlCYP/a5O5Hi1iWko GaVbOWWOVpq4hTOrDrXdKYbaeORggxmcDZe10JHpf4cY8i4WWYM7i89QP8ZqLsrPQQ y+axCKzrZPf8iDAIr6WEbMWD66t/vhl+ZWE7q2Us= Authentication-Results: smtp1o.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 1130000036118848 From: Icenowy Zheng To: Dmitry Torokhov , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Hans de Goede , Henrik Rydberg Subject: [PATCH 2/5] dt-bindings: add binding for Ilitek ili2139 touchscreen IC Date: Tue, 11 Oct 2016 08:33:56 +0800 Message-Id: <20161011003359.26079-2-icenowy@aosc.xyz> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161011003359.26079-1-icenowy@aosc.xyz> References: <20161011003359.26079-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161010_173547_563568_57383802 X-CRM114-Status: GOOD ( 10.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Geert Uytterhoeven , Jarkko Sakkinen , linux-sunxi@googlegroups.com, Benjamin Tissoires , Icenowy Zheng , Marek Vasut , Damien Riegel , Russell King , Javier Martinez Canillas , linux-input@vger.kernel.org, Thierry Reding , Rask Ingemann Lambertsen , devicetree@vger.kernel.org, Arnd Bergmann , Michael Welling , linux-arm-kernel@lists.infradead.org, Jeffrey Lin , Siebren Vroegindeweij , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Sangwon Jee , Markus Pargmann , Andrew Morton , Shawn Guo MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Ilitek ili2139 is a touchscreen IC used in several tablet products, for example, Colorfly E708 Q1. Signed-off-by: Icenowy Zheng --- .../bindings/input/touchscreen/ilitek_ili2139.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/ilitek_ili2139.txt diff --git a/Documentation/devicetree/bindings/input/touchscreen/ilitek_ili2139.txt b/Documentation/devicetree/bindings/input/touchscreen/ilitek_ili2139.txt new file mode 100644 index 0000000..72d2352 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/ilitek_ili2139.txt @@ -0,0 +1,19 @@ +* Ilitek ili2139 touchscreen controller + +Required properties: +- compatible : "ilitek,ili2139" +- reg : I2C slave address of the chip (0x41) +- interrupt-parent : a phandle pointing to the interrupt controller + serving the interrupt for this chip +- interrupts : interrupt specification for the ili2139 interrupt + +Example: + +i2c@00000000 { + ili2139: touchscreen@41 { + compatible = "ilitek,ili2139" + reg = <0x41>; + interrupt-parent = <&pio>; + interrupts = <0 3 IRQ_TYPE_LEVEL_HIGH>; + }; +};