From: David Bauer Date: Sun, 21 Feb 2021 22:41:53 +0000 (+0100) Subject: ath79: enable Regulator support for target X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2a26cb51fe7a08a932951e4b616b74b8df39a4e6;p=openwrt%2Fstaging%2Fthess.git ath79: enable Regulator support for target Regulator support was enabled on all subtargets except for ath79-nand. With Kernel 5.10, AT803x requires Regulator support, thus enabling on the complete target, as ath79-nand requires AT803x. While this is only required on Kernel 5.10, enable it also on 5.4. We have no major size-constraint, so enabling it on 5.4 allows us to clean up the occurences in the subtarget configuration. Signed-off-by: David Bauer --- diff --git a/target/linux/ath79/config-5.10 b/target/linux/ath79/config-5.10 index 4ea93d0837..48ed6c7300 100644 --- a/target/linux/ath79/config-5.10 +++ b/target/linux/ath79/config-5.10 @@ -162,6 +162,7 @@ CONFIG_PINCTRL=y CONFIG_RATIONAL=y CONFIG_REGMAP=y CONFIG_REGMAP_MMIO=y +CONFIG_REGULATOR=y CONFIG_RESET_ATH79=y CONFIG_RESET_CONTROLLER=y CONFIG_SERIAL_8250_NR_UARTS=1 diff --git a/target/linux/ath79/config-5.4 b/target/linux/ath79/config-5.4 index 25c3a08e69..b39d5ec964 100644 --- a/target/linux/ath79/config-5.4 +++ b/target/linux/ath79/config-5.4 @@ -211,6 +211,7 @@ CONFIG_PINCTRL=y CONFIG_RATIONAL=y CONFIG_REGMAP=y CONFIG_REGMAP_MMIO=y +CONFIG_REGULATOR=y CONFIG_RESET_ATH79=y CONFIG_RESET_CONTROLLER=y CONFIG_SERIAL_8250_NR_UARTS=1 diff --git a/target/linux/ath79/generic/config-default b/target/linux/ath79/generic/config-default index d9a52af7a0..0ac756642f 100644 --- a/target/linux/ath79/generic/config-default +++ b/target/linux/ath79/generic/config-default @@ -18,7 +18,6 @@ CONFIG_MTD_REDBOOT_PARTS=y CONFIG_MTD_SPLIT_EVA_FW=y CONFIG_PHY_AR7100_USB=y CONFIG_PHY_AR7200_USB=y -CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_RTL8366RB_PHY=y CONFIG_RTL8366S_PHY=y diff --git a/target/linux/ath79/mikrotik/config-default b/target/linux/ath79/mikrotik/config-default index f713fc36cf..c70ae75b01 100644 --- a/target/linux/ath79/mikrotik/config-default +++ b/target/linux/ath79/mikrotik/config-default @@ -28,7 +28,6 @@ CONFIG_NET_SWITCHDEV=y CONFIG_PCI_AR71XX=y CONFIG_PHY_AR7100_USB=y CONFIG_PHY_AR7200_USB=y -CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_SPI_RB4XX=y CONFIG_UBIFS_FS=y diff --git a/target/linux/ath79/tiny/config-default b/target/linux/ath79/tiny/config-default index 42243cfc48..fbf08eb066 100644 --- a/target/linux/ath79/tiny/config-default +++ b/target/linux/ath79/tiny/config-default @@ -9,5 +9,4 @@ CONFIG_NET_SWITCHDEV=y CONFIG_PHYLINK=y CONFIG_PHY_AR7100_USB=y CONFIG_PHY_AR7200_USB=y -CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y