From: Lorenz Brun Date: Fri, 20 Dec 2024 22:37:01 +0000 (+0100) Subject: octeon: enable AT803x PHY driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4892ea9a74da8cf934dc534665c3689d2139507b;p=openwrt%2Fstaging%2Fblocktrron.git 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 Link: https://github.com/openwrt/openwrt/pull/17318 Signed-off-by: Robert Marko --- 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