Merge tag 'u-boot-imx-20190719' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[platform/kernel/u-boot.git] / drivers / net / Kconfig
index 2408c7a..0a1d228 100644 (file)
@@ -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
@@ -34,6 +46,16 @@ config MDIO_SANDBOX
 
          This driver is used in for testing in test/dm/mdio.c
 
+config MDIO_MUX_SANDBOX
+       depends on DM_MDIO_MUX && MDIO_SANDBOX
+       default y
+       bool "Sandbox: Mocked MDIO-MUX driver"
+       help
+         This driver implements dummy select/deselect ops mimicking a MUX on
+         the MDIO bux.  It uses mdio_sandbox driver as parent MDIO.
+
+         This driver is used for testing in test/dm/mdio.c
+
 menuconfig NETDEVICES
        bool "Network device support"
        depends on NET
@@ -566,4 +588,19 @@ config HIGMACV300_ETH
          This driver supports HIGMACV300 Ethernet controller found on
          HiSilicon SoCs.
 
+config FSL_ENETC
+       bool "NXP ENETC Ethernet controller"
+       depends on DM_PCI && DM_ETH && DM_MDIO
+       help
+         This driver supports the NXP ENETC Ethernet controller found on some
+         of the NXP SoCs.
+
+config MDIO_MUX_I2CREG
+       bool "MDIO MUX accessed as a register over I2C"
+       depends on DM_MDIO_MUX && DM_I2C
+       help
+         This driver is used for MDIO muxes driven by writing to a register of
+         an I2C chip.  The board it was developed for uses a mux controlled by
+         on-board FPGA which in turn is accessed as a chip over I2C.
+
 endif # NETDEVICES