firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-drivers_regulator_Kco...

27 lines
819 B
Diff

diff -drupN a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
--- a/drivers/regulator/Kconfig 2018-08-06 17:23:04.000000000 +0300
+++ b/drivers/regulator/Kconfig 2022-06-12 05:28:14.000000000 +0300
@@ -151,10 +151,22 @@ config REGULATOR_AS3722
config REGULATOR_AXP20X
tristate "X-POWERS AXP20X PMIC Regulators"
depends on MFD_AXP20X
+ select SUNXI_REGULATOR_DT
help
This driver provides support for the voltage regulators on the
AXP20X PMIC.
+config REGULATOR_AXP2101
+ tristate "X-POWERS AXP2101 PMIC Regulators"
+ depends on MFD_AXP2101
+ select SUNXI_REGULATOR_DT
+ help
+ This driver provides support for the voltage regulators on the
+ AXP2101 PMIC.
+
+config SUNXI_REGULATOR_DT
+ bool
+
config REGULATOR_BCM590XX
tristate "Broadcom BCM590xx PMU Regulators"
depends on MFD_BCM590XX