[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260128133842.1173406-3-ht@twx-software.de>
Date: Wed, 28 Jan 2026 14:38:32 +0100
From: Heinrich Toews <ht@...-software.de>
To: netdev@...r.kernel.org
Cc: andrew@...n.ch,
f.fainelli@...il.com,
olteanv@...il.com,
robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org
Subject: [PATCH v1 2/3] net: phy: micrel: add flag for KSZ9477 LED erratum
Add a new flag MICREL_KSZ9_LED_ERRATA to indicate support for a specific
LED erratum workaround on Microchip KSZ9477 switches. This flag
will be used by the DSA driver to trigger a hardware-specific register
write required for correct LED activity in single-LED mode.
Signed-off-by: Heinrich Toews <ht@...-software.de>
---
include/linux/micrel_phy.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/micrel_phy.h b/include/linux/micrel_phy.h
index ca691641788b8..1dcbb0c93d9e1 100644
--- a/include/linux/micrel_phy.h
+++ b/include/linux/micrel_phy.h
@@ -45,6 +45,7 @@
#define MICREL_PHY_50MHZ_CLK BIT(0)
#define MICREL_PHY_FXEN BIT(1)
#define MICREL_KSZ8_P1_ERRATA BIT(2)
+#define MICREL_KSZ9_LED_ERRATA BIT(3)
#define MICREL_KSZ9021_EXTREG_CTRL 0xB
#define MICREL_KSZ9021_EXTREG_DATA_WRITE 0xC
--
2.52.0
Powered by blists - more mailing lists