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: 1607385 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=walle.cc header.i=@walle.cc header.a=rsa-sha256 header.s=mail2016061301 header.b=mzrWsPuu; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by bilbo.ozlabs.org (Postfix) with ESMTP id 4KLXxL0l75z9sCq for ; Sun, 20 Mar 2022 07:47:02 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244173AbiCSUsT (ORCPT ); Sat, 19 Mar 2022 16:48:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233213AbiCSUsS (ORCPT ); Sat, 19 Mar 2022 16:48:18 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2175B25F659; Sat, 19 Mar 2022 13:46:56 -0700 (PDT) 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-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.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