943bc1cebc
Adds MDIO driver. Works via exposed ADIN2111 functions. It is possible to access Clause 45 and 22 registers. Due to MDIO API limitation Clause 45 access is done using driver specific MDIO functions. Provides API and functions for PHY driver. Signed-off-by: Georgij Cernysiov <geo.cgv@gmail.com>
45 lines
902 B
Plaintext
45 lines
902 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"
|
|
|
|
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
|