Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: arizona: Split KConfig options for LDO1 and MICSUPP regulators

The CS47L24 Arizona codec and most Madera codecs do not have a LDO1
regulator. Split the LDO1 and MICSUPP regulators into separate KConfig
options so the LDO1 is only built into the kernel if needed.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Richard Fitzgerald and committed by
Mark Brown
7e642596 9095bf25

+13 -4
+11 -3
drivers/regulator/Kconfig
··· 125 125 This driver supports the regulators found on the ST-Ericsson mixed 126 126 signal AB8500 PMIC 127 127 128 - config REGULATOR_ARIZONA 129 - tristate "Wolfson Arizona class devices" 128 + config REGULATOR_ARIZONA_LDO1 129 + tristate "Wolfson Arizona class devices LDO1" 130 130 depends on MFD_ARIZONA 131 131 depends on SND_SOC 132 132 help 133 - Support for the regulators found on Wolfson Arizona class 133 + Support for the LDO1 regulators found on Wolfson Arizona class 134 + devices. 135 + 136 + config REGULATOR_ARIZONA_MICSUPP 137 + tristate "Wolfson Arizona class devices MICSUPP" 138 + depends on MFD_ARIZONA 139 + depends on SND_SOC 140 + help 141 + Support for the MICSUPP regulators found on Wolfson Arizona class 134 142 devices. 135 143 136 144 config REGULATOR_AS3711
+2 -1
drivers/regulator/Makefile
··· 19 19 obj-$(CONFIG_REGULATOR_ACT8945A) += act8945a-regulator.o 20 20 obj-$(CONFIG_REGULATOR_AD5398) += ad5398.o 21 21 obj-$(CONFIG_REGULATOR_ANATOP) += anatop-regulator.o 22 - obj-$(CONFIG_REGULATOR_ARIZONA) += arizona-micsupp.o arizona-ldo1.o 22 + obj-$(CONFIG_REGULATOR_ARIZONA_LDO1) += arizona-ldo1.o 23 + obj-$(CONFIG_REGULATOR_ARIZONA_MICSUPP) += arizona-micsupp.o 23 24 obj-$(CONFIG_REGULATOR_AS3711) += as3711-regulator.o 24 25 obj-$(CONFIG_REGULATOR_AS3722) += as3722-regulator.o 25 26 obj-$(CONFIG_REGULATOR_AXP20X) += axp20x-regulator.o