Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp582948ybl; Fri, 13 Dec 2019 01:05:49 -0800 (PST) X-Google-Smtp-Source: APXvYqxBoougmoeOgwwJHDH6wuHa/1/n4us9CMzM1BiQHQ3qR8k9zf5tI/jcfzYSceZ031jGnHlv X-Received: by 2002:a9d:32e:: with SMTP id 43mr13462642otv.301.1576227949584; Fri, 13 Dec 2019 01:05:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576227949; cv=none; d=google.com; s=arc-20160816; b=tzyt7pumGcR4lWHJ0VyuMvVTDhpBP1KcXJhoYJQlSNECrfWLn1ho+Fx+wHvOMQw97g zYMW8+rIyG6CkgAAciynxCN1mqDqHTia6YVZRUixDoTAb80ZlTnFZcoWBPnESPBjHxIz 5juL768tPKo+lN8w5rJEOq/B/GLlrPTFjo/dlET2B6joN/00LV4sHvyxyGl7vPa752bO 05GJvo3aTuUvWCoc1Fa57rugbbhqOCyBrkU6GtxIjN5g2zyxiahme/h8pCOdtAgeCDOb sNHdJPKfPYO8q7OCrGuVtFjWgY2tA0SsYIXrY/IQUlZ3Oyab950Ohf8EyWzmUzz6av2M 6hTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent :content-transfer-encoding:organization:references:in-reply-to:date :cc:to:from:subject:message-id; bh=Yr6Pb1LWzlZ97zGUWf/jEVgG8fwCPj4ip7ApRk3uMUw=; b=gCpLrr4ipr4VBHGGUHpdKnUNapxgJaPgVnUFWODF7U5FwHp2ckquAlHobDxW//MCac /hdgH/gUVRNmo6+R7FMuzSi52P/a9+mfVlQrPcOyaDGzPnWEHfRZwOs+W8fCEGCwCUre uMeRDEwN2m2WWR7REglFknfqOAXvdAtbIhCQaz+9lJmalkf8FReUnTbg3lSu6EepHIRa eF6uOigDhqJU2VeQ6LOT52mMpWChVD+lXG+9e9K9xrYg4HLSiOv979wgSScZZYnrb7Lt nY2kFzrTV7Cyz87gT2R9Dm12tJafNiNbIQccCrwnFnrVY/YjadwnzyuZjrvqc9ahjeNX 1CmQ== 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=collabora.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si4680670otk.66.2019.12.13.01.05.37; Fri, 13 Dec 2019 01:05:49 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726382AbfLMJED convert rfc822-to-8bit (ORCPT + 99 others); Fri, 13 Dec 2019 04:04:03 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:54256 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725770AbfLMJED (ORCPT ); Fri, 13 Dec 2019 04:04:03 -0500 Received: from beast.luon.net (unknown [IPv6:2001:470:78b1:0:40e2:7ff:fef4:3122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: sjoerd) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id A12F528ECCE; Fri, 13 Dec 2019 09:04:00 +0000 (GMT) Received: by beast.luon.net (Postfix, from userid 1000) id 63AE63E1F0D; Fri, 13 Dec 2019 10:03:57 +0100 (CET) Message-ID: Subject: Re: [PATCH] ARM: dts: imx6qdl: Enable egalax touch screen From: Sjoerd Simons To: Marco Felsch 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 Date: Fri, 13 Dec 2019 10:03:57 +0100 In-Reply-To: <20191212162522.irg6pg4fhgxwkp53@pengutronix.de> References: <20191212160220.2265521-1-sjoerd.simons@collabora.co.uk> <20191212160722.wgqjeeknvm257hwi@pengutronix.de> <20191212162522.irg6pg4fhgxwkp53@pengutronix.de> Organization: Collabora Ltd. Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.34.1-2+b1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-12-12 at 17:25 +0100, Marco Felsch wrote: > 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? Ofcourse will do; You also made me dig up the model number etc so i'll include that information. > > 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? Would probably make sense to do that indeed; Will have a look Thanks for the review! -- Sjoerd Simons Collabora Ltd.