From patchwork Mon Dec 5 13:40:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 29686 Return-Path: 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 + 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 ); 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 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 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 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?1751381961190261259?= X-GMAIL-MSGID: =?utf-8?q?1751381961190261259?= 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 Acked-by: Frieder Schrempf # Reviewed-by: Lukasz Majewski --- 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>; }; };