diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 655747af13c2..1a55a7859a62 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -1025,5 +1025,11 @@ config REGULATOR_WM8994 This driver provides support for the voltage regulators on the WM8994 CODEC. +config REGULATOR_XZ3216 + tristate "Xizhuo XZ3216 voltage regulator" + depends on I2C + help + Support the voltage and current regulators of the XZ321X series of DCDC devices. + endif diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile index f995a85c8302..a34a9f312662 100644 --- a/drivers/regulator/Makefile +++ b/drivers/regulator/Makefile @@ -130,5 +130,6 @@ obj-$(CONFIG_REGULATOR_WM831X) += wm831x-ldo.o obj-$(CONFIG_REGULATOR_WM8350) += wm8350-regulator.o obj-$(CONFIG_REGULATOR_WM8400) += wm8400-regulator.o obj-$(CONFIG_REGULATOR_WM8994) += wm8994-regulator.o +obj-$(CONFIG_REGULATOR_XZ3216) += xz3216.o ccflags-$(CONFIG_REGULATOR_DEBUG) += -DDEBUG