From patchwork Mon Nov 21 17:17:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 23965 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1726068wrr; Mon, 21 Nov 2022 09:27:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf5jj0IldoDw6HOLA1+SWU/xFkxhYVHu30ks2/88bIq0kcsKV9ulfeMUz0Da16DtoJKuKDpK X-Received: by 2002:a17:90a:9c07:b0:218:9f75:deae with SMTP id h7-20020a17090a9c0700b002189f75deaemr10289596pjp.58.1669051652261; Mon, 21 Nov 2022 09:27:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669051652; cv=none; d=google.com; s=arc-20160816; b=upDfqyQJuyTERy7D1YmJkbghAjTdEyS/AzwjasdCMfaNKJ5fj86AukFxVpo2j39nh7 aZPdWzh2KtgfJsm2yDAvw548PNNcmlBS49DUSqZKGlGAs9x6lvXDqkkjoK46sbMiW7Zh x248FueG/OkduVhF1ScneY6vha2EiBcjLZwAEGeB/uJXSZSozke/0E2LBaCdSr7pc8T/ 8b/Ni5vOu/FPBR5JdoeCgpwWuxqLfGScNHZimQ26Emu+/uJr15NBUqFWNbLKRRSGPFWu NXrCRFUFm8p8PYEohJBYFruw4lrYt8koMfyokP4BDzpRKKk5jAJMT/mzXmodYsCZua2j j49A== 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=f6QTXmTe+6uPgec9EJDQSAkAjrYuJnzLVuDOArWk7a07r131UghhPb9F0LeHWIdOPH 3JXvDBHX7SZ5lFtjHx+dfzUPDmuRybbpZZFPsfms95Qw/JphMXc5xSmFxJudZdAGqHe4 HBxGeIdbxN1t8lKpaY4TTavsvAENUS4WRCBj7/BBrfb4xmTaV5kbISonmw9vYsQs3vtx z8S68EthJnd5cTnD1HYqNKAtGa9eL4SlExFN1uKcSJT1xS9OFgGW3zOCpB342uffxhZW VHvFXZHvOzY4/Y6gZiHAwVv0aV1WOHPPvXt3+VAcE3fbMJYFLGRQyw+fGOKakuECCEzV kWwA== 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 y5-20020a17090a86c500b00202827b6f5asi10166657pjv.162.2022.11.21.09.27.17; Mon, 21 Nov 2022 09:27:32 -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 S231584AbiKURTo (ORCPT + 99 others); Mon, 21 Nov 2022 12:19:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230411AbiKURTP (ORCPT ); Mon, 21 Nov 2022 12:19:15 -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 14CF71C43C; Mon, 21 Nov 2022 09:17:56 -0800 (PST) Received: (Authenticated sender: foss@0leil.net) by mail.gandi.net (Postfix) with ESMTPSA id 4825B60007; Mon, 21 Nov 2022 17:17:50 +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 2/7] ARM: dts: imx: fix touchscreen reset GPIO polarity Date: Mon, 21 Nov 2022 18:17:19 +0100 Message-Id: <20221103-upstream-goodix-reset-v2-2-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 X-Mailer: b4 0.10.1 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750127505357312394?= X-GMAIL-MSGID: =?utf-8?q?1750127505357312394?= 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/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>; }; };