]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mdio: mux: Enhanced MDIO mux framework for integrated multiplexers
authorPramod Kumar <pramod.kumar@broadcom.com>
Fri, 10 Jun 2016 05:33:45 +0000 (11:03 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:24:53 +0000 (23:24 -0700)
commitf20e6657a8758fe8d074889a6f1883674f01c7f2
treea55ed4fb2fd0a3087905a230ffaab7d4d40d52e6
parentd46e416c11c88ef1deb5c7f19271806a5be597fe
mdio: mux: Enhanced MDIO mux framework for integrated multiplexers

An integrated multiplexer uses same address space for
"muxed bus selection" and "generation of mdio transaction"
hence its good to register parent bus from mux driver.

Hence added a mechanism where mux driver could register a
parent bus and pass it down to framework via mdio_mux_init api.

Signed-off-by: Pramod Kumar <pramod.kumar@broadcom.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-mux-gpio.c
drivers/net/phy/mdio-mux-mmioreg.c
drivers/net/phy/mdio-mux.c
include/linux/mdio-mux.h