From nobody Sat Feb 7 08:54:48 2026 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9ECF17ADE8; Fri, 9 Aug 2024 16:28:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723220929; cv=none; b=CfFpyFjJYoIinM/v44nTli0wloVU4a7zQIm0dDNk10RK39A/AUDGHEJxGiArjh0MkRPbkelT4sUYK5J0QkVqZ8SbhnpgRD1FZwZxlCKOl3NqaIt4gijbPf6lT/3fOGAnPwSdgRutjX2YMqfBzx9XIsXpMSHtn53/ax6qscKEQF8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723220929; c=relaxed/simple; bh=DldFXu2cbD9iBo5Zp27eMugGNZQm31/8wF9PKxaOF1k=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=diby3M6/RejTvAknSNGebJ6LBMDYcFjl1swh6Nn9vcnGxocMSsG1XzVxtURzRe+E8G8rf06qp+hFjFQsfi4+SuDgh40C7cVcuyFH+CTJKhmkmOf0Pw8eW6x8mveFilwbw/w/ARX5WEatrMytcYyPbwU2ptRhW5JKM48dkvT2xvg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=lUQfsgl2; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="lUQfsgl2" Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 479GSUiO081019; Fri, 9 Aug 2024 11:28:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1723220910; bh=ZNm7VzblJEVzWmyiGoAJ4ArM5EDzo0ZNStb1hl38Tug=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lUQfsgl2ZTBzebKcEUDWb5lGZd/NrmMU+abcWSzkJtlVxYhm1fz6IpXk5kWI1r1CC UnH+p1J8NhPw11xagnXulhqnaW2d9+DFrYM+av1CRBarRQpvc8Azqm3qGGnnq71jBz gZ8YCNQfn/AGhdmSv/OSMbcYD4XbxnF4T2d/M83Q= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 479GSTnR003679 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 9 Aug 2024 11:28:29 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 9 Aug 2024 11:28:29 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE103.ent.ti.com (10.64.6.24) 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; Fri, 9 Aug 2024 11:28:29 -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 479GSTIf030775; Fri, 9 Aug 2024 11:28:29 -0500 From: Jared McArthur To: Conor Dooley , Krzysztof Kozlowski , Rob Herring CC: , , , Tero Kristo , Vignesh Raghavendra , Nishanth Menon , Jared McArthur Subject: [PATCH 1/2] arm64: dts: ti: k3-am62p: Add gpio-reserved-ranges for main_gpio1 Date: Fri, 9 Aug 2024 11:28:27 -0500 Message-ID: <20240809162828.1945821-2-j-mcarthur@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240809162828.1945821-1-j-mcarthur@ti.com> References: <20240809162828.1945821-1-j-mcarthur@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Content-Type: text/plain; charset="utf-8" Commit 29075cc09f43 ("arm64: dts: ti: Introduce AM62P5 family of SoCs") introduced the main_gpio1 node and included the ti,ngpio property, but did not include the gpio-reserved-ranges property. As a result, the user could try to access gpios that do not exist. Fix this by introducing the gpio-reserved-ranges property. The non-existent gpios are found in the am62p datasheet [1] in Table 5-24. Depends on patch: dt-bindings: gpio: gpio-davinci: Add the gpio-reserved-ranges property [2] [1] https://www.ti.com/lit/ds/symlink/am62p.pdf [2] https://lore.kernel.org/all/20240809154638.394091-2-j-mcarthur@ti.com/ Signed-off-by: Jared McArthur --- arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi b/arch/arm64/boot/dt= s/ti/k3-am62p-main.dtsi index 0ce9721b4176..420c77c8e9e5 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi @@ -65,5 +65,6 @@ &main_gpio0 { &main_gpio1 { gpio-ranges =3D <&main_pmx0 0 94 32>, <&main_pmx0 42 137 5>, <&main_pmx0 47 143 3>, <&main_pmx0 50 149 2>; + gpio-reserved-ranges =3D <32 10>; ti,ngpio =3D <52>; }; --=20 2.34.1 From nobody Sat Feb 7 08:54:48 2026 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0EE8318C08; Fri, 9 Aug 2024 16:28:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723220919; cv=none; b=a018rL8fydNwrsZz/NYYHOvF/WRv4us9tBPWj9dPB4JyNsTnY6iKcOP2prSUxB5Bwbbh8UZzL6UXdARNq2pzk6DtsGmmGXftPuF48E2lkCNXMou9XIFBr9arJjyEHOEya7x6vw8m3yP4spYOOC8P1tpyCyxmNtxitK1XxqpSm3A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723220919; c=relaxed/simple; bh=FyQpl3llzqBuGssaW60gmLWr9FenjyFVL9pbgJKfTv0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mFwk+hy/2zLsLc0yAr1BdE3gK8NR2adc2Zl1nOTXT0asSK4DBdRHbwPiaWHoPWslFEftQGGwOJzOBReEpSDizNPTruuv/IwziUPScUBwFY8DdKvMmeyujw0m2L0biEI7jBbh1iJcnd7zQxAgYpcj5ClRnfVd85kE0hSR2gliWTc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=vz9jJYcB; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="vz9jJYcB" Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 479GSUC8017022; Fri, 9 Aug 2024 11:28:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1723220910; bh=Stjc9pEOHDzRXfFji3xn4TMgnmocpeMMpD0DkLTI+Hs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=vz9jJYcB5DZZZ+bJ6b/JpMFhQVy7f690C17zyOiH8Rq6MbrvNubxi0ga/8SDdGrLR Mx5KRACAN+o05n0LdjpJ1e++2HHN9bscc0c3f2uICejbwevajiPs2ftMGW+MvvWk4N qr3cp+xztdgd4aBwEMwA4+LPDLmjTh0uWyEhcEsw= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 479GSUGH026888 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 9 Aug 2024 11:28:30 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 9 Aug 2024 11:28:29 -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; Fri, 9 Aug 2024 11:28:29 -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 479GSTiZ030778; Fri, 9 Aug 2024 11:28:29 -0500 From: Jared McArthur To: Conor Dooley , Krzysztof Kozlowski , Rob Herring CC: , , , Tero Kristo , Vignesh Raghavendra , Nishanth Menon , Jared McArthur Subject: [PATCH 2/2] arm64: dts: ti: k3-j722s: Add gpio-reserved-ranges for main_gpio1 Date: Fri, 9 Aug 2024 11:28:28 -0500 Message-ID: <20240809162828.1945821-3-j-mcarthur@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240809162828.1945821-1-j-mcarthur@ti.com> References: <20240809162828.1945821-1-j-mcarthur@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Content-Type: text/plain; charset="utf-8" Commit ed07d82f9e3e8 ("arm64: dts: ti: k3-am62p-j722s: Move SoC-specific node properties") introduced the main_gpio1 node and included the ti,ngpio property, but did not include the gpio-reserved-ranges property. As a result, the user could try to access gpios that do not exist. Fix this by introducing the gpio-reserved-ranges property. The non-existent gpios are found in the am67x datasheet [1] in Table 5-27. Depends on patch: dt-bindings: gpio: gpio-davinci: Add the gpio-reserved-ranges property [2] [1] https://www.ti.com/lit/ds/symlink/am67.pdf [2] https://lore.kernel.org/all/20240809154638.394091-2-j-mcarthur@ti.com/ Signed-off-by: Jared McArthur --- arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi b/arch/arm64/boot/dt= s/ti/k3-j722s-main.dtsi index dde4bd5c6645..cadb4f7c2ea9 100644 --- a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi @@ -214,5 +214,6 @@ &main_gpio0 { &main_gpio1 { gpio-ranges =3D <&main_pmx0 7 101 25>, <&main_pmx0 42 137 5>, <&main_pmx0 47 143 3>, <&main_pmx0 50 149 2>; + gpio-reserved-ranges =3D <0 7>, <32 10>; ti,ngpio =3D <73>; }; --=20 2.34.1