diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 9d80b2a9550e..dc9d3f604ee8 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -1305,5 +1305,11 @@ config REGULATOR_QCOM_LABIBB boost regulator and IBB can be used as a negative boost regulator for LCD display panel. +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 4b234a18b0d5..17e3300e71d5 100644 --- a/drivers/regulator/Makefile +++ b/drivers/regulator/Makefile @@ -160,5 +160,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