From patchwork Wed Jun 20 20:35:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Dyer X-Patchwork-Id: 10478659 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E7543601D7 for ; Wed, 20 Jun 2018 20:35:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D5AA727C2D for ; Wed, 20 Jun 2018 20:35:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C65F727DCD; Wed, 20 Jun 2018 20:35:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5C4FF27C2D for ; Wed, 20 Jun 2018 20:35:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=VIXIK+k8yHVFD0U3VvNgdAed05xBUbt7VATpvpejd5k=; b=MSMRjeKmXbhTP53FxzhxWEQJ1T oIvoJPN74GXqucRtqkAYy6vsw2K9Gv2RfYON1JpPkTJ62/by2N+Jwrwr38IAk37wowpcP6T4pn1oJ 4a/iom2kPSAwrpS9pVxAJq1XjPB6eKg/IaSIxLLzKd4+ehgdt1LAO53gjaiGImHwoDUeKmHs9vKVF DD3qVjq+YKCT7v7ot96L+Ibpr+8QlMe0ANBqzB3miPQaH+Os68rNqjLkRMas9I5I7Nt20TPaNsQH/ LGeMwrEXs9vlFQeoN1IKZwhtRPVfU7odBBNEHolnV6fd74FSMIC1HlA7u4wU1C/v332AvlR8Q/m4c 2m+nKXNA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVjp2-0007S1-Rb; Wed, 20 Jun 2018 20:35:20 +0000 Received: from avasout06.plus.net ([212.159.14.18]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVjoy-0006YN-TS for linux-arm-kernel@lists.infradead.org; Wed, 20 Jun 2018 20:35:18 +0000 Received: from hairyalien ([80.229.148.18]) by smtp with SMTP id VjokfUSKsWLW2Vjolfo3jn; Wed, 20 Jun 2018 21:35:04 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=fJUXI6Se c=1 sm=1 tr=0 a=o7Djd4SkmPXITDn8qH+ssQ==:117 a=o7Djd4SkmPXITDn8qH+ssQ==:17 a=7mUfYlMuFuIA:10 a=beXlt2xKAAAA:8 a=VwQbUJbxAAAA:8 a=8AirrxEcAAAA:8 a=F3uLQHj-DGfmKU-asAgA:9 a=gcY2M4Ci8LIz02MwfSIM:22 a=AjGcO6oz07-iQ99wixmX:22 a=ST-jHhOKWsTCqRlWije3:22 Received: by hairyalien (sSMTP sendmail emulation); Wed, 20 Jun 2018 21:35:02 +0100 From: Nick Dyer To: Shawn Guo Subject: [PATCH v4] ARM: dts: imx51-zii-rdu1: fix touchscreen pinctrl Date: Wed, 20 Jun 2018 21:35:00 +0100 Message-Id: <20180620203500.28309-1-nick@shmanahar.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-CMAE-Envelope: MS4wfKJSb3HyZoRLu4GUZL/TOgOyb4kCM/Br0C62wG44ug0J0ok6UY+3dNX5TMNcuBhF2ZGQyrXx6afSTWm9t1JcTtBlNTscNFsZIJcp0l2EUX5ymbiO0LRo Q05YioThKfSvzJLeTIeGpOgDEc/6tf1IulcaZdTyYtmzlfqQVbY1RfSE X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180620_133517_099076_7CD0F015 X-CRM114-Status: GOOD ( 11.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nikita Yushchenko , devicetree@vger.kernel.org, Nick Dyer , Andrey Smirnov , Sascha Hauer , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Chris Healy , Fabio Estevam , linux-arm-kernel@lists.infradead.org, Lucas Stach MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The pinctrl settings were incorrect for the touchscreen interrupt line, causing an interrupt storm. This change has been tested with both the atmel_mxt_ts and RMI4 drivers on the RDU1 units. The value 0x4 comes from the value of register IOMUXC_SW_PAD_CTL_PAD_CSI1_D8 from the old vendor kernel. Signed-off-by: Nick Dyer Fixes: ceef0396f367 ("ARM: dts: imx: add ZII RDU1 board") Cc: # 4.15+ Reviewed-by: Fabio Estevam Tested-by: Chris Healy --- Changes in v4: - Add reviewed by Fabio Changes in v3: - Update commit message to add source of 0x4 value, fixes tag and CC stable Changes in v2: - Use hex, only alter IRQ line config arch/arm/boot/dts/imx51-zii-rdu1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts index df9eca94d812..8a878687197b 100644 --- a/arch/arm/boot/dts/imx51-zii-rdu1.dts +++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts @@ -770,7 +770,7 @@ pinctrl_ts: tsgrp { fsl,pins = < - MX51_PAD_CSI1_D8__GPIO3_12 0x85 + MX51_PAD_CSI1_D8__GPIO3_12 0x04 MX51_PAD_CSI1_D9__GPIO3_13 0x85 >; };