a1e2fdcc4d
Add MDIO driver that works through GPIO pins. This driver is useful when a microcontroller doesn't have MDIO bus or when multiple separate MDIO buses are required. The driver provides access to the MDIO bus through GPIO pins for any SoC that has GPIO pin control available. Signed-off-by: Aleksandr Senin <al@meshium.net>
46 lines
937 B
Plaintext
46 lines
937 B
Plaintext
# MDIO configuration options
|
|
|
|
# Copyright (c) 2021 IP-Logix Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
# MDIO options
|
|
#
|
|
menuconfig MDIO
|
|
bool "Management Data Input/Output (MDIO) drivers"
|
|
help
|
|
Enable MDIO Driver Configuration
|
|
|
|
if MDIO
|
|
|
|
config MDIO_SHELL
|
|
bool "MDIO Shell"
|
|
default y
|
|
depends on SHELL
|
|
help
|
|
Enable MDIO Shell.
|
|
|
|
The MDIO shell currently supports scanning and device
|
|
read/write.
|
|
|
|
# Include these first so that any properties (e.g. defaults) below can be
|
|
# overridden (by defining symbols in multiple locations)
|
|
source "drivers/mdio/Kconfig.esp32"
|
|
source "drivers/mdio/Kconfig.sam"
|
|
source "drivers/mdio/Kconfig.nxp_s32"
|
|
source "drivers/mdio/Kconfig.adin2111"
|
|
source "drivers/mdio/Kconfig.gpio"
|
|
|
|
config MDIO_INIT_PRIORITY
|
|
int "Init priority"
|
|
default 60
|
|
help
|
|
MDIO device driver initialization priority.
|
|
|
|
|
|
module = MDIO
|
|
module-str = mdio
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
endif # MDIO
|