Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp784380pxb; Wed, 20 Jan 2021 22:31:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFb0Npmv621b61hAMibWuoHNZpWt2GYbQ4rLnbPH6E6EviOhG+2hNCrci8ytjUuMelpbOL X-Received: by 2002:a17:906:15ca:: with SMTP id l10mr7910798ejd.402.1611210706869; Wed, 20 Jan 2021 22:31:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611210706; cv=none; d=google.com; s=arc-20160816; b=GJsUQqNlhwmf8VstDBws5BFlguLhYzyeNz2xT/xtdbBc4V7dw+okx8GFcVyCFabRqX 5u7++9RDPcHAO6S3QpJzBPM/VrtwoSQD5aAaIpgi5AP4rF908xWOzCX3fx1vkDxOrB7K /3/8FpIbmPAqJWzSj3sWeIf8QvQcM4iuHNTFnJwbhkNOWGxBb49gl1QSES9CY1ez2yHr RlftTZylPTMJTtNyLrIh4omZh9CxCh5JP6JKHkavXEwkgoh5h9Fu9xmMN8WwdehBcmkg JhkSPk/pzI+S5fA83DTlz9Px6tCxT9CJdair4idQTczjPiB9vTTJWk5uuAx9EjMMEPHl 1c+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=nY34AsJybYXa19ytqBpB+rbe3IDx4IcMBnfJDoDmhLg=; b=IzGos7HKSnQrLEh6+Irnfj2gUtUH6KH0OK3GIwqa6iexshmGwDFJ3MwyCq5toLQANr gQ7B2Vl35sU4sj9uIKFrFkMuBv/21c2xsFIdKgDI6cxWZ6CwOD4Qcre7gLxiNg3eU6DS iwZd29vw4VMCeWPXHqOQrGsDdLzakNjbIjKxmBrbX1VcIpd7JRswjMH7vxf3BE4mmccM lLp+HFuTTcCln3k6VznvcZyxvUBVr5oVSroDPvfsw+MpFLfcRbp+zehM+33aZ0zjkQIw YEz6jMIwdYLkzL/LsPp+3qWPgDEQo9zgLTXu5cZlLELfRHNwr5PU6EKBVjoI1+8zsrgg KySA== 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 v5si1843050edi.377.2021.01.20.22.31.23; Wed, 20 Jan 2021 22:31:46 -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 S1726593AbhAUGNs (ORCPT + 99 others); Thu, 21 Jan 2021 01:13:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726483AbhAUGMg (ORCPT ); Thu, 21 Jan 2021 01:12:36 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8715C0613CF for ; Wed, 20 Jan 2021 22:11:54 -0800 (PST) Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l2TC4-0006PK-3c; Thu, 21 Jan 2021 07:11:44 +0100 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1l2TC2-00061m-8Z; Thu, 21 Jan 2021 07:11:42 +0100 From: Oleksij Rempel To: Mark Rutland , Rob Herring , Sascha Hauer , Shawn Guo , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter Cc: Oleksij Rempel , Robin van der Gracht , 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: [PATCH v2 4/7] ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node Date: Thu, 21 Jan 2021 07:11:38 +0100 Message-Id: <20210121061141.23062-5-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210121061141.23062-1-o.rempel@pengutronix.de> References: <20210121061141.23062-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/boot/dts/imx6dl-prtvt7.dts index d9cb1e41cc10..836026a0e219 100644 --- a/arch/arm/boot/dts/imx6dl-prtvt7.dts +++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts @@ -266,6 +266,21 @@ &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-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 { -- 2.30.0