zephyr/drivers/mdio/Kconfig.esp32
Bartosz Bilas 0b76b4f016 drivers: mdio: esp32: add dependency of node status
MDIO driver should be available and enabled only when
mdio node has status okay.

Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
2023-11-27 12:22:18 +00:00

11 lines
278 B
Plaintext

# Copyright (c) 2022 Grant Ramsay <grant.ramsay@hotmail.com>
# SPDX-License-Identifier: Apache-2.0
config MDIO_ESP32
bool "ESP32 MDIO driver"
default y
depends on SOC_SERIES_ESP32
depends on DT_HAS_ESPRESSIF_ESP32_MDIO_ENABLED
help
Enable ESP32 MCU Family MDIO driver.