Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1019967ybl; Thu, 12 Dec 2019 08:27:22 -0800 (PST) X-Google-Smtp-Source: APXvYqzBM3e4oA5xcRXbVYrz0/FeH7F/B2EuuhhMe8aYHrA9MkbSc28wkxGDOB8k4GLWZt0JOoG5 X-Received: by 2002:aca:39d4:: with SMTP id g203mr5284336oia.78.1576168042303; Thu, 12 Dec 2019 08:27:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576168042; cv=none; d=google.com; s=arc-20160816; b=l9CTM0JwIZfrnU98RXO2/VIXxJTUGH4/OLm1eOkLJECwC4DjLP6siLPFA/W3Pqh2S5 cO5Dt1zG9KAIArB9BAPQbZZCysZb8qNfi4/9wMZy1W5h0m2bikzgAeLNDKhp+DE1rj/8 VxQdMMC7QvkRbKuLWyyUT8crxZqEDaKJucD2dF6WrMpf+TMkKcI+xbm/fGvLA9hZIykS VPzmaS2Kiuh5XRV0/nf7RbZvdjUkp+DYRGTSs7RnWW7C2oGyiLEXBQ4L6CXry5pIVep5 3++QKdalA6f6TQ0S88wp1jztXRgqZ7DX4QREXw2QLaAVq7selPXI5Xzfxff8gPB9Pk6Z FmuQ== 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; bh=850+sTOAt/+b8Og8I/NPbwOS6W+LqAa9lxLAjFLiOFg=; b=hvKlBY1g/nBEefuCQ/5oIrvDb7TTLc1NXvkAdwOVcprhcODgAW6MK0fWJwOPXUY0sq 8FOrwi9Du2t3rObfOqf4oWJZG/zJsEUAwuaogc0Q9r8NS09zYUbKuuVz10Ri1zTBnbR3 Zho18QLXGc+5+Rs3cs1lvHtGcJSG28z0Zt4F9cBnN6Me66+12+aCTGt+u8TJhRGwpAQ4 CPaNME35fe5gallnyIf/WLQbBJ8DtDQCIQQjfehBtjnnc3vDmBYguUeHzbbu+47VmJu/ zaI5pzTOO83oJbKfcSvIwUrfA+S2kLkyj0Rhao/Zl0XmUN9kfETU1QCUsY8l3GdlW9g7 9J2A== 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 w64si3121726oif.51.2019.12.12.08.27.08; Thu, 12 Dec 2019 08:27:22 -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 S1729928AbfLLQZ3 (ORCPT + 99 others); Thu, 12 Dec 2019 11:25:29 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:33939 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729900AbfLLQZ1 (ORCPT ); Thu, 12 Dec 2019 11:25:27 -0500 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ifRHH-0006AE-6g; Thu, 12 Dec 2019 17:25:23 +0100 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1ifRHG-0007WR-Md; Thu, 12 Dec 2019 17:25:22 +0100 Date: Thu, 12 Dec 2019 17:25:22 +0100 From: Marco Felsch To: Sjoerd Simons Cc: linux-arm-kernel@lists.infradead.org, Mark Rutland , devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam Subject: Re: [PATCH] ARM: dts: imx6qdl: Enable egalax touch screen Message-ID: <20191212162522.irg6pg4fhgxwkp53@pengutronix.de> References: <20191212160220.2265521-1-sjoerd.simons@collabora.co.uk> <20191212160722.wgqjeeknvm257hwi@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 17:24:04 up 27 days, 7:42, 37 users, load average: 0.03, 0.03, 0.05 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19-12-12 17:22, Sjoerd Simons wrote: > On Thu, 2019-12-12 at 17:07 +0100, Marco Felsch wrote: > > Hi Sjoerd, > > > > On 19-12-12 17:02, Sjoerd Simons wrote: > > > Sabrelite boards can have an lvds screen attached with a built-in > > > i2c touch > > > screen. Enable this in the dtsi. > > > > Can this be any screen available on the market? > > I guess i should have been more clear here; This is the touchscreen in > the hannstar display (already part of the dts) that was sold as an > accessoiry to the sabrelite. That is more clear =) Pls can you add this to the commit message? > > Same as the screen that can be used on the boundary nitrogen6 boards > (which do have the touch part already enabled in the dts) > > > > > > Signed-off-by: Sjoerd Simons > > > --- > > > > > > arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 8 ++++++++ > > > 1 file changed, 8 insertions(+) > > > > > > diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi > > > b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi > > > index 8468216dae9b..382b127b2251 100644 > > > --- a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi > > > +++ b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi > > > @@ -416,6 +416,14 @@ &i2c3 { > > > pinctrl-names = "default"; > > > pinctrl-0 = <&pinctrl_i2c3>; > > > status = "okay"; > > > + > > > + touchscreen@4 { > > > + compatible = "eeti,egalax_ts"; > > > + reg = <0x04>; > > > + interrupt-parent = <&gpio1>; > > > + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; > > > + wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; > > > > The wakeup-gpio and the irq-line are sharing the same gpio line? Lastly should we add a own pinctrl entry for the touchscreen? Regards, Marco > > > > Regards, > > Marco > > > > > + }; > > > }; > > > > > > &iomuxc { > > > -- > > > 2.24.0 > > > > > > > > > > -- > Sjoerd Simons > Collabora Ltd. > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |