netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] netdev/of/phy: MDIO bus multiplexer support.
@ 2011-08-31 20:01 David Daney
       [not found] ` <1314820906-14004-1-git-send-email-david.daney-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
  2011-08-31 20:01 ` [PATCH 3/3] netdev/of/phy: Add MDIO bus multiplexer driven by GPIO lines David Daney
  0 siblings, 2 replies; 12+ messages in thread
From: David Daney @ 2011-08-31 20:01 UTC (permalink / raw)
  To: linux-mips-6z/3iImG2C8G8FEW9MqTrA, ralf-6z/3iImG2C8G8FEW9MqTrA,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	grant.likely-s3s/WqlpOiPyB63q8FvJNQ,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA

We have several different boards with a multiplexer in the MDIO bus.
There is an MDIO bus controller connected to a switching device with
several child MDIO busses.

Everything is wired up using device tree bindings.

 1/3 - New of_mdio_find_bus() function used to help configuring the
       driver topology.

 2/3 - MDIO bus multiplexer framework.

 3/3 - A driver for a GPIO controlled multiplexer.

I have an additional patch I am working on for an I2C controlled
multiplexer that I will follow up with once this reaches a mergable
state.

David Daney (3):
  netdev/of/phy: New function: of_mdio_find_bus().
  netdev/of/phy: Add MDIO bus multiplexer support.
  netdev/of/phy: Add MDIO bus multiplexer driven by GPIO lines.

 .../devicetree/bindings/net/mdio-mux-gpio.txt      |  127 ++++++++++++++
 Documentation/devicetree/bindings/net/mdio-mux.txt |  132 ++++++++++++++
 drivers/net/phy/Kconfig                            |   17 ++
 drivers/net/phy/Makefile                           |    2 +
 drivers/net/phy/mdio-mux-gpio.c                    |  143 +++++++++++++++
 drivers/net/phy/mdio-mux.c                         |  182 ++++++++++++++++++++
 drivers/net/phy/mdio_bus.c                         |    3 +-
 drivers/of/of_mdio.c                               |   26 +++
 include/linux/mdio-mux.h                           |   18 ++
 include/linux/of_mdio.h                            |    2 +
 include/linux/phy.h                                |    1 +
 11 files changed, 652 insertions(+), 1 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/mdio-mux-gpio.txt
 create mode 100644 Documentation/devicetree/bindings/net/mdio-mux.txt
 create mode 100644 drivers/net/phy/mdio-mux-gpio.c
 create mode 100644 drivers/net/phy/mdio-mux.c
 create mode 100644 include/linux/mdio-mux.h

-- 
1.7.2.3

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

end of thread, other threads:[~2011-09-15  4:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-31 20:01 [PATCH 0/3] netdev/of/phy: MDIO bus multiplexer support David Daney
     [not found] ` <1314820906-14004-1-git-send-email-david.daney-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2011-08-31 20:01   ` [PATCH 1/3] netdev/of/phy: New function: of_mdio_find_bus() David Daney
2011-08-31 20:01   ` [PATCH 2/3] netdev/of/phy: Add MDIO bus multiplexer support David Daney
2011-09-09 23:22     ` Andy Fleming
     [not found]     ` <1314820906-14004-3-git-send-email-david.daney-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2011-09-13 23:07       ` Kumar Gala
     [not found]         ` <129FAAB3-C9AD-43F6-A8CB-96548A47C4DC-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
2011-09-13 23:23           ` David Daney
     [not found]             ` <4E6FE5F9.2060604-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2011-09-14 20:42               ` Kumar Gala
2011-09-14 21:40                 ` Device tree property names for MDIO bus multiplexer. Was: " David Daney
     [not found]                   ` <4E711F59.6000801-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2011-09-15  0:41                     ` Grant Likely
2011-09-15  0:51       ` Grant Likely
2011-09-15  4:16         ` David Daney
2011-08-31 20:01 ` [PATCH 3/3] netdev/of/phy: Add MDIO bus multiplexer driven by GPIO lines David Daney

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