From 1e6c6b812225a7eba18b057abf2f60ff264f8a57 Mon Sep 17 00:00:00 2001 From: Youjun Ai Date: Mon, 6 Jun 2016 23:24:29 +0800 Subject: [PATCH] regulator: xz3216: add driver with xz3216 series of DCDC devices to compile. Change-Id: I5883e142c17a60cbba7e37bd4a9303efb3c867bf Signed-off-by: Youjun Ai --- drivers/regulator/Kconfig | 6 ++++++ drivers/regulator/Makefile | 1 + 2 files changed, 7 insertions(+) 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