Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1139297rwi; Wed, 26 Oct 2022 11:13:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4BNliXXuwuKftCGH0kEuJ2tRTI4kDYIf4iMKhmsdArdkg0M9HM0v/JcQWtRVHKWjeJcDCf X-Received: by 2002:a62:1e81:0:b0:563:8689:d295 with SMTP id e123-20020a621e81000000b005638689d295mr45985165pfe.6.1666807987066; Wed, 26 Oct 2022 11:13:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666807987; cv=none; d=google.com; s=arc-20160816; b=LsZ24jr20QDEmAgJ3FDQdT7wHqb/twmfftnBHDrE0qhOnlkO/EaS3X97vA0MqyIaa8 gOvZXoEC9u9HWWMwQLO1fY+dtyD2fGyvTMiYqeQ8InyIeMTctQ3PQvHqSCnyJsqqpGjP EdWRHEzOD+MFcR1N872SxkBptHOdvPRFVdPVNQ0DTdIvneos81tAQzSMRad+2Yxt+Azz K2gFR08hTJ8hCxyHrZvZRlW6xZdG32HKs9ywfhad+fYOFTTV/w37tc2qIJcb6CleRiU9 oE+ubc0zlyxfYqPmG2aJcSbb9sNVHT8vzm/Zgs460jaEQghsKEaeJoWKsaimLFUcF8eb TVUA== 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:subject:cc:to:from:date :dkim-signature; bh=cqxi+n3MmD7NBGgLs1eKTWF/KKLqUV5WI593klf6b/o=; b=d6e1fdTn0lXEg0v6mAVxRbFkHlAbknQJwMFHV3Z89fORTN9XS7wJuF2ICr5Cv2oE/m Dl7h6TPews8v+p0/qyZ2yrn+GuCF2Y9agqEBJu9Kht2X9AMAt5FlTemIZpTtCTTPXsZG Yfwdedzo8hLKuMTyJkZQrBzi288PhqTgLXoYVue7ezh2cMrVPg7gDkdZFZsCrzcZYA6t MMcr98aU6XwOmZnkSaW+2RrM59bpWqBMOT/D3XpgR/FrHADRRRxNMuHvXi+rL1kKOqzI OwcfhD3XD3wkNDNG6kInp50BgXDOJvfLRU2XHYzl0XXKb9ZkdfMe0dPSeHxpTHzD23lh Z/IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=voACzILO; 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 j70-20020a638049000000b00442e77a852dsi7435857pgd.509.2022.10.26.11.12.53; Wed, 26 Oct 2022 11:13:07 -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=voACzILO; 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 S233852AbiJZRxz (ORCPT + 99 others); Wed, 26 Oct 2022 13:53:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233563AbiJZRxx (ORCPT ); Wed, 26 Oct 2022 13:53:53 -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 E75F9FF220; Wed, 26 Oct 2022 10:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cqxi+n3MmD7NBGgLs1eKTWF/KKLqUV5WI593klf6b/o=; b=voACzILOGDgQCDl04V355uNyQH 0Et67ksxu5E206x3I3uNqsAjFWF7LyAUHsotkbQz3M8LL9gQx+HA9gETynR+UQvMMzbQ5JIsPaRha lSEawjnn8MGZVhgiGbOaq85FedWhlbrnVAVGsvsRP7NiBWH5yb7gQ5WKVSBDBveJ4YPj6eewuWtz/ USNUB27FVNZfK8qCI+LNW5N0n02+J6PAdBnxkqOomsnHJ84FeZDRNXqHMAQgELdbi3qu5m2CgZhvH CZ84onrW/JB2uKCcgdczMfeMAoJLyKXdWZ90zy06XBhtgC+5Yy5OR4n/7YcrDtWN5rpjPPt3miK2l 4GiXZSFw==; 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 1onkb4-0001AD-2t; Wed, 26 Oct 2022 19:53:46 +0200 Date: Wed, 26 Oct 2022 19:53:44 +0200 From: Andreas Kemnade To: Marco Felsch Cc: 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 Subject: Re: [PATCH] arm: dts: imx: e60k02: Add touchscreen Message-ID: <20221026195344.7fda0b44@aktux> In-Reply-To: <20221026174300.6f5l6lsg5msrz6op@pengutronix.de> References: <20221026173015.1172816-1-andreas@kemnade.info> <20221026174300.6f5l6lsg5msrz6op@pengutronix.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Hi Marco, On Wed, 26 Oct 2022 19:43:00 +0200 Marco Felsch wrote: > Hi Andreas, > > On 22-10-26, Andreas Kemnade wrote: > > Add the touchscreen now, since the driver is available. > > I pulled input/next and grep'ed for the compatible but found nothing. > Where should the driver be available? > Copying the link again. I have the guts feeling that it is near being accepted: https://lore.kernel.org/linux-devicetree/20221026114908.191472-1-alistair@alistair23.me/T/#t Regards, Andreas > Regards, > Marco > > > 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"; > > Does the driver handle the different states? > > > + 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 { > > According the below code it should be: > pinctrl_cyttsp5_gpio: cyttsp5-gpiogrp { > > and.. > > > + 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 { > > > pinctrl_cyttsp5_gpio_sleep: cyttsp5-gpio-sleepgrp { > > > Regards, > Marco > > > + 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 > > > > > > >