From patchwork Mon Dec 5 13:40:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 29685 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2261739wrr; Mon, 5 Dec 2022 05:46:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf6NfumNc9sWKW6sT/VwUkGOHtBCHZEiSXxE7Cmuz5YLeGfu4ouOfxbGTTn9wbb2ygkGtF+p X-Received: by 2002:a17:906:658:b0:7ae:df97:9ff4 with SMTP id t24-20020a170906065800b007aedf979ff4mr20645060ejb.762.1670247964753; Mon, 05 Dec 2022 05:46:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670247964; cv=none; d=google.com; s=arc-20160816; b=q097FEJs7zG2i1wbd7q2XA1BCVq2X3uUaxeO/A5+BAw7x3PsBmgJ7kV2S0iq0h1yTb jrK0rArh+hZBcYf51efYr/gh8s69OJnzOYeLBZV7Csw54M4a91EaUq7BlvUHhRejK0/M 4raHnqXx03/JxHePmGHV7Hs2AK7Kf68lZ55GJqzGPq2PuRE1L5eOh/9CPTvEx0XjfzTw ov6+tbuLXsiEkEGH7REGC2xsEzYWQJ/e7QC1fHhfO6P5SPQgIyn8haRS4hayGZsXf6Gm Q7bU8W+3nBTqRvQBTvLrxbKrnG0b9g3nYdR12G2A2R8lHEavjMLG/JtOcFaF+r97gbWY gObQ== 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=7RnDlUq5Nn/6ZxQdNXH+yUB6S5jPzFvBkJluQnSZlto=; b=PVqAGHhb683VPWORe4AtOZO9nTl5qrfhnxIDuvF3ZewONXguMD0mfvqkh6KkfQVlL0 okfr242Nj6dCWHYsclJ2JRLVfmkaOrM1HsYVg2RGtOFpJnwCih/khqA4mtfhXj65qTHF 4FQ5b8IJ6Rd6K2GILXduYrTJ7Fw8qjddJqrjVxS44cd+L4k/oDbbkG+trh13dczKJOsj 9J0z517sftR8gorMx760s5gs+wySDKTMytyehDTAgCOAro7tckZWseYAxtjw1v2e9jpG NrPFVkbvOnkiwze+vF2cJ1EuzNUhAm+dCc5wZhJ9oQ4s+yLc1SiCHLun+NODB2FTKcTz ShQQ== 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 bx24-20020a0564020b5800b0046c81f2ef40si3700920edb.493.2022.12.05.05.45.39; Mon, 05 Dec 2022 05:46:04 -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 S232372AbiLENnE (ORCPT + 99 others); Mon, 5 Dec 2022 08:43:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231862AbiLENmn (ORCPT ); Mon, 5 Dec 2022 08:42:43 -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 D73F119B; Mon, 5 Dec 2022 05:42:41 -0800 (PST) Received: (Authenticated sender: foss@0leil.net) by mail.gandi.net (Postfix) with ESMTPSA id 5BA12FF802; Mon, 5 Dec 2022 13:42:29 +0000 (UTC) From: Quentin Schulz To: Samuel Holland , Bastien Nocera , =?utf-8?q?Guido_G=C3=BCnther?= , Sascha Hauer , Pengutronix Kernel Team , Angus Ainslie , Ondrej Jirman , Icenowy Zheng , Andy Gross , Aleksei Mamlin , Fabio Estevam , David Jander , Frieder Schrempf , Bjorn Andersson , Konrad Dybcio , Peter Geis , Heiko Stuebner , Shawn Guo , Jernej Skrabec , Lukasz Majewski , AngeloGioacchino Del Regno , Chen-Yu Tsai , Michael Riesch , Rob Herring , NXP Linux Team , Dmitry Torokhov , Hans de Goede , Jagan Teki , Krzysztof Kozlowski Cc: Quentin Schulz , 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 7/9] arm64: dts: librem5: fix touchscreen reset GPIO polarity Date: Mon, 5 Dec 2022 14:40:36 +0100 Message-Id: <20221103-upstream-goodix-reset-v3-7-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 X-Mailer: b4 0.10.1 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751381930129735332?= X-GMAIL-MSGID: =?utf-8?q?1751381930129735332?= 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/imx8mq-librem5-devkit.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>;