Pārlūkot izejas kodu

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17318
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit 4892ea9a74da8cf934dc534665c3689d2139507b)
Lorenz Brun 10 mēneši atpakaļ
vecāks
revīzija
b2a172170c
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      target/linux/octeon/config-6.6

+ 2 - 0
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