Re: [PATCH] of: of_mdio: Handle properties for non-phy mdio devices

2021-02-16 Thread Nathan Rossi
On Wed, 17 Feb 2021 at 13:19, Andrew Lunn wrote: > > > > The patch does make sense though, Broadcom 53125 switches have a broken > > > turn around and are mdio_device instances, the broken behavior may not > > > show up with all MDIO controllers used to interface though. For the > > > > Yes the re

[PATCH v2] of: of_mdio: Handle broken-turn-around for non-phy mdio devices

2021-02-16 Thread Nathan Rossi
From: Nathan Rossi The documentation for MDIO bindings describes the "broken-turn-around", property such that any MDIO device can define it. Other MDIO devices may require this property in order to correctly function on the MDIO bus. Enable the parsing and configuration associated

Re: [PATCH] of: of_mdio: Handle properties for non-phy mdio devices

2021-02-16 Thread Nathan Rossi
On Wed, 17 Feb 2021 at 03:50, Florian Fainelli wrote: > > > > On 2/16/2021 5:06 AM, Andrew Lunn wrote: > > On Mon, Feb 15, 2021 at 07:02:18AM +, Nathan Rossi wrote: > >> From: Nathan Rossi > >> > >> The documentation for MDIO bindings describes th

Re: [PATCH] net: dsa: mv88e6xxx: prevent 2500BASEX mode override

2021-02-16 Thread Nathan Rossi
ussell King - ARM Linux admin wrote: > > > > > > > On Mon, Feb 15, 2021 at 02:47:56PM +0100, Marek Behun wrote: > > > > > On Mon, 15 Feb 2021 06:15:59 + > > > > > Nathan Rossi wrote: > > > > > > > > > > > diff --git a/drivers/

[PATCH] of: of_mdio: Handle properties for non-phy mdio devices

2021-02-14 Thread Nathan Rossi
From: Nathan Rossi The documentation for MDIO bindings describes the "broken-turn-around", "reset-assert-us", and "reset-deassert-us" properties such that any MDIO device can define them. Other MDIO devices may require these properties in order to correctly functio

[PATCH] net: dsa: mv88e6xxx: prevent 2500BASEX mode override

2021-02-14 Thread Nathan Rossi
From: Nathan Rossi The mv88e6xxx devices cannot automatically select between 1000BASE-X and 2500BASE-X and rely on configuration (gpio pins Px_SMODE/S_MODE and/or OF phy-mode) to select between the two modes. However when configuring a cpu/dsa port as 1000BASE-X with a inband or fixed link phy

[PATCH] net: ethernet: aquantia: Handle error cleanup of start on open

2021-02-10 Thread Nathan Rossi
From: Nathan Rossi The aq_nic_start function can fail in a variety of cases which leaves the device in broken state. An example case where the start function fails is the request_threaded_irq which can be interrupted, resulting in a EINTR result. This can be manually triggered by bringing the

Re: [PATCH] net: macb: Add support for phy-handle binding

2016-02-17 Thread Nathan Rossi
On Thu, Feb 18, 2016 at 3:14 AM, David Miller wrote: > From: Nathan Rossi > Date: Sun, 14 Feb 2016 02:02:48 +1000 > >> This patch adds support for the 'phy-handle' binding which allows for a >> system to specifically select a phy which can be attached via any MDIO

[PATCH] net: macb: Add support for phy-handle binding

2016-02-13 Thread Nathan Rossi
This patch adds support for the 'phy-handle' binding which allows for a system to specifically select a phy which can be attached via any MDIO bus available in the system. Signed-off-by: Nathan Rossi Cc: Nicolas Ferre --- drivers/net/ethernet/cadence/m