Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp398539pxb; Wed, 20 Jan 2021 09:33:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyayFnDDB8xh60OAF0NgQzuXFhJjwZ/8hKJJlYhvzY1n5IgQKMysAedoMVYNTMin9PiX+4H X-Received: by 2002:a17:906:e09:: with SMTP id l9mr6970567eji.196.1611164013604; Wed, 20 Jan 2021 09:33:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611164013; cv=none; d=google.com; s=arc-20160816; b=Dpb9Xh+yNoO1hhQVOH2cTZ5h+7VyAReaDgf8lEzUOh85v6YgLH79akDRw6pQkI+444 wwpWtQDH2prjLyR2PtteTF/Yq/UKVHaqPfXSDj3de47c5dPwQvhfapI2fybJR1LKKgNM pFoFB/10/qofsABgXY8AFPlSI6xVoq9n1+LVcWNVHj21Z3fgGL6Wklqwet2stKPJ33zf nMHcpzwD17gFa1OiFPmibcpaTYwgAQ/U8o1rSOSD4UXo8bX35pK2a8Ez8mVWh7VJukRQ j67FybdJQPEwhf/1w4ZtTparzZRRpvxf+8ry1B5zHMHWHWor/+uho8Gul4Uu9EG2NSzP iWig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :message-id:user-agent:references:in-reply-to:reply-to:subject:cc:to :from:date:mime-version; bh=CDN5DQytqDwtJWZVri6+kUoqm+NxGJlPBxi2ttBqg5Q=; b=EX5ut0ytBzbVN1I+VAXcDlk5RhdUlU4lsxSSl3cOnhZK0Rf/S0J4ccGUR5ZmP9eQgL 73YLScBPxYpUuTjAxxJq8dilljtyXGhCU6KMVc9nOanGqajC+lriuosDLFjromvvwNX1 1WP+L9zaE/naRy0aGF5HtguYtw2S7IU8XJi9FmLYnmL9iP+4ZpJ4ArVu03JojKFyBiaI pJaX8on9PaBOjTRhEnjANpV7OUmHf9+RezvXAlq1yHSBNKp60Gh1VNhKCrpbetCI5wW2 QP6RHbGbR747nc5i7LaiF45auNSC3ZNXtjk/LCd5pnyd9zw0YHJgQ/2M4oZUS5Nykrjj wkNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m20si1094003edq.199.2021.01.20.09.33.08; Wed, 20 Jan 2021 09:33:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730547AbhATR3U (ORCPT + 99 others); Wed, 20 Jan 2021 12:29:20 -0500 Received: from protonic.xs4all.nl ([83.163.252.89]:57018 "EHLO protonic.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732034AbhATOsd (ORCPT ); Wed, 20 Jan 2021 09:48:33 -0500 Received: from fiber.protonic.nl (edge2.prtnl [192.168.1.170]) by sparta.prtnl (Postfix) with ESMTP id 86D9144A022A; Wed, 20 Jan 2021 15:47:23 +0100 (CET) MIME-Version: 1.0 Date: Wed, 20 Jan 2021 15:47:23 +0100 From: robin To: Oleksij Rempel Cc: Mark Rutland , Rob Herring , Sascha Hauer , Shawn Guo , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , devicetree@vger.kernel.org, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , David Jander , dri-devel@lists.freedesktop.org Subject: Re: [PATCH v1 4/7] ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node Reply-To: robin@protonic.nl In-Reply-To: <20210120142217.29652-5-o.rempel@pengutronix.de> References: <20210120142217.29652-1-o.rempel@pengutronix.de> <20210120142217.29652-5-o.rempel@pengutronix.de> User-Agent: Roundcube Webmail/1.4.8 Message-ID: X-Sender: robin@protonic.nl Organization: Protonic Holland Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-01-20 15:22, Oleksij Rempel wrote: > Add touchscreen support to the Protonic VT7 board. > > Co-Developed-by: Robin van der Gracht > Signed-off-by: Robin van der Gracht > Signed-off-by: Oleksij Rempel > --- > arch/arm/boot/dts/imx6dl-prtvt7.dts | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts > b/arch/arm/boot/dts/imx6dl-prtvt7.dts > index d9cb1e41cc10..63ae2065834c 100644 > --- a/arch/arm/boot/dts/imx6dl-prtvt7.dts > +++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts > @@ -266,6 +266,26 @@ &ecspi2 { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_ecspi2>; > status = "okay"; > + > + touchscreen@0 { > + compatible = "ti,tsc2046"; > + reg = <0>; > + pinctrl-0 = <&pinctrl_tsc>; > + pinctrl-names ="default"; > + spi-max-frequency = <100000>; > + interrupts-extended = <&gpio3 20 IRQ_TYPE_EDGE_FALLING>; > + pendown-gpio = <&gpio3 20 GPIO_ACTIVE_LOW>; > + > + touchscreen-inverted-x; > + touchscreen-inverted-y; Please remove both inverted properties since it's not inverted. > + touchscreen-max-pressure = <4095>; > + > + ti,vref-delay-usecs = /bits/ 16 <100>; > + ti,x-plate-ohms = /bits/ 16 <800>; > + ti,y-plate-ohms = /bits/ 16 <300>; > + > + wakeup-source; > + }; > }; > > &i2c1 { Robin