From patchwork Fri Aug 9 15:46:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jared McArthur X-Patchwork-Id: 13758909 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 101B2C52D7C for ; Fri, 9 Aug 2024 15:47:52 +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=CgDTPQTNHq29hCNM0dCX1gxjH32pApkrHsZTDCra1mo=; b=tCZTc7HxwM9UGpHP3Yh7LDnbq9 5zAugd9AKz00TmCMAmaOxy540WOKeGNDyBr5ZQGtWIvjYl4haEBNZwVjx0eCicg1EcrfYIvBnL0yU /6YTgv0PMI92BRrCQyTAlGRvfssysplUbs7Euo0am1QxfSDw1yUWC0EHEfI1naxntmxp+rYh3e/KO dOSAZ+PFbH7tb9naX2zWmyH9p5kHAnZTe2YGVFHDTpmXV/sgu4oi16LBWgXC7NP7SJb3Q+NjZtYyR qWVP3hhg7O5MpgRC7VncM2qf+ZLXO/IvOat4hbTjcmPjEL9vv+ZZkCAtSiNBj1RzI2veJc0rr+40o qgSlujSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1scRqA-0000000BmTM-0fqO; Fri, 09 Aug 2024 15:47:42 +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 1scRpZ-0000000BmLo-3bKf for linux-arm-kernel@lists.infradead.org; Fri, 09 Aug 2024 15:47:07 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 479FkqDd013121; Fri, 9 Aug 2024 10:46:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1723218412; bh=CgDTPQTNHq29hCNM0dCX1gxjH32pApkrHsZTDCra1mo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QCAzmdq4y+C50Id0D2lnBHj4S1+HPGxloJNohmowoZSv4zA6GHCmMlqZkncQ6eDt/ m8fSxEhlvk2EMGtCTV6OkGth59gciE2coW9w+BJHHxlZFnYCsHx5iheK56nibagJ2C OLT6jr5A30VB4BL3yGKY+adT2+CPYAs+PFvCWSv4= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 479FkqM7111724 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 9 Aug 2024 10:46:52 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) 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; Fri, 9 Aug 2024 10:46:52 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE113.ent.ti.com (10.64.6.34) 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 10:46:52 -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 479Fkq4f068990; Fri, 9 Aug 2024 10:46:52 -0500 From: Jared McArthur To: Conor Dooley , Krzysztof Kozlowski , Rob Herring , Bartosz Golaszewski , Linus Walleij , Keerthy CC: , , , , Jared McArthur Subject: [PATCH 1/1] dt-bindings: gpio: gpio-davinci: Add the gpio-reserved-ranges property Date: Fri, 9 Aug 2024 10:46:38 -0500 Message-ID: <20240809154638.394091-2-j-mcarthur@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240809154638.394091-1-j-mcarthur@ti.com> References: <20240809154638.394091-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-20240809_084706_069384_842E6A99 X-CRM114-Status: GOOD ( 11.21 ) 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 Current definition of the davinci gpio controller doesn't include the gpio-reserved-ranges property. Add the gpio-reserved-ranges property so it can be used within device tree files. Will prevent users from trying to access gpios that don't exist. Signed-off-by: Jared McArthur Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/gpio/gpio-davinci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/gpio-davinci.yaml b/Documentation/devicetree/bindings/gpio/gpio-davinci.yaml index 10e56cf306db..1434d08f8b74 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-davinci.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-davinci.yaml @@ -32,6 +32,8 @@ properties: gpio-ranges: true + gpio-reserved-ranges: true + gpio-line-names: description: strings describing the names of each gpio line. minItems: 1