From patchwork Mon Nov 21 17:17:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 23963 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1725676wrr; Mon, 21 Nov 2022 09:26:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf50NOiU1CVdamrSKkkbAEDDqHO8oLcg5mbeJCQVbdrTtgUlyAd6PiSQ3IzjJmbAKoc72Rvz X-Received: by 2002:a05:6402:915:b0:467:d741:f359 with SMTP id g21-20020a056402091500b00467d741f359mr3146674edz.100.1669051606222; Mon, 21 Nov 2022 09:26:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669051606; cv=none; d=google.com; s=arc-20160816; b=poSgie75Ex0516TjBnQDo0TMhqFehZPmNEsag/gtrk894jIsk8eR0eOvRjTci2DwZ/ 9YQIO+mDvHD5VeLrANVTXvDtwvGtZg6zYmW+Py9Xf6eMMg9DL6s8UN3nmcQm4fh63yp7 CqWNq2Tx7fADgKLDvHq04ZUd7ag+udJWqzEXbenkJEGXlnw8I8TVMsBGBAbhyFrwtSdb z5uYwzRpUAGz8csRLyPVuDyOwA52k38qfvHEOlmkDl1R3zZ81HTPINh4YngzCf70xnB+ sSsEXICu59Higp99pa8+M5fOlYnsvbHf7dpeMf9r8bjMjHdxHkOKjJKGslqZJh+eyDcD 0lQA== 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=cSAUMQryQDgPBphaABLqQW5tZ4THRAR2cJj4LKeGPEs=; b=cUFA4qCLngkfijLLWxp5bYWrWLkdIvlsh/zAlB4IfZYzcELWAch2vNsl2TadCd3Gv1 dEtSEH+O1KnauW3HdrTAq8bhJ6yMx7BFn5o12+VduF7CnoA4yi7JT0JbnjqmLS9rRnWs NTCMNmHVgBbfsEvaSN49W5C6vaQpzzeQGLmzbz39OoPLZOP0gQKX1l2kxclQ5Pz8QQMl AMNhgndo7/sE4OKaBnM8wpndGKFta1SY6CXM/tD+o55gY9QmAXR7iEJy/pyKfcamzhKO qYfpL6PBljZZ7+lbBCBQahQOwl7cykyB9vfriyM67iOkjdPOZ/PUbYE9j4FidMukpL/4 s56Q== 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 dp15-20020a170906c14f00b007ade3ea871esi8238510ejc.627.2022.11.21.09.26.21; Mon, 21 Nov 2022 09:26:46 -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 S231387AbiKURTr (ORCPT + 99 others); Mon, 21 Nov 2022 12:19:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231361AbiKURTT (ORCPT ); Mon, 21 Nov 2022 12:19:19 -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 8C82D7ECB9; Mon, 21 Nov 2022 09:18:03 -0800 (PST) Received: (Authenticated sender: foss@0leil.net) by mail.gandi.net (Postfix) with ESMTPSA id DF4356000C; Mon, 21 Nov 2022 17:17:55 +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 3/7] ARM: dts: sunxi: fix touchscreen reset GPIO polarity Date: Mon, 21 Nov 2022 18:17:20 +0100 Message-Id: <20221103-upstream-goodix-reset-v2-3-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?1750127457103721380?= X-GMAIL-MSGID: =?utf-8?q?1750127457103721380?= 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/sun7i-a20-wexler-tab7200.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts b/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts index fef02fcbbdf82..8c79ecdb40608 100644 --- a/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts +++ b/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts @@ -114,7 +114,7 @@ gt911: touchscreen@5d { interrupt-parent = <&pio>; interrupts = <7 21 IRQ_TYPE_EDGE_FALLING>; /* EINT21 (PH21) */ irq-gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>; /* INT (PH21) */ - reset-gpios = <&pio 1 13 GPIO_ACTIVE_HIGH>; /* RST (PB13) */ + reset-gpios = <&pio 1 13 GPIO_ACTIVE_LOW>; /* RST (PB13) */ touchscreen-swapped-x-y; }; };