From patchwork Thu Aug 1 21:04:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jared McArthur X-Patchwork-Id: 13750902 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 DA0FFC3DA64 for ; Thu, 1 Aug 2024 21:07:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: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:List-Owner; bh=GHkPqlPN6e55ynFogOss7TeSkMCf1tr7ys3Dm61ZRok=; b=chveamNLE9NUcRlHxS2rHqO50Y Jdo/nJOY/VUeTC8Owel+XYiL2vXOmPdoYIl5wgSUPcQgiuNuT6eJK5lp5ioeHafsOym1t82MYE+Eo EduMgRIDkC+MqPRLmP6LpKkCkJzlxVWu8ew5/8rgzppUeSOmWNp2tVSMDcBFNGZoeIu0NQC0PaBHN BbdClTBG8sZgUbTaXlzI0+XC9e2hONajkxsdtyZvaTMlJAp3gmbBP+BhJYJdRaukiPRwaLyl3eQHz fvv6MjGDGFcRD6pC9cmUEcRImROHiEOAmA7wRM8M8+5JKBVMaE146cSz1/h1hmGXIZS1wqwrnlLNa ueZ9LUWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZd0i-00000006i6a-2efH; Thu, 01 Aug 2024 21:06:56 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZczG-00000006hdu-3ZFt for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 21:05:30 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 471L5M32035091; Thu, 1 Aug 2024 16:05:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1722546322; bh=GHkPqlPN6e55ynFogOss7TeSkMCf1tr7ys3Dm61ZRok=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=iIZ+sRgI6DomHKf+IojFLMmJgqSBLDViuRHrDFEy8CZOnG6684CdVmyycX61nJpzA 0iwv4eZEGWIv3fhesbRcfxX1hx49M+myKhluYDNdOJIptzYJIHf73AFdEcdJ7Z/XKs ecD4bvw1UMK+OyMvUvme8hiQVZoWM6bUfxIn7zY8= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 471L5MAn002326 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Aug 2024 16:05:22 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 1 Aug 2024 16:05:22 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 1 Aug 2024 16:05:21 -0500 Received: from localhost (uda0499903.dhcp.ti.com [128.247.81.191]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 471L5L6F059856; Thu, 1 Aug 2024 16:05:21 -0500 From: Jared McArthur To: Conor Dooley , Krzysztof Kozlowski , Rob Herring CC: , , , Tero Kristo , Vignesh Raghavendra , Nishanth Menon , Jared McArthur Subject: [PATCH v2 3/3] arm64: dts: ti: k3-j722s: Fix gpio-range for main_pmx0 Date: Thu, 1 Aug 2024 16:04:14 -0500 Message-ID: <20240801210414.715306-4-j-mcarthur@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240801210414.715306-1-j-mcarthur@ti.com> References: <20240801210414.715306-1-j-mcarthur@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_140527_163294_8254AA47 X-CRM114-Status: GOOD ( 10.69 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Commit 5e5c50964e2e ("arm64: dts: ti: k3-j722s: Add gpio-ranges properties") introduced pinmux range definition for gpio-ranges, however missed a hole within gpio-range for main_pmx0. As a result, automatic mapping of GPIO to pin control for gpios within the main_pmx0 domain is broken. Fix this by correcting the gpio-range. Fixes: 5e5c50964e2e ("arm64: dts: ti: k3-j722s: Add gpio-ranges properties") Signed-off-by: Jared McArthur --- Changes since v1: * None v1: https://lore.kernel.org/linux-arm-kernel/20240730143324.114146-4-j-mcarthur@ti.com/ arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi index c797980528ec..dde4bd5c6645 100644 --- a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi @@ -193,7 +193,8 @@ &inta_main_dmss { &main_pmx0 { pinctrl-single,gpio-range = <&main_pmx0_range 0 32 PIN_GPIO_RANGE_IOPAD>, - <&main_pmx0_range 33 55 PIN_GPIO_RANGE_IOPAD>, + <&main_pmx0_range 33 38 PIN_GPIO_RANGE_IOPAD>, + <&main_pmx0_range 72 17 PIN_GPIO_RANGE_IOPAD>, <&main_pmx0_range 101 25 PIN_GPIO_RANGE_IOPAD>, <&main_pmx0_range 137 5 PIN_GPIO_RANGE_IOPAD>, <&main_pmx0_range 143 3 PIN_GPIO_RANGE_IOPAD>,