From patchwork Tue Sep 13 07:46:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 12974510 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 9D13AC54EE9 for ; Tue, 13 Sep 2022 07:49:15 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=JTOiJoUclEl6z2vhwkoJlYAGnidiUGa7pYax/swWXj8=; b=TFvT61R8DgTxXH ZL13Rpfg3vvLxzf24spO9z5KTYsJkxHPzWKD8dDO3eR22DmkGCogwkuufTVYnIsJn6kdo1icKeDPm t7dnNM3c4FC9RGEU1a63cHkke6wNO1nz3lLz+29WVbwMGtYtTGd7qxiibFyPFAmL/JTK9Vq7dQAgS 5a//R/HDFPXdP1BkdrNwqbdftKyrmsR+n+LKoCfDgze3mCcAuaDTX7Uvdmqjhr6akxiF1J0Xk/Sa0 KVTKZ8FtV+Phge/mxcbfStYjtLpbhXsM4ExRngA7pdK4WfvagsH/TEC4itmo674t6QoqzQbqZJ1uF tddSMuLGt5pdBVu2kj1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY0dz-003lGG-4T; Tue, 13 Sep 2022 07:47:43 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY0ds-003ksy-PS for linux-arm-kernel@lists.infradead.org; Tue, 13 Sep 2022 07:47:38 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28D7RcfM001287; Tue, 13 Sep 2022 09:47:06 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=9P711+eQCOk5ISckTakcoZwY6kIXAn04AkyNx5gVPME=; b=SX+U39hC0sw2Szs2sqIojWc5HVnozHLPdYr2trN/zqT0NMnFts8tp8CNdKS8XQvVAtOU uv8F6FJ5SgNgrTZqNuSP9b+cORk6v7H2GtkIPY7TxXA8V7PPeTodn5GLRIo5fCzBds2B c2u95+ILfTbt1UHhM1Ii5DjDBDRd3teGt1COycqoyO8mRX+akcwg8o2rP64LuuTbo75R ro/bDaeEzWFcpFVCSNALY/ktDy0I9/BPaw1os9KQAbwPYnNILWkrp9ONGOmNkG00d3n3 I1GDORTdksn0aPiucwipWda9xEXgLcfIEBMktxcu7aDpCnjdYE3ZKLrv47+czoAT3i08 cg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3jgjwv76h9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Sep 2022 09:47:06 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2D957100051; Tue, 13 Sep 2022 09:46:40 +0200 (CEST) Received: from Webmail-eu.st.com (eqndag1node4.st.com [10.75.129.133]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A07B3215155; Tue, 13 Sep 2022 09:46:40 +0200 (CEST) Received: from localhost (10.75.127.123) by EQNDAG1NODE4.st.com (10.75.129.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.31; Tue, 13 Sep 2022 09:46:40 +0200 From: Alexandre Torgue To: Linus Walleij , Rob Herring , Krzysztof Kozlowski CC: , , , , , Alexandre Torgue , Fabien Dessenne Subject: [PATCH] dt-bindings: pinctrl: stm32: add missing entries for gpio subnodes Date: Tue, 13 Sep 2022 09:46:39 +0200 Message-ID: <20220913074639.31932-1-alexandre.torgue@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.123] X-ClientProxiedBy: GPXDAG2NODE4.st.com (10.75.127.68) To EQNDAG1NODE4.st.com (10.75.129.133) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-13_02,2022-09-12_02,2022-06-22_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220913_004737_207823_5004BD96 X-CRM114-Status: GOOD ( 11.96 ) 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 Add "interrupt-controller" and gpio-line-names to gpio subnodes in order to fix dtb validation. Signed-off-by: Alexandre Torgue Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml index d35dcc4f0242..92582cccbb1b 100644 --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml @@ -65,6 +65,10 @@ patternProperties: '#gpio-cells': const: 2 + interrupt-controller: true + '#interrupt-cells': + const: 2 + reg: maxItems: 1 clocks: @@ -80,6 +84,8 @@ patternProperties: minimum: 1 maximum: 16 + gpio-line-names: true + st,bank-name: description: Should be a name string for this bank as specified in the datasheet.