[openwrt/openwrt] octeon: enable AT803x PHY driver
LEDE Commits
lede-commits at lists.infradead.org
Sat Dec 21 01:07:44 PST 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4892ea9a74da8cf934dc534665c3689d2139507b
commit 4892ea9a74da8cf934dc534665c3689d2139507b
Author: Lorenz Brun <lorenz at brun.one>
AuthorDate: Fri Dec 20 23:37:01 2024 +0100
octeon: enable AT803x PHY driver
The AR8035 PHY is used in most Octeon boards supported by OpenWRT (all
the Ubiquiti routers at least). To be able to use its PHY-specific
functionality (cable testing, LED Control, ...) it should be built on
Octeon. It also needs the regulator framework, so enable that as well.
These boards are not space-constrained, so this really has no downsides.
Tested on an EdgeRouter Lite, cable tests now work with ethtool-full.
Signed-off-by: Lorenz Brun <lorenz at brun.one>
Link: https://github.com/openwrt/openwrt/pull/17318
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/octeon/config-6.6 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/linux/octeon/config-6.6 b/target/linux/octeon/config-6.6
index cc2dadbe9c..5cae2a8821 100644
--- a/target/linux/octeon/config-6.6
+++ b/target/linux/octeon/config-6.6
@@ -9,6 +9,7 @@ CONFIG_ARCH_MMAP_RND_BITS_MIN=12
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=15
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_AT803X_PHY=y
CONFIG_ATA=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_SD=y
@@ -216,6 +217,7 @@ CONFIG_QUEUED_RWLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
CONFIG_RANDSTRUCT_NONE=y
CONFIG_RAS=y
+CONFIG_REGULATOR=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_RELAY=y
More information about the lede-commits
mailing list