net: add MDIO_MUX DM class
authorAlex Marginean <alexandru.marginean@nxp.com>
Fri, 12 Jul 2019 07:13:50 +0000 (10:13 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 18 Jul 2019 21:37:13 +0000 (16:37 -0500)
commit8880edba06d5deb52ebca7c3eb1bbdcdcc8ec2b6
tree2a43309592555ec6fe3b5b3a3a0ed3237dd00e95
parentc38ac2893cc8f56365ab1084b2c5b06fc31dd697
net: add MDIO_MUX DM class

Adds a class for MDIO MUXes, which control access to a series of
downstream child MDIOs.
MDIO MUX drivers are required to implement a select function used to switch
between child buses.
MUX children are registered as MDIO buses and they can be used just like
regular MDIOs.

Signed-off-by: Alex Marginean <alexm.osslist@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/Kconfig
include/dm/uclass-id.h
include/miiphy.h
net/Makefile
net/mdio-mux-uclass.c [new file with mode: 0644]