Message ID | 20221103-upstream-goodix-reset-v3-4-0975809eb183@theobroma-systems.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2262052wrr; Mon, 5 Dec 2022 05:46:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf7S6wiR29EREULltV0w1DFW3LWPRptinZ3osYa11fyMwQL0PtGYe8Phvkmvf11bXez+JtKf X-Received: by 2002:a05:6402:1145:b0:46a:d5ee:d150 with SMTP id g5-20020a056402114500b0046ad5eed150mr38370588edw.312.1670247994618; Mon, 05 Dec 2022 05:46:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670247994; cv=none; d=google.com; s=arc-20160816; b=WEa3D1dODCYb/PULLQXKbzMd8SGn7N8qVdJ2+SpW81F4rPulOjU6NFs0diNDb/7INC FclflxBoyII3aPs1q80OZm9LRxcWapWJw0dyEt7exZevZUpVH8EeTdaavKlLcNbR9U6C dE9PrmTnD+dUEcI2C7HySL0z283jJqnFsRza9DBfxQydEge4Ew62biovGZShnME7FUZj Pm+0uP1r0sZgjGipt0ME+l1JsiGcgwS8Ku+MMxrQL49oyF6u0hz2KpQ3grfeLxPVudj6 UJ3aLGNVEFTCXl32duN+267luaQ1e8ShjBWOvmK4A3JPz9chrHOTTmaCyf49P17WTfXL 65Dg== 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=RK9Zz1Ba90VilAFGhu183mbpKQ4O4jr/Yx0k1Nz1tOQ=; b=BULn7GV2n3xGdJS4zmyWeyp1FOl6YMNH37g6lgt9yCJmbLfSmLxgUVLtlt1/TvhM5k p2t0e/yOUIXP+LC3ZaKc3CIVhSNhdsq1fimyu5AjM5HUj0y/6tl8jurn49tBL7z+/JAE scM6wbKFwRfOvEIOUo2jDFkFbwVJAwL5mCXx6GZtq/HHfsD6WqV4SAUOgyORPoMYTY3q HoXoAXgv1MOoZ7ePC+6RRL0+2w3Upn6W3BZSZfD6e97MRGaVO7qKHdS38hKyNrEmcRqy UoGqaBy9f4SvmiAsB8xDkmwPr9K2JUtMViVq9v19edTl1v5toFkH1NNiSHKGghN2/icP oTMw== ARC-Authentication-Results: i=1; mx.google.com; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x16-20020aa7dad0000000b0046ad8dfcfbasi10209862eds.344.2022.12.05.05.46.04; Mon, 05 Dec 2022 05:46:34 -0800 (PST) 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; 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 S232453AbiLENm6 (ORCPT <rfc822;jaysivo@gmail.com> + 99 others); Mon, 5 Dec 2022 08:42:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232345AbiLENlz (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 5 Dec 2022 08:41:55 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 658111CFE6; Mon, 5 Dec 2022 05:41:53 -0800 (PST) Received: (Authenticated sender: foss@0leil.net) by mail.gandi.net (Postfix) with ESMTPSA id B3B56FF802; Mon, 5 Dec 2022 13:41:37 +0000 (UTC) From: Quentin Schulz <foss+kernel@0leil.net> To: Samuel Holland <samuel@sholland.org>, Bastien Nocera <hadess@hadess.net>, =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Angus Ainslie <angus@akkea.ca>, Ondrej Jirman <megous@megous.com>, Icenowy Zheng <icenowy@aosc.io>, Andy Gross <agross@kernel.org>, Aleksei Mamlin <mamlinav@gmail.com>, Fabio Estevam <festevam@gmail.com>, David Jander <david@protonic.nl>, Frieder Schrempf <frieder.schrempf@kontron.de>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Peter Geis <pgwipeout@gmail.com>, Heiko Stuebner <heiko@sntech.de>, Shawn Guo <shawnguo@kernel.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Lukasz Majewski <lukma@denx.de>, AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>, Chen-Yu Tsai <wens@csie.org>, Michael Riesch <michael.riesch@wolfvision.net>, Rob Herring <robh+dt@kernel.org>, NXP Linux Team <linux-imx@nxp.com>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Hans de Goede <hdegoede@redhat.com>, Jagan Teki <jagan@amarulasolutions.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Quentin Schulz <quentin.schulz@theobroma-systems.com>, linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: [PATCH v3 4/9] ARM: dts: imx: fix touchscreen reset GPIO polarity Date: Mon, 5 Dec 2022 14:40:33 +0100 Message-Id: <20221103-upstream-goodix-reset-v3-4-0975809eb183@theobroma-systems.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221103-upstream-goodix-reset-v3-0-0975809eb183@theobroma-systems.com> References: <20221103-upstream-goodix-reset-v3-0-0975809eb183@theobroma-systems.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Mailer: b4 0.10.1 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751381961190261259?= X-GMAIL-MSGID: =?utf-8?q?1751381961190261259?= |
Series |
fix reset line polarity for Goodix touchscreen controllers
|
|
Commit Message
Quentin Schulz
Dec. 5, 2022, 1:40 p.m. UTC
From: Quentin Schulz <quentin.schulz@theobroma-systems.com> The reset line is active low for the Goodix touchscreen controller so let's fix the polarity in the Device Tree node. Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> --- arch/arm/boot/dts/imx6q-kp.dtsi | 2 +- arch/arm/boot/dts/imx6ul-kontron-bl-43.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Comments
On 05.12.22 14:40, Quentin Schulz wrote: > From: Quentin Schulz <quentin.schulz@theobroma-systems.com> > > The reset line is active low for the Goodix touchscreen controller so > let's fix the polarity in the Device Tree node. > > Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> > --- > arch/arm/boot/dts/imx6q-kp.dtsi | 2 +- > arch/arm/boot/dts/imx6ul-kontron-bl-43.dts | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6q-kp.dtsi b/arch/arm/boot/dts/imx6q-kp.dtsi > index 1ade0bff681d6..dae14aaf803a8 100644 > --- a/arch/arm/boot/dts/imx6q-kp.dtsi > +++ b/arch/arm/boot/dts/imx6q-kp.dtsi > @@ -188,7 +188,7 @@ touchscreen@5d { > interrupt-parent = <&gpio1>; > interrupts = <9 IRQ_TYPE_EDGE_FALLING>; > irq-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; > - reset-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; > + reset-gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; > }; > > ds1307: rtc@32 { > diff --git a/arch/arm/boot/dts/imx6ul-kontron-bl-43.dts b/arch/arm/boot/dts/imx6ul-kontron-bl-43.dts > index 0c643706a158b..767ef5da76136 100644 > --- a/arch/arm/boot/dts/imx6ul-kontron-bl-43.dts > +++ b/arch/arm/boot/dts/imx6ul-kontron-bl-43.dts > @@ -29,7 +29,7 @@ touchscreen@5d { > pinctrl-0 = <&pinctrl_cap_touch>; > interrupt-parent = <&gpio5>; > interrupts = <6 IRQ_TYPE_LEVEL_LOW>; > - reset-gpios = <&gpio5 8 GPIO_ACTIVE_HIGH>; > + reset-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>; > irq-gpios = <&gpio5 6 GPIO_ACTIVE_HIGH>; > }; > }; The imx6ul-kontron-bl-43.dts misses a working panel node, so I'm pretty sure it is not used and nobody will bother about change breaking compatibility. I don't have the hardware at hand at the moment to perform a test, so for now: Acked-by: Frieder Schrempf <frieder.schrempf@kontron.de> # imx6ul-kontron-bl-43.dts
On Tue, 6 Dec 2022 12:25:29 +0100 Frieder Schrempf <frieder.schrempf@kontron.de> wrote: > On 05.12.22 14:40, Quentin Schulz wrote: > > From: Quentin Schulz <quentin.schulz@theobroma-systems.com> > > > > The reset line is active low for the Goodix touchscreen controller > > so let's fix the polarity in the Device Tree node. > > > > Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> > > --- > > arch/arm/boot/dts/imx6q-kp.dtsi | 2 +- > > arch/arm/boot/dts/imx6ul-kontron-bl-43.dts | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/arch/arm/boot/dts/imx6q-kp.dtsi > > b/arch/arm/boot/dts/imx6q-kp.dtsi index > > 1ade0bff681d6..dae14aaf803a8 100644 --- > > a/arch/arm/boot/dts/imx6q-kp.dtsi +++ > > b/arch/arm/boot/dts/imx6q-kp.dtsi @@ -188,7 +188,7 @@ > > touchscreen@5d { interrupt-parent = <&gpio1>; > > interrupts = <9 IRQ_TYPE_EDGE_FALLING>; > > irq-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; > > - reset-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; > > + reset-gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; > > }; > > > > ds1307: rtc@32 { > > diff --git a/arch/arm/boot/dts/imx6ul-kontron-bl-43.dts > > b/arch/arm/boot/dts/imx6ul-kontron-bl-43.dts index > > 0c643706a158b..767ef5da76136 100644 --- > > a/arch/arm/boot/dts/imx6ul-kontron-bl-43.dts +++ > > b/arch/arm/boot/dts/imx6ul-kontron-bl-43.dts @@ -29,7 +29,7 @@ > > touchscreen@5d { pinctrl-0 = <&pinctrl_cap_touch>; > > interrupt-parent = <&gpio5>; > > interrupts = <6 IRQ_TYPE_LEVEL_LOW>; > > - reset-gpios = <&gpio5 8 GPIO_ACTIVE_HIGH>; > > + reset-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>; > > irq-gpios = <&gpio5 6 GPIO_ACTIVE_HIGH>; > > }; > > }; > > The imx6ul-kontron-bl-43.dts misses a working panel node, so I'm > pretty sure it is not used and nobody will bother about change > breaking compatibility. I don't have the hardware at hand at the > moment to perform a test, so for now: > > Acked-by: Frieder Schrempf <frieder.schrempf@kontron.de> # > imx6ul-kontron-bl-43.dts Reviewed-by: Lukasz Majewski <lukma@denx.de> For imx6 TPC70 device. Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
diff --git a/arch/arm/boot/dts/imx6q-kp.dtsi b/arch/arm/boot/dts/imx6q-kp.dtsi index 1ade0bff681d6..dae14aaf803a8 100644 --- a/arch/arm/boot/dts/imx6q-kp.dtsi +++ b/arch/arm/boot/dts/imx6q-kp.dtsi @@ -188,7 +188,7 @@ touchscreen@5d { interrupt-parent = <&gpio1>; interrupts = <9 IRQ_TYPE_EDGE_FALLING>; irq-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; }; ds1307: rtc@32 { diff --git a/arch/arm/boot/dts/imx6ul-kontron-bl-43.dts b/arch/arm/boot/dts/imx6ul-kontron-bl-43.dts index 0c643706a158b..767ef5da76136 100644 --- a/arch/arm/boot/dts/imx6ul-kontron-bl-43.dts +++ b/arch/arm/boot/dts/imx6ul-kontron-bl-43.dts @@ -29,7 +29,7 @@ touchscreen@5d { pinctrl-0 = <&pinctrl_cap_touch>; interrupt-parent = <&gpio5>; interrupts = <6 IRQ_TYPE_LEVEL_LOW>; - reset-gpios = <&gpio5 8 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>; irq-gpios = <&gpio5 6 GPIO_ACTIVE_HIGH>; }; };