From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIMWL_WL_MED,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 224F1C4338F for ; Fri, 30 Jul 2021 14:51:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E549C60F48 for ; Fri, 30 Jul 2021 14:51:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E549C60F48 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=cisco.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=y6GzDSTI9UVuqSMf2FacsRK4cr4ElDqNq/wxjxlJ5oU=; b=rV2Jxy2KlJKF1D jdsWV43W1Df1QsfuivNc+oxVSnZ5LXDi6DGmlIJcxj3+AvWF9aj2YQv5B6ZNxerwwkS1wZS9iZ9d+ 4GW/NQqK62ITPxYQwyZ/izR3tlatWaEgwMQf7w8jkfQPMG0EN9JzdEWntaBMBtfiY53gdqE7Jj49H To9VuXSO4Mek9+naF+bvgGE1AUxqc7BPGhecPq84+b49h5aQHNzGhHjQJId18QIqg6WKF+LAew0UE IU9sx7gpnmOih1ZmHDKNqZwDEMKp3XADkbxAT/GmZAsd9gkMeeo873gaDjYPbnPmvUzLqlXxlLC4Y fu2E5KVuoBhqsIDdJs1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9ToX-00922i-AU; Fri, 30 Jul 2021 14:48:41 +0000 Received: from rcdn-iport-8.cisco.com ([173.37.86.79]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9ToS-00921M-QY for linux-arm-kernel@lists.infradead.org; Fri, 30 Jul 2021 14:48:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=795; q=dns/txt; s=iport; t=1627656516; x=1628866116; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=n3PkM/+InBuHzKFjtN6VP5Z6K9yetavVDut1DYLO1yY=; b=mhMWsRwn0Wl2bdqhm1D8Dx5cedGWFgl1i4jXG7bnGw7RhXdqcgzq1rAC kXQq9ey49gCsUe9JidudyimF4p5t8HFSOgm+ft9sgJdP80HEwByYNjroC NMHOSq2aVG/2JsodHpMObbm00+QS83x3n5Gp2NedrFpC0eHH4YlD1VJIY c=; X-IronPort-AV: E=Sophos;i="5.84,282,1620691200"; d="scan'208";a="915063875" Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 30 Jul 2021 14:48:32 +0000 Received: from zorba ([10.24.25.85]) by rcdn-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id 16UEmUWR021352 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 30 Jul 2021 14:48:32 GMT Date: Fri, 30 Jul 2021 07:48:30 -0700 From: Daniel Walker To: Andrew Lunn Cc: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Russell King , Balamurugan Selvarajan , xe-linux-external@cisco.com, "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RFC-PATCH] net: stmmac: Add KR port support. Message-ID: <20210730144830.GO1633923@zorba> References: <20210729234443.1713722-1-danielwa@cisco.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Auto-Response-Suppress: DR, OOF, AutoReply X-Outbound-SMTP-Client: 10.24.25.85, [10.24.25.85] X-Outbound-Node: rcdn-core-5.cisco.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210730_074836_967156_8DBE9501 X-CRM114-Status: GOOD ( 16.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jul 30, 2021 at 05:01:44AM +0200, Andrew Lunn wrote: > On Thu, Jul 29, 2021 at 04:44:42PM -0700, Daniel Walker wrote: > > From: Balamurugan Selvarajan > > > > For KR port the mii interface is a chip-to-chip > > interface without a mechanical connector. So PHY > > inits are not applicable. In this case MAC is > > configured to operate at forced speed(1000Mbps) > > and full duplex. Modified driver to accommodate > > PHY and NON-PHY mode. > > I agree with Florian here. Look at all the in kernel examples of a SoC > MAC connected to an Ethernet switch. Some use rgmii, others 1000BaseX > or higher. But they all follow the same scheme, and don't need > invasive MAC driver changes. Can you provide the examples which you looked at ? Daniel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel