Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1128561rdb; Fri, 20 Oct 2023 09:08:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHk7zeYWc0M4cUOZwwIvHk2dM12SyuUBFmJY3bBN8AJvM2xpEnFE/nL/nW+g+pjJYg0HwSu X-Received: by 2002:a17:903:23c4:b0:1c9:c3a7:f96d with SMTP id o4-20020a17090323c400b001c9c3a7f96dmr2326313plh.62.1697818116529; Fri, 20 Oct 2023 09:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697818116; cv=none; d=google.com; s=arc-20160816; b=SpLJ1TnQykWlPKEwTtE49Ie56h8gFnSkaQNp64igyjOi0h9gL7zXbo7/Jlb+Rwoi45 fmLWilhqJhlbXMGwTxab0CZGFKhMdhadIfJ5TMUldxAmrYncHvdwAZL0FulA9cUy6Wsy bRh4fid/EmUKV014rtMErwphyXO4nprYvGeopj7yfEWLatuYOfWITVZoULNS5Qq5VBPb iY6eYB2oR1Ue2npnA50bQtyjXNxLVc15C2mFgERj8Fat/9NnnIgtfoJgyoHXtZSjnD92 Yo777xCvQDzY8B2hE76PLHnTDp1xqSokjelkBm1SOAzGbEcgrTAa1AvucJsZtDZHkJ2B WNVg== 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=ShgNviY6uRULZSOoTM3SW6UAuXHvVtML/+Hkod5jeco=; fh=4fAD/5q+cnPC2MmN3XSx4rScR2FH8C5I8IyaMuks1I8=; b=ldZmVDXWKTQpnQJjaF3BMruhakuunBlVF91kCq/Xl70i/gnqzNduMOadvLu8GQZkt+ o6hFaENPcRpB2dB4AFCrtnehrBS71IWcyUYP/upxUuTqc2CfifdglTXCKe2JNv9zJyEo ILuNlq333r3qENm/e6kGhvxg/kFy5G5H7vj+zeoiGvsk63aYKcfysAvDezA1Jjx6BCxm wIxfY4/dMSbF+tKsHyjGyvTYHmzZSQhcF7RDjVqfhDl6SDjtnnF1iYc0Kwpo+s7ZcdGK N5Q2/E/Aoitk2XBCXOYKmpTXSrgXPtNmtGziquxMsLiGkBkZHB/uCiksxxUCd4UD5lJW VpgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=a0uAi1WV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id bj11-20020a170902850b00b001c9de48fc85si2082224plb.179.2023.10.20.09.08.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 09:08:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=a0uAi1WV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 19D99807C749; Fri, 20 Oct 2023 09:08:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377886AbjJTQIT (ORCPT + 99 others); Fri, 20 Oct 2023 12:08:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377814AbjJTQIS (ORCPT ); Fri, 20 Oct 2023 12:08:18 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D34E1A8; Fri, 20 Oct 2023 09:08:16 -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=ShgNviY6uRULZSOoTM3SW6UAuXHvVtML/+Hkod5jeco=; b=a0uAi1WVuGqpIjS/NvcbG3Kmz9 lKUe4TZ9TFX0frVrmQpDcG1NR14DNnYyPROpjwj0e4fbcMRUuWDlQBiJSNyF4H/1cPVwjHcwXRcPp q6WOqLeQXtP+GR8JnO5iWU8jpvgpsdjzc60mhg8BgKc9rKBAj1jZYZO3NDykH0zZ3vSo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qts2Y-002noa-91; Fri, 20 Oct 2023 18:07:58 +0200 Date: Fri, 20 Oct 2023 18:07:58 +0200 From: Andrew Lunn To: Linus Walleij Cc: Vladimir Oltean , =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , Marek =?iso-8859-1?Q?Beh=FAn?= , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Marangi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next v4 6/7] dt-bindings: marvell: Rewrite MV88E6xxx in schema Message-ID: References: <20231018-marvell-88e6152-wan-led-v4-0-3ee0c67383be@linaro.org> <20231018-marvell-88e6152-wan-led-v4-6-3ee0c67383be@linaro.org> <20231019153552.nndysafvblrkl2zn@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 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 howler.vger.email 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 (howler.vger.email [0.0.0.0]); Fri, 20 Oct 2023 09:08:34 -0700 (PDT) > Isn't there some in-kernel DTS file with a *good* example of how > a Marvell mv88e6xxx switch is supposed to look I can just > copy instead? We shouldn't conjure synthetic examples. arch/arm/boot/dts/marvell/armada-381-netgear-gs110emx.dts is an example of a 6390 with external PHYs. The nodes are in a somewhat unconventional order, but nothing requires them to be any specific order. arch/arm/boot/dts/nxp/vf/vf610-zii-ssmb-spu3.dts is another 6390 which only uses the internal PHYs, so there are no mdio busses listed or needed. arch/arm/boot/dts/marvell/armada-370-rd.dts is another example of how it can be done. It lists the PHYs on the MDIO bus, but does not have any phy-handles, it lets the DSA core link them. Some people might consider this a bad example? But it works, i use this machine for development work. arch/arm/boot/dts/marvell/armada-385-linksys.dtsi is another alternative, which does not have the MDIO bus. Andrew