From patchwork Thu Oct 12 22:35:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13419937 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 8CFDFCDB474 for ; Thu, 12 Oct 2023 22:36:00 +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=6RFEE9YbcbvsGGvnL8p8oGHtEYuc0uqylXNIkMetXMY=; b=TM1WRmQiTu+vP8 kWudOFt6CXw1y37FDWdAxT+ChvK2eFH/vqIB+slM546W16CiA07srH42XZMfinn8Rrf1Ba5FtRt60 yfxbD2D34fPUik3HKXib+j6t4LWDBL4pkYTXlNsOth2ge28olrzqnwwKIfDjaA6EQTuDpQU0h69ve SyazTSGk/FB9zFKNSfFws2iMIYbi91Qg1NmYXqczDXyCYbfIKhv6fce5JwYErZg12t5Bnf3xEKlij D4WsTOReQ0or/bntlT91cTC6HwxSAD/vHNYAqSUqEOIHWxztJNKMiC1kYBL7riCVPkSp0bIaXfkbU rBnEX0zZCT404nzz2VzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qr4HE-0020oj-0E; Thu, 12 Oct 2023 22:35:32 +0000 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qr4H5-0020l7-2T for linux-arm-kernel@lists.infradead.org; Thu, 12 Oct 2023 22:35:30 +0000 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2b9c907bc68so17475241fa.2 for ; Thu, 12 Oct 2023 15:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697150121; x=1697754921; 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=XXO4MwbGSox8rKRwzbnM2zZwOBZ2z8Fw/s+ke6QnvYQ=; b=UDHCfRjc9a1dy/0Si5QYQIhhmnJ60jebu10UdvWcs3vP13+D/V81KJwgvRyQzAtmMJ 0W+7DrnXuCs9CW7YDvJT49hkgwGAglPOKNdSd3LwCwZtF9+ehRvLiwkSEoG0OXNzrtDg iigups2Z9WQoiLM5nvyFPr4qNZkCGpFupR0BwYKE6DTdf2o/w4+YkMbNm4mQ6CLJw4tV rSKjCWBk6/zMVOhz5z0fkAe5bNt7+0lDQ70jecoL/14Jed4x2IZKmfv2xwIsHy165igJ Y+tyiCmX4/FfLvHWDC8MCixS4ndZYKMMynVP1X4zsKvutvNBj6rfptOYW++AEvMZhr2G IwTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697150121; x=1697754921; 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=XXO4MwbGSox8rKRwzbnM2zZwOBZ2z8Fw/s+ke6QnvYQ=; b=A3wn8biHAWNqropRHCn9KSR+0FxpeDIxedrfVBoysDmvtdY9FmpMtjsbVHCeRF2SOK giv5n64/iY+iQV3ckPox/GGCL97DoJ9ZfuchyCM8IW0kl3qnY0ye0GQef2z6Ufj5TPfE yBb4sMvUYeEYLjkD0k6+SqSPnzikPeoyB20ZuRAq1mD2YWajG5MV1fNVww6T+a5qGfXX 6KWr+v7jrdr/RMbc/60E93Yj6ZcAJccYxALBQDL/NGDP9y3cMQsojKANB061AoUCKRia d7vSovmGJmRDBJny6hbwj6dPpr5w0cWfmWNyL81wdWP2zvwP8rVQS/Bqck6Gh283jOBh skjg== X-Gm-Message-State: AOJu0YwFScduC2uoclhLEbfBNsGeLwm/2hqkQATuGfwAI5cEDtJ9tvbt JolqcZ1ZUFWxyYbmRNOHgPas5Q== X-Google-Smtp-Source: AGHT+IG2cIx6DdV3B+I16sZS0ktRHmF97um53+8sbh/NgQJX+5tMKhRcw84Ma5j9WlNR4GfU6ctdDw== X-Received: by 2002:a2e:8488:0:b0:2bc:d6a8:1efd with SMTP id b8-20020a2e8488000000b002bcd6a81efdmr21034673ljh.39.1697150121181; Thu, 12 Oct 2023 15:35:21 -0700 (PDT) Received: from [192.168.1.2] (c-21d3225c.014-348-6c756e10.bbcust.telenor.se. [92.34.211.33]) by smtp.gmail.com with ESMTPSA id x21-20020a05651c105500b002bcb89e92dcsm3811671ljm.6.2023.10.12.15.35.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 15:35:20 -0700 (PDT) From: Linus Walleij Subject: [PATCH 0/3] Create a binding for the Marvell MV88E6xxx DSA switches Date: Fri, 13 Oct 2023 00:35:13 +0200 Message-Id: <20231013-marvell-88e6152-wan-led-v1-0-0712ba99857c@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAKJ0KGUC/x3MTQqAIBBA4avErBtQ+5OuEi0sxxowC4UKorsnL b/Few8kikwJ+uKBSCcn3kOGLAuYVxMWQrbZoISqpBAaNxNP8h61plY2Ci8T0JPNnutq6pxVzkK uj0iO7/88jO/7AQR7dUFpAAAA 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-20231012_153524_050456_5DA6263F X-CRM114-Status: GOOD ( 13.54 ) 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. Andrew: if you have lots of ideas and want to do lots of changes, feel free to just take over the patch set and do what you like, this is an RFC after all. Signed-off-by: Linus Walleij --- Linus Walleij (3): ARM: dts: marvell: Fix some common switch mistakes RFC: dt-bindings: marvell: Rewrite in schema RFC: net: dsa: mv88e6xxx: Register mdio-external .../bindings/net/dsa/marvell,mv88e6xxx.yaml | 249 +++++++++++++++++++++ .../devicetree/bindings/net/dsa/marvell.txt | 109 --------- MAINTAINERS | 2 +- 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 - arch/arm/boot/dts/marvell/armada-388-clearfog.dts | 2 - .../boot/dts/marvell/armada-xp-linksys-mamba.dts | 2 - drivers/net/dsa/mv88e6xxx/chip.c | 16 +- 11 files changed, 267 insertions(+), 123 deletions(-) --- base-commit: 69d714c69583c4387147d0b7f2f436d42baddadd change-id: 20231008-marvell-88e6152-wan-led-88c43b7fd2fd Best regards,