netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] net: mdio-mux: add mdio_mux parameter to mdio_mux_init()
@ 2017-09-04 16:30 Corentin Labbe
  2017-09-04 16:30 ` [PATCH 1/1] " Corentin Labbe
  0 siblings, 1 reply; 4+ messages in thread
From: Corentin Labbe @ 2017-09-04 16:30 UTC (permalink / raw)
  To: andrew, f.fainelli, rjui, sbranden, jonmason
  Cc: bcm-kernel-feedback-list, netdev, linux-arm-kernel, linux-kernel,
	Corentin Labbe

Hello

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 https://lkml.org/lkml/2017/8/29/407

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.

Regards

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(-)

-- 
2.13.5

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-04 17:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-04 16:30 [PATCH 0/1] net: mdio-mux: add mdio_mux parameter to mdio_mux_init() Corentin Labbe
2017-09-04 16:30 ` [PATCH 1/1] " Corentin Labbe
2017-09-04 17:00   ` Florian Fainelli
2017-09-04 17:00   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).