Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2981690rdb; Tue, 12 Sep 2023 20:03:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHvo5PoO5FW+rR1rsfLEp1TF4bZOatts4VkH4ksGdW/4uT5GdBl+enIo72OAy5KHFIcBSMJ X-Received: by 2002:a17:902:f688:b0:1c3:3b5c:1fbf with SMTP id l8-20020a170902f68800b001c33b5c1fbfmr2080592plg.10.1694574231268; Tue, 12 Sep 2023 20:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694574231; cv=none; d=google.com; s=arc-20160816; b=SDU4DsijqNMhiaehGPyXWmagfolLGA6g7WcRxADvlQSursbLp1GRmBJloYPKGoCcLo DApENAn0d4/89OLFVUPjwy8Mm5CClefPgkUXzBQj8VfxMDDSe8WdK+B6Wn5WOX22yODL U+1/73CAlyDUK7Z8xpcjMcjk0pO3cWLg9P5oc1Cd8Y5Vd4PI0qn1UKGdPxeB9hQ+cEP7 ki1TcfJ0Xd1JzNTnPoUTNY0nwrmXUFiXY8XFFvAwiiAB3znIS0mOiZ9zDJ1aHqxxKeKe mjK8azaqiu1lJ2HcasldArG93QCkFld16KF0kzKI341ktoQd4YFysq9SK00cvfWs+IT8 x/xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6zXsjXXg4yAxPy7RTYj+3TPJv5GOPPfAy0rQXae3yUw=; fh=wuoVExSnoa8VKEl8thJchwCY3Ysmvv1ZsRh7B0H1IO8=; b=skI0yz3aPiOES+NJc9ngHf2zmbjTdpTXtse87RqQ5bZCH0S9+8vgRS0/C0WXUFcmxN 9bqELy8DIvxYNR3ca1Bb/amc74DXdblbX+toFkJIX7guYHymi6a9H/00RcGeVeNC3P8G P56yVUwO7wO+/rgSwdiGBBZss2DkjKdmGuHnHqg/h9z+0pzaW9+Q4D70WNUTQqagqB11 woy2VDzj1XRAvewnpamz59uWaQpuOUoKocGuCNDxQdt2Xm6Bv+dhmYjjw+neuusGe2ZS /4bvkXEERDo6N6qArOnJb74R8k7K4hXtHGpv9qPkPUvf+4VG68vlWzvBLYMGmGcfSAW3 vHAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=RK94NkYK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id u2-20020a170902714200b001bee6def27dsi8929956plm.235.2023.09.12.20.03.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 20:03:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=RK94NkYK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id F2EFF80236ED; Tue, 12 Sep 2023 18:22:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238010AbjIMBWA (ORCPT + 99 others); Tue, 12 Sep 2023 21:22:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232433AbjIMBV7 (ORCPT ); Tue, 12 Sep 2023 21:21:59 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71C5C10E6; Tue, 12 Sep 2023 18:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=6zXsjXXg4yAxPy7RTYj+3TPJv5GOPPfAy0rQXae3yUw=; b=RK94NkYKrPO8rFX0Ykdbce0JCi Sc3JDva8axrlw4H6CDU2Lrz/PVJCqC5kgEFFtz4QBUZTgOnP12qTIlxbel5EJK5ggAwi/X9hr3Z62 lWRhMeAFQhAf3c9gUZJC/PcFmTRrXKjiacyiUtqJQixe13gn9l2o8bIyIOhz2wjnDd7M=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qgEZL-006Gpu-HU; Wed, 13 Sep 2023 03:21:27 +0200 Date: Wed, 13 Sep 2023 03:21:27 +0200 From: Andrew Lunn To: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= Cc: Vladimir Oltean , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Woojung Huh , UNGLinuxDriver@microchip.com, Linus Walleij , Alvin =?utf-8?Q?=C5=A0ipraga?= , Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 2/4] dt-bindings: net: dsa: document internal MDIO bus Message-ID: References: <20230812091708.34665-3-arinc.unal@arinc9.com> <47b61929-5c2d-4906-b153-2046a94858c8@arinc9.com> <47b61929-5c2d-4906-b153-2046a94858c8@arinc9.com> <20230813112026.ohsx6srbt2staxma@skbuf> <8a8e14f1-0493-4298-a2cc-6e7ae7929334@arinc9.com> <20230813190157.4y3zoro53qsz43pe@skbuf> <617c51cf-2c09-4865-ac60-96599db597e7@lunn.ch> <563ac27a-22f2-463e-b5c1-9df721842976@arinc9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <563ac27a-22f2-463e-b5c1-9df721842976@arinc9.com> 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 (groat.vger.email [0.0.0.0]); Tue, 12 Sep 2023 18:22:10 -0700 (PDT) X-Spam-Status: No, score=-0.9 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 groat.vger.email > > The marvell switch can have up to 2 MDIO busses. If i remember > > correctly, there is also one switch which has one MDIO bus per port. > > I'm writing the json-schema for Marvell switches. I've checked a few > devicetree source files on Linus's Linux tree, I only see two buses used at > the most. Sorry, i was ambiguous. Its not a Marvell switch which can have one MDIO bus per port. I don't remember which switch it is, and it might be a pure switchdev switch, not a DSA switch. > The internal bus and another bus with > marvell,mv88e6xxx-mdio-external. I've never seen a devicetree with > marvell,mv88e6250 though. Could the switch that has one MDIO bus per port > be this one? Also, is every bus of this switch a > marvell,mv88e6xxx-mdio-external bus or, one internal bus and the remaining > are marvell mv88e6xxx-mdio-external buses? Only the 6390 family has two busses. It has an internal MDIO bus with the same register API as all the other switches. However, unlike the other families, it is not exposed on pins. And the 6390 has a second MDIO bus using a slight variant of the registers, which is connected to the outside world via pins. This second bus then has a compatible to separate it from the normal MDIO bus. Andrew