From patchwork Sat Oct 14 20:51:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13422129 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 5D5AECDB465 for ; Sat, 14 Oct 2023 20:52:18 +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=aBq1RZfs5eGCA9v70rDb01fPNLw35mWyUfX47uZrso8=; b=OlM3PCLcUVRGEj 2x5VHXm3VlECLIHq2Hc1nvOgjyOOJbWVMdRrOMHIr0QPHCcCkzdrQmNr7VsFVJ7+RXKEA4IoJbxbx 4f0WUnj8yFpZBBL6bud+5KfIrO5u1Yef6vyWWQxZKVYy35joNofB3d0ORJ7a2YQ2aKMU8ZwwJZsh2 YWMj4z2oSdKoVj0T0xhRvjFclnTX+gZw7lZFjh8mEwFrFXbPxWipmlZ+SuAjeMmWxrsh6Q3ECnobj WcFPghGE0UAWEMt5mLpVvZxuaGIaPrMaTxQIl85prtuHJujM1dRgy4au/somptQKItSa/0aex0eEF KKAS7G8dS4i6Rio7Fujw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qrlbr-005lgM-1M; Sat, 14 Oct 2023 20:51:43 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qrlbn-005lek-0y for linux-arm-kernel@lists.infradead.org; Sat, 14 Oct 2023 20:51:42 +0000 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2c50cf61f6dso18041761fa.2 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=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=Qto4krpjBE/Wuaeru9wVjaS4puBPq/i+G9Tt+UL8VeY=; b=s93ZTtXbbAzaB0uiCJxEExm6yzdUOB9FCJm9zIFH67ISkAttcNoHZKM5WlOyvGNshj 0h06EXJs4En9qecFcuTx/UzYUDV1SWSlWXcQ3DGOoTYPygsw1362DUncXLoKIwHNRKEq Cd52G1cJ2g85AUqEJ+kEhPObA8OOYWOOV3/rU40/uYQabBcQyvWwU4RjyAdi0I8LK52n kCrLtd6igwWO8LOZwsggDo+y1+ZepjjrH6Jw/3uG8cJgMHkt44Y+G9tRxKjzCsiKFYdD Bu4utMlfSHk2iN1UUfPAg4Tbqz+cAOnUKgyrEmhFVluxTiHqHq0PutxlZ50gpJROxm1P foOw== 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=fe+iTLY2qGA08abczHc7cLJkJ8Ge0ihlkPH4lBgQUZFB01E9/ScjllHXkI1baZcov5 cegD37mIuebSGzQ1NCx6Mt0YldlQeB28M1OchcSjQ56zDElVTire/Gjp5YWxJr1IdTln N4p2v26wDqkg+bBsaWfib2O9KxyH+QDDmk2sJG7hwx+Tgo2t05Pr6C/m5TYcq1oK+7yc jxmCdZ/N1y6OTGmIXvoV7W92lyTYVL3XOYIE91aAWbs7lNyXDIcISzmDVVOL2msLj7m1 grAcf+AzcwveLm3ZaPWPHSloQ4i1+GatlDRF5G1FZuBLEi+mDRFTR2YWdgsPc59ME6ic xHYg== X-Gm-Message-State: AOJu0YyF/x8mPZujR3fqFMeOYLRDreB5cX2ydvHtQp0ZU0eb0cnZLqI3 2Zefr88MXiOvl1OOG65VtX5S6A== X-Google-Smtp-Source: AGHT+IE2LkLny2Hv7hkf3yTWo3sEWQ3xuaqPwi7Pl1HEr4EfSbhQQmLHHadFrPJoUvbWPgZgxpS18Q== 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231014_135139_379475_9FD80F1F X-CRM114-Status: GOOD ( 14.74 ) 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 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,