Message ID | 20231018-marvell-88e6152-wan-led-v4-0-3ee0c67383be@linaro.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 F0C24C46CA1 for <linux-arm-kernel@archiver.kernel.org>; Wed, 18 Oct 2023 09:04:23 +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:Cc:To:MIME-Version:Message-Id:Date: Subject: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=CMsX/B6cHnWiopM/9nXXjozP4qY5cgD1+pmNGQ62ce0=; b=RiaKFbx3kh9/S6 c+jQ0tkZvlvlZ5WX9MgGe6Ja4Gc5Fv8rH9LvUHdWmA48xAcNnhPmXcJ9KodpY9Tb+Xrsk4uvkMwll Kb3U2UIYUvB+P/xFiI7fO70IWVasGIQ4dtJDAa3AuGzCG6C2rGC9UTUxC9HZ4laQvsClNSNmxQzWH gl2XbMuseLXshKUUOXy0HE0gVqAmSG3MRddc42fSEDzYd8Nd2u6jMXZbf18ml2bX0OGOtKjJr5LSv wuI7VEDBX0lJuVlTL0s4UIhGy0nRugn7uRekrc0R0mUSW11UoZYruw+Ro0glcFnOxcsVYUQK9pMp0 8X0ISN3AbcnBbXhaoXWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qt2T5-00EDio-1T; Wed, 18 Oct 2023 09:03:55 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qt2T2-00EDhr-0b for linux-arm-kernel@lists.infradead.org; Wed, 18 Oct 2023 09:03:53 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-507bd644a96so2246458e87.3 for <linux-arm-kernel@lists.infradead.org>; Wed, 18 Oct 2023 02:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697619830; x=1698224630; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=zaIruG/+oRLmIiPtyA4re6+dZhPVyRXTEXdAK4NZbCw=; b=EWGPR/tGwpQfyJ9RcfVNWH3NwUI2eZBoXW7w00jf2raKzBYC/fwsZ/9VAjFkNJ9wuL +pdaH7qVXEQLJEL9CvSInumpnK6DEF4D7gfKGuiLovnOl5UXSAsGfIXqDiziFA6ViClP Brf15dOcxsu1R5bFfayJ3zIHF33rxIxF0Tqum6cLQOoIUIhX/9S2A9NTYkKC8v8oeU6b LOv7LDwFrxe+1KYVfmTeZ1iOAos5qUlCCLssKc8fx+qhRSZVNqQ6axxpHqBpFZAHVdbn NOxU+1u/ThD4z1v45bFFZe+tpUDk7JdAAl7VFqOhMY7qXdMUD859WWQ4zaAsacwq5acW BNPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697619830; x=1698224630; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zaIruG/+oRLmIiPtyA4re6+dZhPVyRXTEXdAK4NZbCw=; b=Eq6mxl5lr2Zw/IQDRTgNLtuBl3oJR/hzvwHf8Z9OX6aoig7Vs+e1ZdL6AbvZnPjfHW jRyiyS88R9Uf0tPRcskLLBfM1CUqYOOf7qaa3PaOiOaeYvvlVQ5QshpgUCx0v0zI3dXu +Kjw+IaZKVfsv3lAg5pysU37AFyahpaR0Np00sg3EUW+BdMOoWIgCir9or4bo76BuYRg 7yHIlAUDeKlHl783imdQhOZxdkkE7484fNH7vRSMiB2Ut15mkEFBnbu4bpnHCV+GHsB5 MQo9tsjtKzbPLTcO0NVN1pOoCQ/U5bDW266v3GhLIi5ym1gGLGmIhkhgYDmUhgq9R3ah Sulw== X-Gm-Message-State: AOJu0YwYVqw7t4Nuhwc0EZYmBzHREYQMYjlZ56sLZ48AwlOR5Y6z6nqU v3iYODW+5Vjx6cmFUH8ZSFCprA== X-Google-Smtp-Source: AGHT+IFY0XDRY/pa63zXmKQrtZQymVa+AbJSNc4MhTRKG7V9Bl/TmTl9DLtY0/d2S5YnwLU222UlmA== X-Received: by 2002:ac2:5585:0:b0:507:9608:4a87 with SMTP id v5-20020ac25585000000b0050796084a87mr3480502lfg.56.1697619830254; Wed, 18 Oct 2023 02:03:50 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id w19-20020a05651234d300b005056fb1d6fbsm616595lfr.238.2023.10.18.02.03.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 02:03:49 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH net-next v4 0/7] Create a binding for the Marvell MV88E6xxx DSA switches Date: Wed, 18 Oct 2023 11:03:39 +0200 Message-Id: <20231018-marvell-88e6152-wan-led-v4-0-3ee0c67383be@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAGufL2UC/3XNTQ6CMBCG4auQrq3pH1BceQ/jorRTaIKtKaRiC He3wQ3GsHzzZZ5Z0AjRwYguxYIiJDe64HOIU4F0r3wH2JnciBHGKSESP1RMMAxYSqhoyfBLeTy Aya0Fb2trmDUoXz8jWDdv8g15mLCHeUL3vPRunEJ8by8T3favTvmhnigmmNSUtappZFnr6+C8i uEcYrehie0hcQyxDNVWKyLbSkrR/EF8D1XHEM8Ql9oI0Rjb0vIHWtf1A/ktN/5bAQAA To: Andrew Lunn <andrew@lunn.ch>, Gregory Clement <gregory.clement@bootlin.com>, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Russell King <linux@armlinux.org.uk>, Florian Fainelli <f.fainelli@gmail.com>, Vladimir Oltean <olteanv@gmail.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com> Cc: Christian Marangi <ansuelsmth@gmail.com>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org>, Rob Herring <robh@kernel.org> X-Mailer: b4 0.12.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_020352_275688_F01C32D4 X-CRM114-Status: GOOD ( 18.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Create a binding for the Marvell MV88E6xxx DSA switches
|
expand
|
The Marvell switches are lacking DT bindings. I need proper schema checking to add LED support to the Marvell switch. Just how it is, it can't go on like this. Some Device Tree fixes are included in the series, these remove the major and most annoying warnings fallout noise: some warnings remain, and these are of more serious nature, such as missing phy-mode. They can be applied individually, or to the networking tree with the rest of the patches. This series requires Rob Herrings series "dt-bindings: net: Child node schema cleanups" to be applied first. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- Changes in v4: - Rebase the series on top of Rob's series "dt-bindings: net: Child node schema cleanups" (or the hex numbered ports will not work) - Fix up a whitespacing error corrupting v3... - Add a new patch making the generic DSA binding require ports or ethernet-ports in the switch node. - Drop any corrections of port@a in the patches. - Drop oneOf in the compatible enum for mv88e6xxx - Use ethernet-switch, ethernet-ports and ethernet-phy in the examples - Transclude the dsa.yaml#/$defs/ethernet-ports define for ports - Move the DTS and binding fixes first, before the actual bindings, so they apply without (too many) warnings as fallout. - Drop stray colon in text. - Drop example port in the mveusb binding. - Link to v3: https://lore.kernel.org/r/20231016-marvell-88e6152-wan-led-v3-0-38cd449dfb15@linaro.org Changes in v3: - Fix up a related mvusb example in a different binding that the scripts were complaining about. - Fix up the wording on internal vs external MDIO buses in the mv88e6xxx binding document. - Remove pointless label and put the right rev-mii into the MV88E6060 schema. - Link to v2: https://lore.kernel.org/r/20231014-marvell-88e6152-wan-led-v2-0-7fca08b68849@linaro.org Changes in v2: - Break out a separate Marvell MV88E6060 binding file. I stand corrected. - Drop the idea to rely on nodename mdio-external for the external MDIO bus, keep the compatible, drop patch for the driver. - Fix more Marvell DT mistakes. - Fix NXP DT mistakes in a separate patch. - Fix Marvell ARM64 mistakes in a separate patch. - Link to v1: https://lore.kernel.org/r/20231013-marvell-88e6152-wan-led-v1-0-0712ba99857c@linaro.org --- Linus Walleij (7): dt-bindings: net: dsa: Require ports or ethernet-ports dt-bindings: net: mvusb: Fix up DSA example ARM: dts: marvell: Fix some common switch mistakes ARM: dts: nxp: Fix some common switch mistakes ARM64: dts: marvell: Fix some common switch mistakes dt-bindings: marvell: Rewrite MV88E6xxx in schema dt-bindings: marvell: Add Marvell MV88E6060 DSA schema Documentation/devicetree/bindings/net/dsa/dsa.yaml | 6 + .../bindings/net/dsa/marvell,mv88e6060.yaml | 90 +++++++++ .../bindings/net/dsa/marvell,mv88e6xxx.yaml | 225 +++++++++++++++++++++ .../devicetree/bindings/net/dsa/marvell.txt | 109 ---------- .../devicetree/bindings/net/marvell,mvusb.yaml | 7 +- MAINTAINERS | 3 +- arch/arm/boot/dts/marvell/armada-370-rd.dts | 2 - .../dts/marvell/armada-381-netgear-gs110emx.dts | 2 - .../dts/marvell/armada-385-clearfog-gtr-l8.dts | 2 +- .../dts/marvell/armada-385-clearfog-gtr-s4.dts | 2 +- arch/arm/boot/dts/marvell/armada-385-linksys.dtsi | 2 - .../boot/dts/marvell/armada-385-turris-omnia.dts | 16 +- arch/arm/boot/dts/marvell/armada-388-clearfog.dts | 2 - .../boot/dts/marvell/armada-xp-linksys-mamba.dts | 2 - arch/arm/boot/dts/nxp/vf/vf610-zii-cfu1.dts | 2 +- arch/arm/boot/dts/nxp/vf/vf610-zii-scu4-aib.dts | 8 +- arch/arm/boot/dts/nxp/vf/vf610-zii-spb4.dts | 2 +- arch/arm/boot/dts/nxp/vf/vf610-zii-ssmb-dtu.dts | 4 +- arch/arm/boot/dts/nxp/vf/vf610-zii-ssmb-spu3.dts | 2 +- .../boot/dts/marvell/armada-3720-espressobin.dtsi | 4 +- .../boot/dts/marvell/armada-3720-gl-mv1000.dts | 4 +- .../boot/dts/marvell/armada-3720-turris-mox.dts | 12 +- .../boot/dts/marvell/armada-7040-mochabin.dts | 2 - .../dts/marvell/armada-8040-clearfog-gt-8k.dts | 2 +- arch/arm64/boot/dts/marvell/cn9130-crb.dtsi | 4 +- 25 files changed, 356 insertions(+), 160 deletions(-) --- base-commit: 1c9be5fea84e409542a186893d219bf7cff22f5a change-id: 20231008-marvell-88e6152-wan-led-88c43b7fd2fd Best regards,