[lkml]   [2017]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/1] net: mdio-mux: add mdio_mux parameter to mdio_mux_init()

For dwmac-sun8i, we need to set a MDIO mux which is not itself a device
(it is part of a device but have its own DT node)

This patch permit to use a MDIO mux for such case.
See agreement at

Since all mdio_mux_init() users are within drivers/net/phy/ and the changes are
trivial, I have done all in one patch, instead of having a complex series of
patch converting one by one callers.

This patch is a dependency for restoring dwmac-sun8i so it is why I target "net:"
But I send it alone, for be sure that this conversion in one patch is acceptable.


Corentin Labbe (1):
net: mdio-mux: add mdio_mux parameter to mdio_mux_init()

drivers/net/phy/mdio-mux-bcm-iproc.c | 2 +-
drivers/net/phy/mdio-mux-gpio.c | 2 +-
drivers/net/phy/mdio-mux-mmioreg.c | 3 ++-
drivers/net/phy/mdio-mux.c | 7 ++++---
include/linux/mdio-mux.h | 9 +++++++++
5 files changed, 17 insertions(+), 6 deletions(-)


 \ /
  Last update: 2017-09-04 18:33    [W:0.031 / U:15.128 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site