From patchwork Sat Mar 19 20:46:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 12786360 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 CE3ABC433F5 for ; Sat, 19 Mar 2022 20:48:33 +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=X8FA1bf7PqQ8rLV7baQ9/7xnMAN0MqZaGKqVqhRbw3M=; b=NF6HnzGmP0BsGF Vyqiaf9903EP36n8gJ1t6lZPPRAb3sFq0QBLzciK/SRHdmHZay8x/j0RoA7tztqyGhcpbpGNejzXQ a962AlP0k89WIAZHl/EQVx4+sxwOS3VYCFkK7nvAnRFsvitTyKSDv+C5heWVfboJH+CeCbctV7xGO D/tpSiLDSys9e7yH3wuMU04GlgwTzlEnDcOZDX2S1IjT2Uc3M/Fuad0eor9Z3pBIVPZRwYCLGIF1S YPLf7j80coFjrz9432hBs9FtFw2baRC5xPuSBBTjOQ7n1jMvA1wZO7/CcnH6Gh+YW9i+iBzBQd547 E/SXwPb/0TpISqNasuHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVfyl-004LAx-14; Sat, 19 Mar 2022 20:47:15 +0000 Received: from ssl.serverraum.org ([176.9.125.105]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVfyY-004L65-2B for linux-arm-kernel@lists.infradead.org; Sat, 19 Mar 2022 20:47:03 +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 57BCE2223B; Sat, 19 Mar 2022 21:46:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1647722814; 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=YMrcuTT0rgA+lIv6Wyluo34FsA5qWN9Ip9lq9GLriBo=; b=mzrWsPuuIcXCBtDrf2rUodRCMJ89OQKTXXbXwe26NkTIXtIz+k0kVlHx6pILsnMGn5zSlx qZJ9Ck3xxwAaqUfxtgfg7rEu5eCWWjVEZPiedC5YgsnCJXvF7d14c/JB3S5wW8f+p9Qntx 8iJXbTNIMjJQwd/xr9suZhNMgLqXuT8= 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 v3 0/6] pinctrl: ocelot: convert to YAML format Date: Sat, 19 Mar 2022 21:46:22 +0100 Message-Id: <20220319204628.1759635-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-20220319_134702_294487_131B6EB8 X-CRM114-Status: GOOD ( 13.56 ) 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 v2: - drop Fixes tag (and any "fix" or similar) - one patch per SoC - document difference between original txt and yaml binging in the commit message 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 (6): MIPS: mscc: jaguar2: rename pinctrl nodes MIPS: mscc: ocelot: rename pinctrl nodes MIPS: mscc: serval: rename pinctrl nodes arm64: dts: sparx5: rename pinctrl nodes ARM: dts: lan966x: rename pinctrl nodes 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