From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 48FCFC433FE for ; Sun, 23 Oct 2022 09:31:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lOpU5O2Lmd2/y1MkPtjDEyLmZXf6cqFTpljrek9d7sE=; b=ZV+pfR4WO19aA/ aUZRsKqCeBvvCB9SAyCKS7SlijLhLKYXxf6MOpQCBiPee1UGt+RBLkN7ai3TQDXJXD3z1IrFv6fo6 vBE7srBT8+4ZfEOVfRU6hlLv3jOA2gB1vJ6d9Bn9xzzBDdf6BrUMV+wZ7K1A8PG56wu+/5pNsKzES JKqdpPKG0p0F0ypkcLvDcmlm8aJgMaeeytpUqukD0jeUevvzggPvWPM1RCR3uUO6bNwwJFal8/EVV noBCTG/IqUOjcOfQh7EzVJ2spypxi2ogwsGEcc7ui0MUp4aruH0GVZ0j9NbLBPvX2qTl4Tf4wt/My CwFehVvsUElnEaHbgMLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1omXJM-00EqOM-W3; Sun, 23 Oct 2022 09:30:29 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1omXJJ-00EqNX-TZ for linux-arm-kernel@lists.infradead.org; Sun, 23 Oct 2022 09:30:27 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2D59EB80D5F; Sun, 23 Oct 2022 09:30:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3444FC433D6; Sun, 23 Oct 2022 09:30:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666517422; bh=SvZU34knkzTksbDV9/R1UQaBdQ4Vp+P93Kb6ii8rmFI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IdS3KcbBazezxh9b26kfs977M6yjyqN0x7jvtpV3Q5ywMUbCdObrVuPS0OEKBg6Up AUbvS3j2LuHGFqAvJMcaHQaOpw26+XGcU328Q4qn9Jg9EfQohWWl7Cl21AcBj8sF3z vbyTl8JsU+nEBOS49rJMLoQk67n/0NUUGT+CLpZU4ZNYqgu79QgzbPhIAs6TmWqWkS V5SyNz6DTXrvgtVqrAPVxeWnU5q9pGsokJSGRSMfu5s1IDTTac76H+C9kV65xs90bL HxOkVbw/nqYM9QSy9hTkL1a8XdqxMc5qCyUl9cnw6d+6xKW6EjF8iaG5qpi60GXnfH AHwXX9o8pr9Vg== Date: Sun, 23 Oct 2022 17:30:16 +0800 From: Shawn Guo To: Dmitry Torokhov Cc: Sascha Hauer , linux-input@vger.kernel.org, Krzysztof Kozlowski , Fabio Estevam , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] ARM: dts: imx6qdl-sabre*: fix Egalax touchscreen properties Message-ID: <20221023093016.GC125525@dragon> References: <20220920042608.1865560-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220920042608.1865560-1-dmitry.torokhov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221023_023026_119328_EA69DA1B X-CRM114-Status: GOOD ( 21.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Sep 19, 2022 at 09:26:05PM -0700, Dmitry Torokhov wrote: > This patch fixes interrupt trigger (should be level low as that is what the > driver is always using), the GPIO that is the interrupt source that is also > used to wake up chip by driving the line low. > > The proper polarity is be needed for converting the driver to gpiod API. > > Signed-off-by: Dmitry Torokhov Looks good to me. Let me know if you want me to pick it up. Otherwise, Acked-by: Shawn Guo Shawn > --- > arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 4 ++-- > arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 8 ++++---- > 2 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi > index 1368a4762037..1883350d004e 100644 > --- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi > @@ -451,8 +451,8 @@ touchscreen@4 { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_egalax_int>; > interrupt-parent = <&gpio2>; > - interrupts = <28 IRQ_TYPE_EDGE_FALLING>; > - wakeup-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>; > + interrupts = <28 IRQ_TYPE_LEVEL_LOW>; > + wakeup-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; > }; > }; > > diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi > index 37482a9023fc..09f4c2fa3ad6 100644 > --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi > @@ -311,8 +311,8 @@ touchscreen@4 { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_i2c2_egalax_int>; > interrupt-parent = <&gpio6>; > - interrupts = <8 IRQ_TYPE_EDGE_FALLING>; > - wakeup-gpios = <&gpio6 8 GPIO_ACTIVE_HIGH>; > + interrupts = <8 IRQ_TYPE_LEVEL_LOW>; > + wakeup-gpios = <&gpio6 8 GPIO_ACTIVE_LOW>; > }; > > ov5640: camera@3c { > @@ -450,8 +450,8 @@ egalax_ts@4 { > compatible = "eeti,egalax_ts"; > reg = <0x04>; > interrupt-parent = <&gpio6>; > - interrupts = <7 2>; > - wakeup-gpios = <&gpio6 7 0>; > + interrupts = <7 IRQ_TYPE_LEVEL_LOW>; > + wakeup-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>; > }; > > magnetometer@e { > -- > 2.37.3.968.ga6b4b080e4-goog > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel