Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4600441rwb; Mon, 21 Nov 2022 09:28:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf6tU1oGbjkk4XtMJfoAUj90+1s8gWqdEPLVDiOTf47bZ13f8sNCCTWWPUFLk4XcZ1hYvUVl X-Received: by 2002:a63:ff5f:0:b0:46f:b6df:3107 with SMTP id s31-20020a63ff5f000000b0046fb6df3107mr1033471pgk.454.1669051721703; Mon, 21 Nov 2022 09:28:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669051721; cv=none; d=google.com; s=arc-20160816; b=x08BR8OwTuKIR5kU+drNlVgnClvw73RRFYMnI/Ww/Q706G+w1W20KjCDCYTfA4nFgh FzthXdVY90huB6GleE2ZivBliMd4fYlgyLmYPP/0Ua94XpbW9a1+2pQkOnJA2Z4M8x/2 kJTGoFM+EWYy/TGh+XGxRvWZiXE/ild245S6ycwQ0MxfmK9FmqTXGqOlwxxeQLVuOU1Y niWCKtt4L0/A9e5KHyUWZcWJ0F6YdXntfVqN/14rTNuXfuX+M2q6+lQrfusPN/Y3rUnr VUiObx/ETWTfNr6UIWDS9BksZgzOWrex9Bwubbfl5lqSJeSGYxXtB47hDOJBFdlraLtU vPLA== 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=inDGeMjXGKpwrpHgRB0V14hRVVBgczf+QgKzyvr+KUQ=; b=PKuHL8A+GiYwWdxDJBk0zyqFQlI7lCUJJV+JWn7owzlel3QPS7SUwxYBfBhx7m8ki1 /Us0w2F4oYkCPQdZesjFJCtA626fYz0Mzh7gxzR3CQHgPEKRpmlfCk5i5ppXQsHLnwFz 0zGjrFTED4IvUDh/yxJxWs/95lBi15OmJiV4XTtznFYY64LSH7l0pTMjanPo6VWzg/Hc E2/TtNWfniDdKiADbwxFm01OuMu/CvfxxOWnGetnabYniCuMcWxoykttX6U9OC1ljFG4 tO6Yjh+nooI/a65pcPpBYvZVjRrM8Zp9lla0F6UcSPhSz9pN97Xc3pJBeupgr9y2dzdL 0NQg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l5-20020a17090a850500b00212de1542cesi9820990pjn.92.2022.11.21.09.28.30; Mon, 21 Nov 2022 09:28:41 -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 S229586AbiKURT5 (ORCPT + 91 others); Mon, 21 Nov 2022 12:19:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230444AbiKURTX (ORCPT ); Mon, 21 Nov 2022 12:19:23 -0500 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 244A11DC; Mon, 21 Nov 2022 09:18:15 -0800 (PST) Received: (Authenticated sender: foss@0leil.net) by mail.gandi.net (Postfix) with ESMTPSA id CF6E460013; Mon, 21 Nov 2022 17:18:08 +0000 (UTC) From: Quentin Schulz To: Shawn Guo , Krzysztof Kozlowski , Heiko Stuebner , Samuel Holland , Bjorn Andersson , Konrad Dybcio , Fabio Estevam , Jernej Skrabec , Bastien Nocera , Chen-Yu Tsai , Sascha Hauer , Pengutronix Kernel Team , Hans de Goede , Andy Gross , Rob Herring , NXP Linux Team , Dmitry Torokhov Cc: Quentin Schulz , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org Subject: [PATCH RFC v2 5/7] arm64: dts: imx: fix touchscreen reset GPIO polarity Date: Mon, 21 Nov 2022 18:17:22 +0100 Message-Id: <20221103-upstream-goodix-reset-v2-5-2c38fb03a300@theobroma-systems.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221103-upstream-goodix-reset-v2-0-2c38fb03a300@theobroma-systems.com> References: <20221103-upstream-goodix-reset-v2-0-2c38fb03a300@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, 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: X-Mailing-List: linux-kernel@vger.kernel.org From: Quentin Schulz 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 --- arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts | 2 +- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts b/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts index 9fbbbb556c0b3..df7e5ae9698e1 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-prt8mm.dts @@ -107,7 +107,7 @@ touchscreeen@5d { interrupt-parent = <&gpio1>; interrupts = <8 IRQ_TYPE_NONE>; irq-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; }; temp-sense@70 { diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts index 6445c6b90b5bb..b038300812b1e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts @@ -542,7 +542,7 @@ touchscreen@5d { pinctrl-0 = <&pinctrl_ts>; interrupt-parent = <&gpio3>; interrupts = <0 IRQ_TYPE_LEVEL_LOW>; - reset-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; irq-gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>; touchscreen-size-x = <720>; touchscreen-size-y = <1440>; -- b4 0.10.1