summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Brun2024-12-20 22:37:01 +0000
committerHauke Mehrtens2024-12-22 17:01:40 +0000
commitb2a172170cef446d220656464fea5ccf3c6cc69b (patch)
tree5281d9a50b426255b2d3e6f75584d33693c4f578
parent81c0cf031e06967972aec4c96ccba14e90b8b6c2 (diff)
downloadopenwrt-b2a172170cef446d220656464fea5ccf3c6cc69b.tar.gz
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@brun.one> Link: https://github.com/openwrt/openwrt/pull/17318 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 4892ea9a74da8cf934dc534665c3689d2139507b)
-rw-r--r--target/linux/octeon/config-6.62
1 files changed, 2 insertions, 0 deletions
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