From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751167AbdE3QnC (ORCPT ); Tue, 30 May 2017 12:43:02 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:53138 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751002AbdE3QnA (ORCPT ); Tue, 30 May 2017 12:43:00 -0400 Date: Tue, 30 May 2017 12:42:58 -0400 (EDT) Message-Id: <20170530.124258.552928885307723573.davem@davemloft.net> To: bogdan.purcareata@nxp.com Cc: andrew@lunn.ch, f.fainelli@gmail.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 0/2] net: phy: Support managed Cortina phys From: David Miller In-Reply-To: <1496049091-4637-1-git-send-email-bogdan.purcareata@nxp.com> References: <1496049091-4637-1-git-send-email-bogdan.purcareata@nxp.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 30 May 2017 09:01:23 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bogdan Purcareata Date: Mon, 29 May 2017 09:11:29 +0000 > So far, the Cortina family phys (CS4340 in this particular case) are only > supported in fixed link mode (via fixed_phy_register). The generic 10G > phy driver does not work well with the phylib state machine, when the phy > is registered via of_phy_connect. This prohibits the user from describing the > phy nodes in the device tree. > > In order to support this scenario, and to properly describe the board > device tree, add a minimal Cortina driver that reads the status from the > right register. With the generic 10G C45 driver, the kernel will print > messages like: > [ 0.226521] mdio_bus 8b96000: Error while reading PHY16 reg at 1.6 > [ 0.232780] mdio_bus 8b96000: Error while reading PHY16 reg at 1.5 ... Series applied, thanks.