Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3248532rdb; Wed, 13 Sep 2023 06:46:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPFy4hxvlfh9SzhPOsLqYgr3FrbPgN52UBK7rwIuW00VUBRcYp6350U0ddD0e8TKguKHER X-Received: by 2002:a17:90b:4f86:b0:26d:12ae:47f0 with SMTP id qe6-20020a17090b4f8600b0026d12ae47f0mr2161643pjb.11.1694612766030; Wed, 13 Sep 2023 06:46:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694612766; cv=none; d=google.com; s=arc-20160816; b=qUosfx7p0UwReuk2KYYaIqCGFqb1p0YZLDJ+3cFvAkavVgeypDiJpUfkDovPTP3Onc r0QZlqJJTbNR2Zg66Sdc3YKl0hXUW7+ZNvTsH5bkyLtnWjvxf/2O5bezqUaB40NSNRw1 xv5kG6/W3+B8Gq+H8fn7WZ4jFCbNsP0C0etS78JrTPgWNuLniR5U7q8wpAivpgBRb+sH vsRXjVy4FfH1R2abKY7ngs29NRnWwGq9aZg8OjoBRMmyfrYl09je4YIhSgIA71OxSeLb EjYYc+pOxcjfv0uYcn00b7NJigH+6Bapk4IYRV5TvjM7mO+jw9gHOlT80Xfe1IvkEiXI jiiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=jOWHnup71AUlA2pdfGiWMAnf7L7N7R7hXAeXu+YYNpk=; fh=bjoKoYJcRoRAqDqeqQ/RSaPS051WKOQGSUHB+5rXf+4=; b=eePyn+Ig5B35iGUnlbjImlTfpJWBibArpN9V7XiZaA+KKP68sJ+6ZORUk8DEBkfdUp 8ghIA7LQuGUYM5efHqQnsInsatIzZLdhm0Qbby9MzDJW5qPqy84KkrnYK9KRKgfaHx84 VNfzQWPtyZIZK44hWI7y46JXvl7rNzk+k51w7PqD5yEiEg1W15wAnwXru2hMMPhVVRR2 RYZUsyqh9rv0cSI8/6+yZ2xKckqPfxcG0roApS5y94sHTPW0DnvpnBr6s/MujMxqydxw gUARTgk93oykdGPVgYrIHXJb5pbR9nIHqgfsPVgJ083CFbSTL8EzJQyOoLPDq1E3FKQL wlNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=LoVXclUT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id h6-20020a17090ac38600b0026b22aaf29bsi1601867pjt.146.2023.09.13.06.46.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 06:46:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=gm1 header.b=LoVXclUT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arinc9.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 5C6F282909B5; Wed, 13 Sep 2023 05:44:25 -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 S234847AbjIMMoX (ORCPT + 99 others); Wed, 13 Sep 2023 08:44:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230425AbjIMMoW (ORCPT ); Wed, 13 Sep 2023 08:44:22 -0400 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CD2D19B1; Wed, 13 Sep 2023 05:44:17 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 7668420008; Wed, 13 Sep 2023 12:44:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1694609055; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jOWHnup71AUlA2pdfGiWMAnf7L7N7R7hXAeXu+YYNpk=; b=LoVXclUT4ag/ho/8wurTwZ89GnA2gA+DpO1lpnb6s8GY4d5cD124trIxlVkUZ0egL/1LET sXeP8RWQPMYk/chORC/sv4Wo/pTkSwLQUV7+yC2nVNfv07CDYikZ6HIYPVjf8s35jtl3zn c4OeEWb0mOT9DVwFgbTo/TYSTiivS9zgKA0tinbGJ506oJ1h3h+HIpKN/VpWExKOv0t1De tzcfmiKZmJ3+a8IxyEtWNStEeyu9mNjCqWhZNVCMnU3gv8MrjqqcWgcr1i0azI/R7ecWH6 lHOIK0FYfDcTMHMPamOLZRJmJ+lR7xLMRcOJcpw/QH/hAKpcxgy+nxSgiqc66g== Message-ID: Date: Wed, 13 Sep 2023 15:44:03 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] dt-bindings: net: dsa: document internal MDIO bus Content-Language: en-US To: Andrew Lunn 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 , =?UTF-8?Q?Alvin_=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 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> From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Sasl: arinc.unal@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 (fry.vger.email [0.0.0.0]); Wed, 13 Sep 2023 05:44:25 -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 fry.vger.email On 13.09.2023 04:21, Andrew Lunn wrote: >>> 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. OK, I will disallow the external mdio bus for the compatible strings other than marvell,mv88e6190. Arınç