[net-next 0/2] ravb: Support describing the MDIO bus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

This series adds support to the binding and driver of the Renesas 
Ethernet AVB to described the MDIO bus. Currently the driver uses the OF 
node of the device itself when registering the MDIO bus. This forces any 
MDIO bus properties the MDIO core should react on to be set on the 
device OF node. This is confusing and non of the MDIO bus properties are 
described in the Ethernet AVB bindings.

Patch 1/2 extends the bindings with an optional mdio child-node to the 
device that can be used to contain the MDIO bus settings. While patch 
2/2 changes the driver to use this node (if present) when registering 
the MDIO bus.

If the new optional mdio child-node is not present the driver fallback
to the old behavior and uses the device OF node like before. This change 
is fully backward compatible with existing usage of the bindings.

Niklas Söderlunn (2):
  dt-bindings: net: renesas,etheravb: Add optional MDIO bus node
  ravb: Add support for an optional MDIO mode

 .../bindings/net/renesas,etheravb.yaml          |  4 ++++
 drivers/net/ethernet/renesas/ravb_main.c        | 17 +++++++++++++++--
 2 files changed, 19 insertions(+), 2 deletions(-)

-- 
2.44.0





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux