From patchwork Fri Aug 9 16:28:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jared McArthur X-Patchwork-Id: 13759007 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 53A81C3DA4A for ; Fri, 9 Aug 2024 16:29: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:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version: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=mKXJZ2HttY0CuAP2torj/XbsITXI8iaQFG3lN3uFhdY=; b=dUUVQhWVgh/VeBqFwuQ5aX4z8L Z6BZ50DciSldff2Nj+qXuQXPAkGYdJAj4TE8fCLS68tbPfxdlQwvR1QV6eMReHft8956SQcA7wgVZ mgloBdpAqhaSJkNos8qwSe/BZNJUZc5evszRONnzJVAPyu0l3Wo5QjgS5HqLwqonP1fhTNaLNCuXQ sggDiMI7ErCvDmn8JIyTTDeGqNoYXGOEJDW6kTG4tgIdyMhvobYPhOsDqqorJmEb4QbeaL6fZijwG YrV8iog0e7RPiZ46MODLJxYLL6L1eHIt790d+imEPkFiR7cw2KuyfomifTfipTCng4FW+r5qNWG/+ G4pqAwKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1scSUK-0000000BviZ-1ml0; Fri, 09 Aug 2024 16:29:12 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1scSTi-0000000BvYU-20or for linux-arm-kernel@lists.infradead.org; Fri, 09 Aug 2024 16:28:36 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 479GSUjU027484; 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=mKXJZ2HttY0CuAP2torj/XbsITXI8iaQFG3lN3uFhdY=; h=From:To:CC:Subject:Date; b=u7tQ+cFABGkIqif6APTsFLVJc//gaVYvJEszmUuJjg8PvDc54T+IwlVW5wN6gloga BiV3Dyd8JqY5PH/hbXWDLxE2z4R/ylp7RnIY+lV+zr9qYX8AwyEBzueTZC/vA9qea1 70RnG78A0MnAgTWuI/n8DkFAhQr8Vw+9n4eUgc1s= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 479GSUbD013371 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 9 Aug 2024 11:28:30 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE100.ent.ti.com (157.170.170.30) 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 lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE103.ent.ti.com (157.170.170.33) 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 lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 479GSToU003247; 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 0/2] arm64: dts: ti: k3-am62p/j722s: Add gpio-reserved-ranges for main_gpio1 Date: Fri, 9 Aug 2024 11:28:26 -0500 Message-ID: <20240809162828.1945821-1-j-mcarthur@ti.com> X-Mailer: git-send-email 2.34.1 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-20240809_092834_588119_90001866 X-CRM114-Status: GOOD ( 10.65 ) 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 Hi, The current main_gpio1 gpio controllers for the am62p and j722s have holes that are not obvious to a user. Add the gpio-reserved-ranges property to the davinci-gpio properties list and add gpio-reserved-ranges to the am62p and j722s device trees. Prevents users from trying to access gpios that don't exist. The holes are taken from the am62p datasheet [1] (Table 5-24) and am67x datasheet [2] (Table 5-27). Patches depend on patch: dt-bindings: gpio: gpio-davinci: Add the gpio-reserved-ranges property [3] [1] https://www.ti.com/lit/ds/symlink/am62p.pdf [2] https://www.ti.com/lit/ds/symlink/am67.pdf [3] https://lore.kernel.org/all/20240809154638.394091-2-j-mcarthur@ti.com/ Best, Jared McArthur Jared McArthur (2): arm64: dts: ti: k3-am62p: Add gpio-reserved-ranges for main_gpio1 arm64: dts: ti: k3-j722s: Add gpio-reserved-ranges for main_gpio1 arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 1 + arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 1 + 2 files changed, 2 insertions(+)