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: 15303 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1536485vqb; Thu, 12 Oct 2023 15:37:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEFGLUt7aPPkclApKssFYWU8kKOqEvS7+43KpZHWIqTZJ8T8b9yaavXU55avYgUiW1E0Inn X-Received: by 2002:a05:6a21:a596:b0:163:d382:ba84 with SMTP id gd22-20020a056a21a59600b00163d382ba84mr31290312pzc.5.1697150229833; Thu, 12 Oct 2023 15:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697150229; cv=none; d=google.com; s=arc-20160816; b=Nthirt+L2hqiqvp/iZcVKIlVYggejLA8GJgc7gV8ZqUKBXFr4+sq+x5bJTWSVWJLZO 5SYZy5fZPRn6E6hz8Pa4BEYttEio7y8KO4h8EYc/PcZp35NrG3H98XVqKUr961Qzspiv X+1b992dT0g9I/BQbl3OJhcVITyWQSK/Kl/NTiagUKK5e8b5Rwnj1GJOMNxUBnKjCs+Q ChkLox7P6F/ntasrHPfh3FzXtEzaYrDIZ2jG62bubAcMza4zdnexdFG3gbIJG9lXo7tb g3CzMle8lLkDa76oa6jDEUGsG88m5RdgNTIvN5qlayHDyWUKBvxH6TPPHzAQ6fnD52+o TkUA== 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=XXO4MwbGSox8rKRwzbnM2zZwOBZ2z8Fw/s+ke6QnvYQ=; fh=4OsP5L1B9pUAL+M4LarVIcTAoEa8QdmflUFnWk97NDA=; b=qhCk9AIeP21l8XYXgPjHGoSul/x9VmRGuZuNIT8WcAaCkkTcZq1H36h/fL2nxoHlSz x6Q9ve4s+NmH26zQefORVIFQx7mZpY82YVPru6vcl91OTd4O3H817S40ePRivmvPVPpB Nx0wBAmV6fCdGcvxPfmLZ6MzSuMWsW80wP9VO3h1V/NC/RLefUDrh1NPQJt/uITUgEJG feau/Mp/RWMNx9JrRvdwTS4/SozaZkidtJ1mW0SO0KuXOUMTpAcUv8SLYOXtIYRYwJhF J0a/s4o5G/N7uRy1HJWpg59ErX15oeKo5o3zuKhUBX0IEW12mMGinods/wH7bv+m1Spn yVcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KV3CnEMx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x1-20020a17090aca0100b00274d1a584dfsi3245682pjt.107.2023.10.12.15.37.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 15:37:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KV3CnEMx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id E3CC88068855; Thu, 12 Oct 2023 15:35:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443006AbjJLWf3 (ORCPT + 19 others); Thu, 12 Oct 2023 18:35:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442098AbjJLWf0 (ORCPT ); Thu, 12 Oct 2023 18:35:26 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1147BB for ; Thu, 12 Oct 2023 15:35:22 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2c5087d19a6so59011fa.0 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=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=XXO4MwbGSox8rKRwzbnM2zZwOBZ2z8Fw/s+ke6QnvYQ=; b=KV3CnEMxFJtvM3QTZMX6sbsVGR9yMUU3IaNqfwXPLsWzqHb9fji2VHY22O7/IVrWX/ qGuR4AMRwkJ0OByoVaoUbadLfPBLGIiTWprDSH1N3vBAXXzws3ICJRzCET2B6tWH/lCs h1ArxcVwhGgXRmOFax8Kxupgi6my5yVaui2iT9E5x2Gr4a0vfIBOH6vTltN0liQcIHE0 lyZsaSRm/gyosCEpdgpkFIFIE7iGjnJ4Fdi9gjpbZ5h9CFKi0Ign3NqerVqegg22YwoC im33GTdpW6hw7tH2CYJMgf2NBWkJg014ufolh+D8ABVXFty+4DgPW2v/+vOaf1jF+zT6 0Nyg== 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=DQDvNZcsyqxCQYpNt99LmJnmTz4ivZtiUhpr/jR7XkijqBVcQhqa/1ckzBjzyxtmF+ m//uyKE0XOVmBvTHVj/kIMBxutbuL03hvylebjmoNTe7Urj3d0Wr/kJ1GxpD9swr8HBu 6KLVdKrOdBTkZK1P1iOfl4lvJQUaE5DCVFuJ/mSkwlAXm97DdjTXHlbgg8qOQSfGsmfb GUorIcRnTmZOlyt+jPMwTRKdygU4CnlurnzEuuo3iDlk83WeLqHejP83t92vANpzGcIz zUCDsg2u7XvF93NocEGr5FJr+0z+L3JQpEJXb1RDHxtZAc8XC2812NVPiOih43zVHiJ+ CVcQ== X-Gm-Message-State: AOJu0YxmnjQpRrOeQF3U/cpog+afatNZnyEIl6b/iCFo6T4OrMjkX6nn RYvrZU/YnQkUWBBorhbp/60z9g== 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Thu, 12 Oct 2023 15:35:45 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779590999487831085 X-GMAIL-MSGID: 1779590999487831085 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,