Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1102301rwi; Wed, 26 Oct 2022 10:46:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6hFhnQcyH26+6ZvLWWS2kDCf5Z0Uijc4n9ZPz+IQpJr4P15Z50IIhisGmkb7689Gj7AMaX X-Received: by 2002:a17:902:e845:b0:186:96fe:56cc with SMTP id t5-20020a170902e84500b0018696fe56ccmr22192494plg.110.1666806403822; Wed, 26 Oct 2022 10:46:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666806403; cv=none; d=google.com; s=arc-20160816; b=m4XQ5MPXUNlW8fwv/KuyMCKGi4JRy0fcexvUjHKbbhvtHNEkcaqT4O6d9zGNH5Dqxq O8lhG2qUm4s1wKkKorw+JURt8nZhcIZjPSNVjD5Pe/QCGeyZBLf2xBgJlY5eOtYBmIJ5 KzQVdqWokgKBbyohElkwaWjWsragfBtPqdasbGOXdFiyrZXBdia8ptjP8/dm7h+8WNL0 vcRBiVe5RWSogzsOLwzb/DiEdpdE/9XeFhcpAKq1BH8VaAyKOqTVfSDLsEupXQHRyMGg lhR3qZJF37YidaO0Hira+zehxAbsF/F3HrtwV/LQpHwci1YtxtKXqr5HeVWOhnK3ReUM gKwg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=HiYVn9aMwL/cWE4Pz4ri7pgwUgzFfzrAUVxWFAzu0XU=; b=zIoMRieBZ1l7GRJ3Ul/3122HX4xw14BKhd/jwY0t6aHAPzqLBYM+Xbd/8tfS746/+n NaggxqQgsuacI56D1BRNHdq8+NAuYqtdFq0rEpFjfPFBUIoBOkEMYc8kewNMl04S2NUM qfalowUfwm3qtdnE5sqHiLOXD4xaj6m3fd2NTSWz+lyIe15utIcMEIVnu198A/U3E1s+ mSlQ5s/E43TYANlhGBvPxBzIiggMx4rblya8hSne8DUoUH5tY8rJQbcbi8iNW3tbhsGB I+MDqJlkq7BxXYexLHw0ifaz2Ro3+3eT+S2JDGFKAI+e8q2+dBqTSXfLWbtsrclff2IY mlQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=lbgn16i1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g2-20020a056a000b8200b0053a81f65dd3si5976981pfj.287.2022.10.26.10.46.31; Wed, 26 Oct 2022 10:46:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=lbgn16i1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231164AbiJZRas (ORCPT + 99 others); Wed, 26 Oct 2022 13:30:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233712AbiJZRao (ORCPT ); Wed, 26 Oct 2022 13:30:44 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EC288D22D; Wed, 26 Oct 2022 10:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HiYVn9aMwL/cWE4Pz4ri7pgwUgzFfzrAUVxWFAzu0XU=; b=lbgn16i1S9eaojGWW0u6VDtvT6 wZ9+ttvwf2RdDDlT0lVZa2xUuvLZbKtiIrXT99Wg/lEVBRkcbdJ6ZdoiwIn+OuloJyKayizfL8R/w DJyjHEzUevenSvxxpa56SpisTwUO5GUs3GpJmL8z9CrVolq5ZEHoqv9qpfbfeMaaMYv7VQoiGs/6Q e4v79x2YsjQeRLjoI7QaHXVp/SSVF3knBAdSz91AjFO5DtbTxY9iDz4Yvr6T0FImlTz1FYGTPfF3q db0o9hMIjyGgECPV1x8gZCPfDCzLttLkdPv7aUc0i7R9awbd/ntqBkuCmMWm9wP5be6SpodQ7ZMFg DtsG4M4Q==; Received: from p200300ccff073f001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff07:3f00:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1onkER-00017B-Q5; Wed, 26 Oct 2022 19:30:24 +0200 Received: from andi by aktux with local (Exim 4.94.2) (envelope-from ) id 1onkEQ-004v7B-W7; Wed, 26 Oct 2022 19:30:23 +0200 From: Andreas Kemnade To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alistair Francis Cc: Andreas Kemnade Subject: [PATCH] arm: dts: imx: e60k02: Add touchscreen Date: Wed, 26 Oct 2022 19:30:15 +0200 Message-Id: <20221026173015.1172816-1-andreas@kemnade.info> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.0 (-) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the touchscreen now, since the driver is available. Signed-off-by: Andreas Kemnade --- runtime/dtbs_check depends https://lore.kernel.org/linux-devicetree/20221026114908.191472-1-alistair@alistair23.me/T/#t arch/arm/boot/dts/e60k02.dtsi | 12 +++++++++++- arch/arm/boot/dts/imx6sl-tolino-shine3.dts | 14 ++++++++++++++ arch/arm/boot/dts/imx6sll-kobo-clarahd.dts | 14 ++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/e60k02.dtsi b/arch/arm/boot/dts/e60k02.dtsi index 935e2359f8df..4f36cc181a52 100644 --- a/arch/arm/boot/dts/e60k02.dtsi +++ b/arch/arm/boot/dts/e60k02.dtsi @@ -104,7 +104,17 @@ &i2c2 { clock-frequency = <100000>; status = "okay"; - /* TODO: CYTTSP5 touch controller at 0x24 */ + touchscreen@24 { + compatible = "cypress,tt21000"; + reg = <0x24>; + pinctrl-names = "default","sleep"; + pinctrl-0 = <&pinctrl_cyttsp5_gpio>; + pinctrl-1 = <&pinctrl_cyttsp5_gpio_sleep>; + interrupt-parent = <&gpio5>; + interrupts = <6 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; + vdd-supply = <&ldo5_reg>; + }; /* TODO: TPS65185 PMIC for E Ink at 0x68 */ diff --git a/arch/arm/boot/dts/imx6sl-tolino-shine3.dts b/arch/arm/boot/dts/imx6sl-tolino-shine3.dts index e3f1e8d79528..82d9ed91df92 100644 --- a/arch/arm/boot/dts/imx6sl-tolino-shine3.dts +++ b/arch/arm/boot/dts/imx6sl-tolino-shine3.dts @@ -52,6 +52,20 @@ &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog>; + pinctrl_cyttsp5_gpio: cyttsp5_gpio_grp { + fsl,pins = < + MX6SL_PAD_SD1_DAT3__GPIO5_IO06 0x17059 /* TP_INT */ + MX6SL_PAD_SD1_DAT2__GPIO5_IO13 0x10059 /* TP_RST */ + >; + }; + + pinctrl_cyttsp5_gpio_sleep: cyttsp5_gpio_grp_sleep { + fsl,pins = < + MX6SL_PAD_SD1_DAT3__GPIO5_IO06 0x10059 /* TP_INT */ + MX6SL_PAD_SD1_DAT2__GPIO5_IO13 0x10059 /* TP_RST */ + >; + }; + pinctrl_gpio_keys: gpio-keysgrp { fsl,pins = < MX6SL_PAD_SD1_DAT1__GPIO5_IO08 0x17059 /* PWR_SW */ diff --git a/arch/arm/boot/dts/imx6sll-kobo-clarahd.dts b/arch/arm/boot/dts/imx6sll-kobo-clarahd.dts index 90b32f5eb529..d743bf4fd8e6 100644 --- a/arch/arm/boot/dts/imx6sll-kobo-clarahd.dts +++ b/arch/arm/boot/dts/imx6sll-kobo-clarahd.dts @@ -62,6 +62,20 @@ &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog>; + pinctrl_cyttsp5_gpio: cyttsp5-gpiogrp { + fsl,pins = < + MX6SLL_PAD_SD1_DATA3__GPIO5_IO06 0x17059 /* TP_INT */ + MX6SLL_PAD_SD1_DATA2__GPIO5_IO13 0x10059 /* TP_RST */ + >; + }; + + pinctrl_cyttsp5_gpio_sleep: cyttsp5-gpiogrp-sleep { + fsl,pins = < + MX6SLL_PAD_SD1_DATA3__GPIO5_IO06 0x10059 /* TP_INT */ + MX6SLL_PAD_SD1_DATA2__GPIO5_IO13 0x10059 /* TP_RST */ + >; + }; + pinctrl_gpio_keys: gpio-keysgrp { fsl,pins = < MX6SLL_PAD_SD1_DATA1__GPIO5_IO08 0x17059 /* PWR_SW */ -- 2.30.2