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: 605967 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A95D1C6FA86 for ; Tue, 13 Sep 2022 07:47:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231202AbiIMHro (ORCPT ); Tue, 13 Sep 2022 03:47:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231197AbiIMHrm (ORCPT ); Tue, 13 Sep 2022 03:47:42 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4FB92B279; Tue, 13 Sep 2022 00:47:40 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add "interrupt-controller" and gpio-line-names to gpio subnodes in order to fix dtb validation. Signed-off-by: Alexandre Torgue 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.