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=-10.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 C5BD9C433DB for ; Mon, 15 Mar 2021 06:03:13 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 5642164E4A for ; Mon, 15 Mar 2021 06:03:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5642164E4A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=CZP+YoYaZLeJnGoKEysO27jjEnQUfR162N++8dcSozE=; b=P7+XY1k3ubdosOYxQFHs6fEvL l4hz80MBycsl4cVR90+0+5zbvSAclAP+lZYUeMqPCC041tA4/l3gYftD2eXvNOxRMFq1/stQsW2st K+2hxGQ4lQxqUE/6s6/ie/ZwlX60tfbRHPJiaUzJZo4OYjuD7xawVPbCIiWrr2HWI9zGbx8qw73De 4i1KNvHGgwZx2J8yA02/jRm1mFuHXo2YzBVa4FoQ9i24nCcDvHxyWKgwzU1LPLdg6BC4X85zpGHu0 o1+RGP7YMnEYWctvXdpHhGkoMN3eE9k8v7oploWJt2f4eCmEw1q3d1wQ4a6+Obgqt60VgqykwRVGl 54ahZdi/Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lLgII-00F0DI-5W; Mon, 15 Mar 2021 06:01:34 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lLgID-00F0Cj-Fm for linux-arm-kernel@lists.infradead.org; Mon, 15 Mar 2021 06:01:31 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6554E64DD1; Mon, 15 Mar 2021 06:01:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615788087; bh=drYFlIid6rsqUkgt0Cko/3Jdwkm243e1+tZlPErUmX8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nA5GqDSOKxB0KaDZF6IQbql8tbEopmyQeyyGQniU9ZA7BaEGFv4yFCIKBNTymR4Yb 6KyT0G2gWIcj7ap/Hsn1GoQ1B3uMD3xRDuYgHvso/C2ZkajwnWSUcVv/djv9Ps6yox PmUf9W76WRjLAe1Gv0jkyOKi2Iz0lpSQZ3QJ2WVW1ONgR4qEhalmQommguGkM9QJvq tzkDdbY4XARJmRHrK50KpFAPsTM3Xs2DhI+Lb8hHjc5dIWZUJXn4pA0VQgTtuu3mO4 J5rHLeSywgd4t5cgIGhCJxlTqnHaD0MrgAkheTNAJo90i5zl4mqE3FlTv/tE0OAJ68 tvwGp0Q60a8Yg== Date: Mon, 15 Mar 2021 14:01:21 +0800 From: Shawn Guo To: Vladimir Oltean Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, Alex Marginean , Claudiu Manoil , Michael Walle , Vladimir Oltean Subject: Re: [PATCH devicetree] arm64: dts: ls1028a: set up the real link speed for ENETC port 2 Message-ID: <20210315060121.GH11246@dragon> References: <20210308130834.2994658-1-olteanv@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210308130834.2994658-1-olteanv@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210315_060129_846021_61D0981A X-CRM114-Status: GOOD ( 15.15 ) 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 Mon, Mar 08, 2021 at 03:08:34PM +0200, Vladimir Oltean wrote: > From: Vladimir Oltean > > In NXP LS1028A there is a MAC-to-MAC internal link between enetc_port2 > and mscc_felix_port4. This link operates at 2.5Gbps and is described as > such for the mscc_felix_port4 node. > > The reason for the discrepancy is a limitation in the PHY library > support for fixed-link nodes. Due to the fact that the PHY library > registers a software PHY which emulates the clause 22 register map, the > drivers/net/phy/fixed_phy.c driver only supports speeds up to 1Gbps. > > The mscc_felix_port4 node is probed by DSA, which does not use the PHY > library directly, but phylink, and phylink has a different representation > for fixed-link nodes, one that does not have the limitation of not being > able to represent speeds > 1Gbps. > > Since the enetc driver was converted to phylink too as of commit > 71b77a7a27a3 ("enetc: Migrate to PHYLINK and PCS_LYNX"), the limitation > has been practically lifted there too, and we can describe the real link > speed in the device tree now. > > Signed-off-by: Vladimir Oltean Applied, thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel