From patchwork Fri Mar 18 20:25:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 12785896 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 E4372C433F5 for ; Fri, 18 Mar 2022 20:27:39 +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=PQ7ZRr3wu5C0a6oqEsg9BXnbWZW43SZJq5vTppnQwwk=; b=1QJ7cROr1ch7ol dxVJcDzBQ7YWCPgQ8FuD+0x1LExAqwwZx7GpB7rQUsGMTwI/pSFpQbEngsU+z4zyWS2C/dVpSpBid Mu5yImOYO2iaM4rXK5RaXvXczTvu9ZCWv8TNuXjUs2rH1aMaCgvGtoHfC+IgAJf4/+43yn9UI/f95 kA5q/FQMYPbVYhD1vreLXhQUX+EM1Eg0pgQeq3OsRlA499bdBBLiHQxgzvrSIYIFC79vGEGRIG5J2 7aZFVt+Wqov9H/J7ReKoruwb8X22rC33savQxmRzT7DbX1mfOEJNeiO0jY9jjbhx+Yg6n0wi2KMMW 0KnMKe/isA0R+UKmiERw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVJB9-002nMl-Sl; Fri, 18 Mar 2022 20:26:32 +0000 Received: from ssl.serverraum.org ([2a01:4f8:151:8464::1:2]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVJAd-002n9W-6o for linux-arm-kernel@lists.infradead.org; Fri, 18 Mar 2022 20:26:01 +0000 Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 4249822239; Fri, 18 Mar 2022 21:25:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1647635152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=CjYRXqLQZoAevpessURi47tpYDs5HOjG6CCvnj8Lq/A=; b=UGDvv1muvDVuBFBFxe+oKlWyNQbWK8xcz1dbOZi7U6a0lqz+5N7oR4WgV5CO9SK6QTXFee jNnl7id9IaKKts1wqH7fBGYCytK4PBXmg3UKJ2bwRnRvyASU1lc6rQt86cC0FZPpbx0gux eY6P8V1Q77ZTIPx136VDfFr3Z99pomo= From: Michael Walle To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Lars Povlsen , Steen Hegelund , Thomas Bogendoerfer , Gregory CLEMENT , Paul Burton , Quentin Schulz , Antoine Tenart , Kavyasree Kotagiri , Nicolas Ferre Cc: "David S . Miller" , UNGLinuxDriver@microchip.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, Michael Walle Subject: [PATCH v2 0/8] pinctrl: ocelot: convert to YAML format Date: Fri, 18 Mar 2022 21:25:39 +0100 Message-Id: <20220318202547.1650687-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220318_132559_432361_C784BAD7 X-CRM114-Status: GOOD ( 12.44 ) 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 Convert the pinctrl ocelot binding to the new YAML format. Pin configuration nodes should have a "-pins" postfix. But unfortunately, there are many device trees which don't follow this. First rename all these nodes and then convert the binding to the YAML format so that the validation will pass. Because there were no maintainers before and there is none in MAINTAINERS I added Alexandre Belloni and Lars Povlsen, juding by the commits - to the binding as maintainers. Please tell me if you disagree. changes since v1: - drop "Device Tree Binding" from the title of the binding - describe reg properties and provide minItems and set it differently depending on the compatible string - skip interrupt description - move required section after patternProperties Michael Walle (8): MIPS: mscc: jaguar2: fix pinctrl nodes MIPS: mscc: ocelot: fix MIIM1 pinctrl node name MIPS: mscc: ocelot: fix PHY interrupt pinctrl node name MIPS: mscc: ocelot: fix load/save GPIO pinctrl name MIPS: mscc: serval: fix pinctrl node names arm64: dts: sparx5: fix pinctrl node names ARM: dts: lan9662-pcb8291: fix pinctrl node name dt-bindings: pinctrl: convert ocelot-pinctrl to YAML format .../bindings/pinctrl/mscc,ocelot-pinctrl.txt | 42 ------- .../bindings/pinctrl/mscc,ocelot-pinctrl.yaml | 108 ++++++++++++++++++ arch/arm/boot/dts/lan966x-pcb8291.dts | 2 +- .../dts/microchip/sparx5_pcb134_board.dtsi | 26 ++--- .../dts/microchip/sparx5_pcb135_board.dtsi | 10 +- arch/mips/boot/dts/mscc/jaguar2_pcb110.dts | 10 +- arch/mips/boot/dts/mscc/jaguar2_pcb111.dts | 10 +- arch/mips/boot/dts/mscc/jaguar2_pcb118.dts | 6 +- arch/mips/boot/dts/mscc/ocelot.dtsi | 4 +- arch/mips/boot/dts/mscc/ocelot_pcb120.dts | 6 +- arch/mips/boot/dts/mscc/serval_common.dtsi | 14 +-- 11 files changed, 152 insertions(+), 86 deletions(-) delete mode 100644 Documentation/devicetree/bindings/pinctrl/mscc,ocelot-pinctrl.txt create mode 100644 Documentation/devicetree/bindings/pinctrl/mscc,ocelot-pinctrl.yaml