Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp536614rdh; Sun, 24 Sep 2023 00:31:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEEL/BUut/9v451I+97bIp9tRod7kYAIwZd4jNi3kUbAVFuXwW1fYk8f7jSEiUQRS0dxBw X-Received: by 2002:a05:6a00:134a:b0:68a:5773:6319 with SMTP id k10-20020a056a00134a00b0068a57736319mr4981056pfu.11.1695540684442; Sun, 24 Sep 2023 00:31:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695540684; cv=none; d=google.com; s=arc-20160816; b=gHaHu2D+ymbbV6POF0g+3sU0tmsgr+XtsxXZD0HmHZ+kAoxZkKExKGLsHhIyxerKGF eSF9nbdo2UV8esjq9VbAHzb3xFNYLI3ukeHtx9MNCFvmNHFKUoKml/RZWDVsWg0ejFwy 1KX4HemHe6oXIkW1cJnbBfNV7ejQnedzr87T6TX4xbcaS/KT4iVujm/odmT0XodeZ5hL uQ7CYMqk3SQsvWYq0ObHG5WPd8xjTsk1/FEHn8jwrwT3IZdUzwt7YcDHwPKxrTsufgSe ZRN0T65dscMnB0h7hgh1EBWtuczDNVtteHmIP8BYbnVTaIv54reWGNsDY5ueVZ1uOh7b 7Nzg== 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=hIhc6S9lojzS96JV1IiMmWOoZlmX89PQJ27DBWFUgb8=; fh=Y2tfik46cu1EdcyQZf6uPg9QERXNm1gsfHkCbBcu+ls=; b=uXizQvbfq4AjBoWFRcY6yBAnWX7b3pZI0ChIf1Jkv+WFKG9YQZEQ5YgxmmP5dt+1vT xBfaY92fs37mbAV+GXrr/iqxFsTsgDekwivZ9r5HIt9hDOLr/mUAfT0JQtg2zWlXCLv7 6n7KGJh0Upf1zDdLvxZLK8HtAzHF9RGXLq83cuL2qU2sb/a1LdjZcV+jUz2u1xwbUBZe ie0KmjBjJs/XDN+ctfcBqEexnp158KMMP9IQVSay7M1PJUkvmr5oXVdzm7OBDCHABPZX G8Fwl8GLyfBVtfgInRPGTv6H/oG/rNWI/965MNcn5JwsYN3w+XUki0XepcdY2jwT96vU sCxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="tcs+ci/+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id cd12-20020a056a00420c00b00690a7aefa50si7246280pfb.325.2023.09.24.00.31.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 00:31:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="tcs+ci/+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 7E81280CFD04; Sat, 23 Sep 2023 20:16:38 -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 S229879AbjIXDQR (ORCPT + 99 others); Sat, 23 Sep 2023 23:16:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjIXDQO (ORCPT ); Sat, 23 Sep 2023 23:16:14 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02E5A197; Sat, 23 Sep 2023 20:16:06 -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=hIhc6S9lojzS96JV1IiMmWOoZlmX89PQJ27DBWFUgb8=; b=tcs+ci/+NHqzYCxUBXKQ+iWWbo HfbC2lCB0ZZoR7iP5dsuSuFXkuh1tgcCGESEariPR4RvyDkM72A02vQzkxKS8hh5eOZU/cD/Td5Tc MKXK+8Wll1YtcvYbtg0SFi31WqGbXpEzFT1HVXukIcJDW6B7SWY0wnwAbN8joc058JbY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qkFaK-007KCk-Ou; Sun, 24 Sep 2023 05:15:04 +0200 Date: Sun, 24 Sep 2023 05:15:04 +0200 From: Andrew Lunn To: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= Cc: "Russell King (Oracle)" , Rob Herring , Krzysztof Kozlowski , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Conor Dooley , George McCollister , Florian Fainelli , Vladimir Oltean , Kurt Kanzenbach , Matthias Brugger , AngeloGioacchino Del Regno , Woojung Huh , UNGLinuxDriver@microchip.com, Linus Walleij , Alvin =?utf-8?Q?=C5=A0ipraga?= , =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= , Marcin Wojtas , Lars Povlsen , Steen Hegelund , Daniel Machon , Radhey Shyam Pandey , Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Geert Uytterhoeven , Magnus Damm , Maxime Chevallier , Nicolas Ferre , Claudiu Beznea , Marek Vasut , Claudiu Manoil , Alexandre Belloni , John Crispin , Madalin Bucur , Ioana Ciornei , Lorenzo Bianconi , Felix Fietkau , Horatiu Vultur , Oleksij Rempel , Alexandre Torgue , Giuseppe Cavallaro , Jose Abreu , Grygorii Strashko , Sekhar Nori , Shyam Pandey , 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, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH net-next v2 00/10] define and enforce phylink bindings Message-ID: <2be01f7e-8bd0-42c5-bc82-b1da29b83e24@lunn.ch> References: <20230916110902.234273-1-arinc.unal@arinc9.com> <6c1bb7df-34cd-4db9-95b6-959c87b68588@arinc9.com> <4856b212-5bc5-4783-a184-b34a4a915878@lunn.ch> <5650a2a3-a36f-441e-b4c2-aa7c751b5af5@arinc9.com> <410dfe3c-6f99-4054-88f8-0acbd134cfce@lunn.ch> <228f24db-0a26-4d38-8f73-a9691262cc5f@arinc9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <228f24db-0a26-4d38-8f73-a9691262cc5f@arinc9.com> 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 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]); Sat, 23 Sep 2023 20:16:38 -0700 (PDT) > > There is a MAC driver currently under review which does not have a PHY > > at all. The MAC is directly connected to a switch, all within one > > IC. The link is always running at 5Gbps, the link is always up. It is > > physically impossible to connect a PHY, so get_link_settings just > > returns hard coded values. > > The fixed-link property would be used to describe the link of the MAC here. Fixed-link make sense for a general purpose MAC which could be connected to a PHY, or could also be used without a PHY. fixed-link simplifies the code in that the MAC driver does not see a difference, it all looks like a PHY. However for a MAC which cannot be connected to a PHY, there is no need to emulate a PHY. The MAC driver will be simpler. So i would not recommend a fixed-link in this situation. Andrew