From patchwork Thu Jun 30 21:03:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kris Bahnsen X-Patchwork-Id: 12902224 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 2871BC43334 for ; Thu, 30 Jun 2022 21:05:25 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=b40IKFp2CcrbbtDJyjPoW2PUX1VIa+5LOi4VbMXRdSM=; b=FKDIVhPnAeYCJM LHnrceSHvTCDEPBmU2+WJJnA73Kg2cn2ZvDo3BPBOwUwp82ylLHZbmn14K69eBhW2rsz0l5/JB+66 n2kEnozNJrvXlywPBJa8y44Rz6iUhXnoEA+T7b7ttGkFToENeyc+nOUuIfFwSGefw3ix43EHiSSBQ G2Zs6vjI3//GKA+wHpizJ9F164Ki4GjoMstTUFWymAKF7objwMqELMyTCDGT+hmLauBD/dr/mQNla IkhoZWEGswnd7WVVE13jWXpkRNCdoyD9/n4UZSR0WKOw9/L6/Lzwko/439ja5ODNPnHmbJKVv3i8n BPawKCWmqFR4D36q3Leg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o71Ko-001Z2c-Bs; Thu, 30 Jun 2022 21:04:22 +0000 Received: from smtp-out3.electric.net ([208.70.128.179]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o71Kj-001YwI-8y for linux-arm-kernel@lists.infradead.org; Thu, 30 Jun 2022 21:04:18 +0000 Received: from 1o71KL-0003hz-UE by out3d.electric.net with emc1-ok (Exim 4.94.2) (envelope-from ) id 1o71KO-0003pT-TW; Thu, 30 Jun 2022 14:03:56 -0700 Received: by emcmailer; Thu, 30 Jun 2022 14:03:56 -0700 Received: from [66.210.251.27] (helo=mail.embeddedts.com) by out3d.electric.net with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o71KL-0003hz-UE; Thu, 30 Jun 2022 14:03:53 -0700 Received: from tsdebian.ts-local.net (97-120-89-198.ptld.qwest.net [97.120.89.198]) by mail.embeddedts.com (Postfix) with ESMTPSA id 593E51AFCC; Thu, 30 Jun 2022 14:03:52 -0700 (MST) From: Kris Bahnsen To: Rob Herring , Krzysztof Kozlowski Cc: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Featherston , Kris Bahnsen Subject: [PATCH v2] ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count Date: Thu, 30 Jun 2022 14:03:27 -0700 Message-Id: <20220630210327.4645-1-kris@embeddedTS.com> X-Mailer: git-send-email 2.11.0 X-Outbound-IP: 66.210.251.27 X-Env-From: kris@embeddedTS.com X-Proto: esmtps X-Revdns: wsip-66-210-251-27.ph.ph.cox.net X-HELO: mail.embeddedts.com X-TLS: TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 X-Authenticated_ID: X-Virus-Status: Scanned by VirusSMART (c) X-Virus-Status: Scanned by VirusSMART (b) X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedTS.com; s=mailanyone20220121;h=Message-Id:Date:To:From; bh=/J2bXjkLpxZVR1lMZ/OQX1W3maUzE+o/VTnpn6zVgsE=;b=feX6GaZB6qaMQ3PIgdBsnL93z3YEVoXg6/b8PVSZztDrMYK6q4mZDYm/ygl0VGlqqAYzq84XM3r2zhxXMJRU7U+fXSTcruno5ZJnf5dh39vMcy1qyOLSgvqPjCTbRGdSFZcbTjyRkKdotc1f1ucPBgfJZ+5VrU4djNIZJ+DADaVUYajPcGHCaZEOTH/8o5eTYCSZlNLUk3Y8YD+AwwpgLxAa61StUXEqsRPGUChFlX4jElX4C8750LaJ+YQ7BKVA47i59hxFHQuOnP3LwrD1OHKyW8wZz6dFW4zmRuDfRQ85ugKims4dvKCh2MHBUrkYPjjqht7jlnTJtWSCHXxKyg==; X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220630_140417_352757_0350836E X-CRM114-Status: GOOD ( 11.76 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Device-tree incorrectly used "ngpio" which caused the driver to fallback to 32 ngpios. This platform has 62 GPIO registers. Fixes: 9ff8e9fccef9 ("ARM: dts: TS-7970: add basic device tree") Signed-off-by: Kris Bahnsen Reviewed-by: Fabio Estevam --- V1 -> V2: - Add fixes tag - V1 patch not sent to all relevant parties arch/arm/boot/dts/imx6qdl-ts7970.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: 03c765b0e3b4cb5063276b086c76f7a612856a9a diff --git a/arch/arm/boot/dts/imx6qdl-ts7970.dtsi b/arch/arm/boot/dts/imx6qdl-ts7970.dtsi index fded07f370b3..d6ba4b2a60f6 100644 --- a/arch/arm/boot/dts/imx6qdl-ts7970.dtsi +++ b/arch/arm/boot/dts/imx6qdl-ts7970.dtsi @@ -226,7 +226,7 @@ reg = <0x28>; #gpio-cells = <2>; gpio-controller; - ngpio = <32>; + ngpios = <62>; }; sgtl5000: codec@a {