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>
This commit is contained in:
committed by
Joe Hershberger
parent
c38ac2893c
commit
8880edba06
@@ -24,6 +24,18 @@ config DM_MDIO
|
||||
This is currently implemented in net/mdio-uclass.c
|
||||
Look in include/miiphy.h for details.
|
||||
|
||||
config DM_MDIO_MUX
|
||||
bool "Enable Driver Model for MDIO MUX devices"
|
||||
depends on DM_MDIO
|
||||
help
|
||||
Enable driver model for MDIO MUX devices
|
||||
|
||||
Adds UCLASS_MDIO_MUX DM class supporting MDIO MUXes. Useful for
|
||||
systems that support DM_MDIO and integrate one or multiple muxes on
|
||||
the MDIO bus.
|
||||
This is currently implemented in net/mdio-mux-uclass.c
|
||||
Look in include/miiphy.h for details.
|
||||
|
||||
config MDIO_SANDBOX
|
||||
depends on DM_MDIO && SANDBOX
|
||||
default y
|
||||
|
||||
Reference in New Issue
Block a user