summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicolai Buchwitz <nb@tipi-net.de>2026-04-06 09:13:08 +0200
committerJakub Kicinski <kuba@kernel.org>2026-04-12 11:33:23 -0700
commitbcb3e89fc0ecbe7a2b7ce614b72deda39083ac74 (patch)
tree3ddae05d5a260679def79cd1ba7895a0e70704a1 /include
parent7ef629b458018ed01dcab6cbdc644ef26b0d0d83 (diff)
net: phy: broadcom: implement .disable_autonomous_eee for BCM54xx
Implement the .disable_autonomous_eee callback for the BCM54210E. In AutogrEEEn mode the PHY manages EEE autonomously. Clearing the AutogrEEEn enable bit in MII_BUF_CNTL_0 switches the PHY to Native EEE mode. Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://patch.msgid.link/20260406-devel-autonomous-eee-v1-2-b335e7143711@tipi-net.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/brcmphy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h
index 115a964f30069..174687c4c80a8 100644
--- a/include/linux/brcmphy.h
+++ b/include/linux/brcmphy.h
@@ -266,6 +266,9 @@
#define BCM54XX_TOP_MISC_IDDQ_SD (1 << 2)
#define BCM54XX_TOP_MISC_IDDQ_SR (1 << 3)
+#define BCM54XX_TOP_MISC_MII_BUF_CNTL0 (MII_BCM54XX_EXP_SEL_TOP + 0x00)
+#define BCM54XX_MII_BUF_CNTL0_AUTOGREEEN_EN BIT(0)
+
#define BCM54XX_TOP_MISC_LED_CTL (MII_BCM54XX_EXP_SEL_TOP + 0x0C)
#define BCM54XX_LED4_SEL_INTR BIT(1)