Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1710140rdg; Sat, 14 Oct 2023 13:52:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEgnwZ2wGhKwAEFkbc4RZ/PtBw+bXB35GbAQGoJrkHpVTBbEFLW/v+qdu8aqt1lajTVOI7g X-Received: by 2002:a17:902:e84d:b0:1c5:ec97:1718 with SMTP id t13-20020a170902e84d00b001c5ec971718mr35278351plg.6.1697316750296; Sat, 14 Oct 2023 13:52:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697316750; cv=none; d=google.com; s=arc-20160816; b=0UISw4/jeyNn83u9+VdM0ieZy3AmDDN1DfKG6ifb2VzRNSz2f3XWSwwsAVl6VaHvP4 3D0EheQwDyzQ6t1snjuXBnkDXLJNpqE6md49qnjSJBLq2uhrCmWbtidPhtsug/JeympT pVIl46UJaN/aMNUN0C3EUOFtiQz0z+2gnBXJs6mWdF/IJQYF8+RwOpjkqUoWv1h4nuw6 0jwyduLDymor8nxDGPR0qQvDN4esTBz4MsOmi+OQuTh2S9dsQHlQhH8419quFuNZWEP0 rZq7gfcQM0bkF30RyNIrAigvD8YhTN4ePsG6Ngfcac+uyZ3Vlm4ZVpv5RIk+RshsRzwX VvKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=Qto4krpjBE/Wuaeru9wVjaS4puBPq/i+G9Tt+UL8VeY=; fh=4OsP5L1B9pUAL+M4LarVIcTAoEa8QdmflUFnWk97NDA=; b=gdAcAL+im9ltC8dlnH6n68tXWX48P969SgqAzA3gGKOQclZhsTkkxAe3kfrXgcfvvQ J+YTlmVDkWWOQV6NFEuXKKeqy4nzZSYvwYaj6w3LV+TRX+SEDY3r0VbGjjO7X9M/APj0 qcUp22WV4XzewudNnJL9hlAA2/QSy0A+Jn9TpjZpqKeSCg+zKCn1t0+PwPniT/GIS29P +ydYY3kvZ34twkaUVrXUeKiEorkP7WeDnvx0JBs8497daPd42g915HUS+smV8WrIS0Nm mNZl+2th7zDnvh+DJCU8JfHTnvpITyVf47La+wIF3sSUpND5s7l4oTiDs7UYpZweSvw/ OrtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mnr6dEfn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id bj3-20020a170902850300b001bbabd5b14esi6962429plb.608.2023.10.14.13.52.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 13:52:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mnr6dEfn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 3A9E080B8F34; Sat, 14 Oct 2023 13:52:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231987AbjJNUvk (ORCPT + 99 others); Sat, 14 Oct 2023 16:51:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230190AbjJNUvj (ORCPT ); Sat, 14 Oct 2023 16:51:39 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9A69CC for ; Sat, 14 Oct 2023 13:51:37 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-5046bf37ec1so4087541e87.1 for ; Sat, 14 Oct 2023 13:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697316696; x=1697921496; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=Qto4krpjBE/Wuaeru9wVjaS4puBPq/i+G9Tt+UL8VeY=; b=Mnr6dEfnv2ulV59TcxRwGVHuj6bbmpBcymfB9fS1q1DqPpRIZPibPDrimYIIUHsJHY 1JXGycQaj1WI6mnY4Ll/AgEjqzxKncXQE8mk0giPs6ZSwSKBfOcO6rt2Q+Jxz1cZhNGn v4HJoPL9J7Fpu74QVWX5Fs/hxbDKQ3Lu7YIUYniFGP6uAsy5c9oJUu132bPNe3x1JaDt UHbLKSA8+KBsJqRfnXPKOMGtkhgIbBTxMvxeES5ZKTyVi14gVZeRPcJhClz+PiuvMUkE 1hAvf3qBMouT+mxeKsFogjvtQpWuR5tEtGnDW/DJ5K/BkfcCbG9Io5KOoTEIfnF+EAhm OaIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697316696; x=1697921496; 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=Qto4krpjBE/Wuaeru9wVjaS4puBPq/i+G9Tt+UL8VeY=; b=m+ViIGcxZ7rd0COrR5U5X6T3mrQzkydY6NVsnonScXz0USwCqgGt3F6upe/gHKj/49 lNjXS5fvVStCTOWllSa9P7LM8RC2kZn4jerVcKGlOB1aS/b04bJBdwisJWiKwGJX35kX rIRU/lk0Nx1aPucDDNIXmOzlG0kzNbePMpZE6tlxVeBfzl3WI6LSuanM1qc9nZBo1hfW ExWMzfZlmPX/8x6YOXtBHrDReV6GIljXU3mPqFUurOqzQPcLTHcNPV2WpUUbBTRGlyyU TqWb11Cs8VNyKKYtxc/dC8W8UeAyOb+fiX06m1XeeeZGaZ08zEXGhATJkgS8X13tpjKq 1PmA== X-Gm-Message-State: AOJu0Yz4kBcMUZBDAd8nLjtDw6QZuP5Susjn2coUSe9A1gkC5JdKgSXH VHYocMu4LvCs89R1HjI07OnzQeUlzxvnRNwZNFw= X-Received: by 2002:ac2:4ade:0:b0:507:a6e9:fbba with SMTP id m30-20020ac24ade000000b00507a6e9fbbamr1037614lfp.63.1697316696085; Sat, 14 Oct 2023 13:51:36 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id o17-20020ac24e91000000b004ff96c09b47sm49926lfr.260.2023.10.14.13.51.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 13:51:35 -0700 (PDT) From: Linus Walleij Subject: [PATCH net-next v2 0/5] Create a binding for the Marvell MV88E6xxx DSA switches Date: Sat, 14 Oct 2023 22:51:31 +0200 Message-Id: <20231014-marvell-88e6152-wan-led-v2-0-7fca08b68849@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAFP/KmUC/3WNwQ6DIBAFf8XsudsA1oo99T8aDyirklBowFAbw 7+X2HOPk8mbt0OkYCjCrdohUDLReFdAnCoYF+VmQqMLg2Ci5oxJfKqQyFqUkq68EfhWDi3pwuO lHtpJi0lDWb8CTWY7yg9wtKKjbYW+mMXE1YfPcZn44X91Xv+tJ44MWcvFoLpONu14t8ap4M8+z NDnnL8WSdfXyQAAAA== To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Christian Marangi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Linus Walleij X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sat, 14 Oct 2023 13:52:20 -0700 (PDT) This shows the path we could take with this, deprecating the weird external bus thing. I don't know what to do about the irq lines with a pointless type flag that should be onecell:ed. 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. Signed-off-by: Linus Walleij --- 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 (5): dt-bindings: marvell: Rewrite MV88E6xxx in schema dt-bindings: marvell: Add Marvell MV88E6060 DSA schema ARM: dts: marvell: Fix some common switch mistakes ARM: dts: nxp: Fix some common switch mistakes ARM64: dts: marvell: Fix some common switch mistakes .../bindings/net/dsa/marvell,mv88e6060.yaml | 106 +++++++++ .../bindings/net/dsa/marvell,mv88e6xxx.yaml | 241 +++++++++++++++++++++ .../devicetree/bindings/net/dsa/marvell.txt | 109 ---------- MAINTAINERS | 3 +- arch/arm/boot/dts/marvell/armada-370-rd.dts | 2 - .../dts/marvell/armada-381-netgear-gs110emx.dts | 6 +- .../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 | 32 +-- .../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 | 6 +- 23 files changed, 390 insertions(+), 171 deletions(-) --- base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d change-id: 20231008-marvell-88e6152-wan-led-88c43b7fd2fd Best regards, -- Linus Walleij