From patchwork Mon Dec 5 13:40:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 29683 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2261344wrr; Mon, 5 Dec 2022 05:45:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf4hmEQr3er/Gdodv76GQDZfdvPMGe3QRWWgc68Npq/Rxd4N9rDh46RS+caKqugGd2YmpUWf X-Received: by 2002:a63:5857:0:b0:46f:9763:a37b with SMTP id i23-20020a635857000000b0046f9763a37bmr59973361pgm.177.1670247925520; Mon, 05 Dec 2022 05:45:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670247925; cv=none; d=google.com; s=arc-20160816; b=GihHfsmls24gzoN7EKtuq+amX8fmVES8z/PtEP0dqEegfkavhxCxm+Ey7kmrOyDW++ 3Vek+XZl4PU5QsdXOEUK3emhNqd2tS91gVONMPTvSh7sPuW3iD0jwAOIsUlrNkETDbH8 3lflGCOI9v/EcVv1kLiFs5E8dJgCPa1dwLuCZOhTUZMBWjtoAbSDXBaaaPDW/UCudeY+ jXhFKwkjwc4OYZE5FaWVye3NrTThBUmhrEygv14RI2jbMZVznHh1pMpTFTb2Z+lpUQJH y+krzSONeBR2KoL1guPJfZ1TKKrj5CTQbu3f+FfG+W0Z6Vsg44NkOJsgj9cuc8u2aIgU 5PlA== 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=sLSUY+qcEgvjss24wf0lUS+sESMBVbVdFSYtxUFVGeaIslTPWdE79kB31sufpQs6Dj Vd+BbeISITtndqHrzIT/HQCVaOIDZLXdGUeoV8FFwKMZPE+/fRjeXnW5FcEYoaKOhilC eIp17bbUOsYcf6GtsUQcF0q58zxjF/2lKSapj05raSOQoFGCISkw95VxNg5SBLOhiHBl nEKVLLBf1+NtthLOiY5lrYoM06mOdLMMNR6d6RLLiUzaTozFX0fRobz+48PaY+3RiCZM T/PiGJ8+Jrrlaqz1i2OZCfAZH4mgXcn3f1TQXRsEIiE36k4Q0CHZ0neSWCq1ZdVF3h9h UDOQ== 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 d17-20020a056a00245100b0056e3b664403si15310138pfj.298.2022.12.05.05.45.12; Mon, 05 Dec 2022 05:45:25 -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 S232358AbiLENmS (ORCPT + 99 others); Mon, 5 Dec 2022 08:42:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232143AbiLENmO (ORCPT ); Mon, 5 Dec 2022 08:42:14 -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 0D3EE1CFF2; Mon, 5 Dec 2022 05:42:09 -0800 (PST) Received: (Authenticated sender: foss@0leil.net) by mail.gandi.net (Postfix) with ESMTPSA id 031A7FF808; Mon, 5 Dec 2022 13:41:50 +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 5/9] ARM: dts: sunxi: fix touchscreen reset GPIO polarity on Wexler TAB7200 tablet Date: Mon, 5 Dec 2022 14:40:34 +0100 Message-Id: <20221103-upstream-goodix-reset-v3-5-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?1751381888740674280?= X-GMAIL-MSGID: =?utf-8?q?1751381888740674280?= 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; }; };