From patchwork Wed Mar 15 16:21:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9626111 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 0BF94604A9 for ; Wed, 15 Mar 2017 16:23:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F224E2865A for ; Wed, 15 Mar 2017 16:23:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E554028652; Wed, 15 Mar 2017 16:23:07 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5E8F328652 for ; Wed, 15 Mar 2017 16:23:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=+kt8+CLDTIHmU7N3StV8WJ/FBo2SJexb1q4GMNRxYNQ=; b=MdM NMIVTWiyiDMBsdeJ4gz8AyO/4B6Xzp5HInDQvr3PC0fkWPU2v8KpA4KxH6z1dWDpmJV4qb+PpDmv4 MPgHes4lgF1PCfStZEzdWpo44RReLTHZmmoxwUAJ7mcB8exQPV5CTpHosOEB19H5n7WIMaSdv9JD2 pPTlo3lJTFFAxi5KJBK6UM+4UTu7owhK3ErvbCgi8EggfMLFiJTMk25nyR7aufQkYClNJTapCOKWz QVil+dkF9DGBpD6StUgq+PLSCx+9KPv+EcBVqVKtIVzaeZQZymOCrznWNRrDcum3pYkuwqbIK1uf4 fwjZSHltL55bUYuRCEMw9nDQmvYQ0xA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1coBhX-0003dJ-4d; Wed, 15 Mar 2017 16:23:03 +0000 Received: from forward7j.cmail.yandex.net ([2a02:6b8:0:1630::182]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1coBhR-0003Fk-GQ for linux-arm-kernel@lists.infradead.org; Wed, 15 Mar 2017 16:23:00 +0000 Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [95.108.130.59]) by forward7j.cmail.yandex.net (Yandex) with ESMTP id 971C221BA3; Wed, 15 Mar 2017 19:22:33 +0300 (MSK) Received: from smtp1j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1j.mail.yandex.net (Yandex) with ESMTP id EA1F83C81375; Wed, 15 Mar 2017 19:22:26 +0300 (MSK) Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id dd7XSKAHBW-MKvGNZiD; Wed, 15 Mar 2017 19:22:25 +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=1489594946; bh=yrwHOrmEDP2wQDuTG61RdcolWQCwovznINelPn65AkQ=; h=From:To:Cc:Subject:Date:Message-Id; b=YChUzoOENR6Rh72r0UwAaxYG6pcKXq4mNGhJubsr53hvCg3Eu7qvZeYZe4cNBydF2 vRjq3IlB1NYjmvQhF8jFwNZekmS9rw/yNAPhFaP3T+/PsJbIQVy6Tqwh0zSKLMmquq JB88x2Ak0KnR7YjEdYenp7aEx48Cg7QjFbL70g9Y= Authentication-Results: smtp1j.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 1130000036118848 From: Icenowy Zheng To: Dmitry Torokhov , Rob Herring , Maxime Ripard Subject: [PATCH 4/4] ARM: sun8i: v3s: add ns2009 node for Lichee Pi Zero board Date: Thu, 16 Mar 2017 00:21:51 +0800 Message-Id: <20170315162151.54956-1-icenowy@aosc.xyz> X-Mailer: git-send-email 2.12.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170315_092257_975158_7F175D8F X-CRM114-Status: UNSURE ( 6.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Icenowy Zheng , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org 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 The production batch of Lichee Pi Zero board features a NS2009 resistive touchscreen controller, which is wired to touch panel pins at 40-pin LCD connector, in order to make the board fully compatible to 40-pin LCDs with resistive touch panel which are used with Lichee Pi One (with A13's integrated resistive touch controller). Add the device node for the touchscreen controller. Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts index 387fc2aa546d..a8a2081175d3 100644 --- a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts +++ b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts @@ -86,6 +86,15 @@ status = "okay"; }; +&i2c0 { + status = "okay"; + + ns2009: ns2009@48 { + compatible = "nsiway,ns2009"; + reg = <0x48>; + }; +}; + &uart0 { pinctrl-0 = <&uart0_pins_a>; pinctrl-names = "default";