1# Copyright 2023 NXP 2# SPDX-License-Identifier: Apache-2.0 3 4config MDIO_NXP_ENET_QOS 5 bool "NXP ENET QoS MDIO driver" 6 default y 7 depends on DT_HAS_NXP_ENET_QOS_MDIO_ENABLED 8 help 9 Enable NXP ENET QOS (Quality of Service) MDIO driver. 10 11if MDIO_NXP_ENET_QOS 12 13config MDIO_NXP_ENET_QOS_RECHECK_COUNT 14 int "Number of times to recheck MDIO transaction status" 15 default 3 16 help 17 Number of times that the driver should recheck the status 18 of an MDIO bus transaction before timing out 19 Timeout time is: 20 CONFIG_MDIO_NXP_ENET_QOS_RECHECK_TIME * CONFIG_MDIO_NXP_ENET_QOS_RECHECK_COUNT 21 22config MDIO_NXP_ENET_QOS_RECHECK_TIME 23 int "Time between rechecks of transaction status (us)" 24 default 100 25 help 26 The amount of time in microseconds that the driver should 27 busy wait between checks of the MDIO transaction status. 28 Timeout time is: 29 CONFIG_MDIO_NXP_ENET_QOS_RECHECK_TIME * CONFIG_MDIO_NXP_ENET_QOS_RECHECK_COUNT 30 31endif 32