Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4347919rwr; Sun, 30 Apr 2023 05:42:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5mp9FqW0oDaWqgghUlkckVR8TnqsVyQCIar30fuaqZp+KUH6IBeW9dpSKwgVwIKpFXP8zD X-Received: by 2002:a05:6a20:1616:b0:f0:38a7:dc71 with SMTP id l22-20020a056a20161600b000f038a7dc71mr14579783pzj.4.1682858545252; Sun, 30 Apr 2023 05:42:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682858545; cv=pass; d=google.com; s=arc-20160816; b=SmQ3ov5+E4u5sXgrQLXZ4MU0yEvUTmMsNFXAex1gyQLaFdXFdDpW37XL01NBK8V2m5 TxNXjD0J9YerSlWZof4za33CHQ4VrWEVKYDEHwWjFeKVo53egA2J04XXZb4iU6RFYxVR hUxvt3fF9+ZM7eFCy2jT2ih5oRzsbj7Ub1OQczm+/t7MgtSigvD381yZ5uqGf5VunE/y xih9jMOEWd71tsZWn6fwCOpWkDYFm4/+m+EFmW5r+UUJ5Hd1/mpsOEvoasiqBO+S5js+ ybB6l5glw7iaUBWGKcY2TddDGlQNvqm9LnTiqn13wiT+ka8ZFxl4mYwruDYlbE5IEOhw WmqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=mbfFTTWDUHeQEy/0dmjFMlo7KdHup0xcnV5ebUwGLtw=; b=CEPm5bmnaWLoxH8lxIIGzU4L2V+IdHDcAhYSt325X2/IYRCrVQaIuGdindASIA9F5Z +OX7g6LCyRu633BFYYtv04KWkCNVTmniwPYKZ5KyePXBoMRzATRTPxagadextxZTMFdL WCcz2gYqNmpueW3DKcxEC8zRBagEK6iqF2dsvxvnDR0O0IBm46615D4imPfVV/5aRZXX mzLNIChUaM0IaxBJixkMflYfnpKx1mVSD4E+8DDqoNJf1RrfBCVu4RmTBeEwfYD9HTaE PvG18fRuTQ5V6YzPsXk9teDD4BbbPd5WMSfyIREqnbf26f1ktQPAEgCYGIQ6zc9WEwye SYPA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b=jMQb5DXk; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nh17-20020a17090b365100b002475951186asi28223815pjb.131.2023.04.30.05.42.02; Sun, 30 Apr 2023 05:42:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b=jMQb5DXk; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.com>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230399AbjD3Mfj (ORCPT + 99 others); Sun, 30 Apr 2023 08:35:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjD3Mfi (ORCPT ); Sun, 30 Apr 2023 08:35:38 -0400 Received: from sender3-op-o18.zoho.com (sender3-op-o18.zoho.com [136.143.184.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C48C1989; Sun, 30 Apr 2023 05:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682858106; cv=none; d=zohomail.com; s=zohoarc; b=QxJ/G6lcQHIHUkoU+FXb2mJuBpcjFgAEb+SFZmNh+CRO5UW0HNg0HBPgPt4zSyLiAtXTTIsFZbhyhCOX/W5h1j9YOloiBzy/uyEq1Kva6Ca1tuLbf9Jn5X2BOU0ZsF30L+Mcrm8ecvRgioVJGO8Xg8CSHamL2yviwX7CvBX9MCU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1682858106; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=mbfFTTWDUHeQEy/0dmjFMlo7KdHup0xcnV5ebUwGLtw=; b=mI505/mm/ghOj38A1wEdRBWB/fg8g10RWC9wImaMEGmOXVp0AkOPWJHEou0o3SsbOFTi1EtrtaEmHIMZydWxyN5F9J+iNOZuz0DarTfzzhMNj4HebUXSVhEuB+wGv5sTujFytrrLi6rx6IIxvQ2MhTy+dfolHrrjM73XeS1ECqc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1682858106; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=mbfFTTWDUHeQEy/0dmjFMlo7KdHup0xcnV5ebUwGLtw=; b=jMQb5DXkVLFaFr5YRyU/fMivEXjFFey1+0qRzn3pdn6a76grFMcesRsbSZ1MdUXi uRkHnx+UgzASrDIF0Z+CfypPP8rTD5KdsWDvH1QaQ4QWJYBA8lex+hc7dsx92cilgOP 5xuRN2Ptnrz51ZrvBWms8R+g33DiopV9gpmTqmqo= Received: from [10.10.10.3] (149.91.1.15 [149.91.1.15]) by mx.zohomail.com with SMTPS id 1682858104107553.5919542238181; Sun, 30 Apr 2023 05:35:04 -0700 (PDT) Message-ID: Date: Sun, 30 Apr 2023 15:34:43 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 2/2] dt-bindings: net: dsa: mediatek,mt7530: document MDIO-bus To: David Bauer , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , Landen Chao , DENG Qingfang , Sean Wang , Daniel Golle Cc: 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: <20230430112834.11520-1-mail@david-bauer.net> <20230430112834.11520-2-mail@david-bauer.net> Content-Language: en-US From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: <20230430112834.11520-2-mail@david-bauer.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 30.04.2023 14:28, David Bauer wrote: > Document the ability to add nodes for the MDIO bus connecting the > switch-internal PHYs. This is quite interesting. Currently the PHY muxing feature for the MT7530 switch looks for some fake ethernet-phy definitions on the mdio-bus where the switch is also defined. Looking at the binding here, there will be an mdio node under the switch node. This could be useful to define the ethernet-phys for PHY muxing here instead, so we don't waste the register addresses on the parent mdio-bus for fake things. It looks like this should work right out of the box. I will do some tests. Are there any examples as to what to configure on the switch PHYs with this change? > > Signed-off-by: David Bauer > --- > .../devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > index e532c6b795f4..50f8f83cc440 100644 > --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > @@ -128,6 +128,12 @@ properties: > See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt for > details for the regulator setup on these boards. > > + mdio: > + $ref: /schemas/net/mdio.yaml# > + unevaluatedProperties: false > + description: > + Node for the internal MDIO bus connected to the embedded ethernet-PHYs. Please set this property as false for mediatek,mt7988-switch as it doesn't use MDIO. Arınç