From patchwork Mon Sep 26 20:47:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 12989417 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 CF0C0C07E9D for ; Mon, 26 Sep 2022 20:48:44 +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=q/crXCQfDvl0OX7JLc1JDaloP00uKOj+xRK1zJ5ZN7M=; b=XEkDjoYlOPRauO emybRXIr5zhrI+UF4jFUITeKgY5hUOCVuz67gy+42UveHnKeFTc0gIyHo2GIgz4cVNyNxT97N1xkL wOwV6J0yv1qvG4Gyqm/v2jANB0HE3C8dwiKmTAepVr3ofAzx2w5qsIAjcXUjVXBDCW2vvZwOv+tKh FXFSwRNGFg8n7f/vuFHcLAaAwsWlrKMPsPZqtmnoygNFIJKNWmCtiUCW2UVJvMrfh/or5gxK4jxD4 O+5wy9g74klixp3Cf57VRRaGHMS74JE44xq9423zToC/vLXPmXUZ0HsKGPfScmQZOUi1IaOzp6egM t9zizioZveEUf+/uuRFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocv0z-006nNQ-8O; Mon, 26 Sep 2022 20:47:45 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocv0t-006nKS-CE for linux-arm-kernel@lists.infradead.org; Mon, 26 Sep 2022 20:47:40 +0000 Received: from tr.lan (ip-86-49-12-201.bb.vodafone.cz [86.49.12.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id CAB0B84840; Mon, 26 Sep 2022 22:47:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1664225258; bh=kpYKicGBQnkLSxdmAsMDOMEXCumyXTXdZ4fKWy3HcN8=; h=From:To:Cc:Subject:Date:From; b=w6f1qd0a3LCIwJ2Ecjh9V/6Vel4R92AJzww7OhtXCiS6XvPKrmNI1Ybi9rIXTLc/j Ufn10rPbqw5OQYrrbK8bCY/NN70fPrmUX6Cbo6UHq+rXFLTgmC+8BAGIjG0AyS20SC 1uAvwNsNNR5g4L9oBX68E7Jt6Q/BEQRV59BLDQH3b7IrXB/O4R8Wc4Ue/lErS5sJQ3 VOhrJe6CQgOE0NFsn1xdpt4sssvFKCo6N7jk/jPB5/NGVdjEUI8hxBnbW7jxikaaRx /FSDw8KpPvqCAQ/ZbUxKzWrgs388xeFQpn/7dbiPxv0b14TDIxzsCYvg/2n1emFxWa 5navMrrZ9mZfQ== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Alexandre Torgue , Linus Walleij , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH] dt-bindings: pinctrl: st,stm32: Document gpio-hog pattern property Date: Mon, 26 Sep 2022 22:47:35 +0200 Message-Id: <20220926204735.381779-1-marex@denx.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220926_134739_587452_F954CCD6 X-CRM114-Status: UNSURE ( 7.88 ) X-CRM114-Notice: Please train this message. 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 Document gpio-hog pattern property and its subnodes. This fixes dtbs_check warnings when building current Linux DTs: " arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dtb: pinctrl@50002000: gpio@50003000: 'rs485-rx-en-hog' does not match any of the regexes: 'pinctrl-[0-9]+' " Signed-off-by: Marek Vasut Acked-by: Rob Herring --- Cc: Alexandre Torgue Cc: Linus Walleij Cc: Maxime Coquelin Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: linux-gpio@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com To: linux-arm-kernel@lists.infradead.org --- .../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml index 06229d93c24cf..12598e036287b 100644 --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml @@ -107,6 +107,12 @@ patternProperties: minimum: 0 maximum: 11 + patternProperties: + "^(.+-hog(-[0-9]+)?)$": + type: object + required: + - gpio-hog + required: - gpio-controller - '#gpio-cells'