You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/08/06 07:31:33 UTC

[incubator-nuttx] 04/10: imxrt:Kconfig add IMXRT_PHY_POLLING

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 6a2c1fb1deea295e3d74a5fc6ed9b6c836d6da28
Author: David Sidrane <Da...@NscDg.com>
AuthorDate: Tue Jun 21 10:33:55 2022 -0700

    imxrt:Kconfig add IMXRT_PHY_POLLING
---
 arch/arm/src/imxrt/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/src/imxrt/Kconfig b/arch/arm/src/imxrt/Kconfig
index d0f41f5484..4b7c010a9e 100644
--- a/arch/arm/src/imxrt/Kconfig
+++ b/arch/arm/src/imxrt/Kconfig
@@ -1409,6 +1409,16 @@ config IMXRT_ENET_PHYINIT
 		imxrt_phy_boardinitialize();  The i.MXRT ENET driver will call this
 		function one time before it first uses the PHY.
 
+config IMXRT_PHY_POLLING
+	bool "Support network monitoring by poling the PHY"
+	default n
+	depends on IMXRT_ENET
+	select ARCH_PHY_POLLED
+	---help---
+		Some boards may not have an interrupt connected to the PHY.
+		This option allows the network monitor to be used by polling the
+		the PHY for status.
+
 endmenu # IMXRT_ENET
 
 menu "Memory Configuration"