aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorOndrej Jirman <megous@megous.com>2018-05-07 20:29:41 +0800
committerMark Brown <broonie@kernel.org>2018-05-09 18:25:06 +0900
commit8878302ebbc580d64f390c0acc509e5e8276598c (patch)
tree461c48fca9680fd04b88a0e8ca7e0d1cfa1c2077 /drivers/regulator/Kconfig
parentregulator: add binding for the SY8106A voltage regulator (diff)
downloadwireguard-linux-8878302ebbc580d64f390c0acc509e5e8276598c.tar.xz
wireguard-linux-8878302ebbc580d64f390c0acc509e5e8276598c.zip
regulator: add support for SY8106A regulator
SY8106A is an I2C attached single output regulator made by Silergy Corp, which is used on several Allwinner H3/H5 SBCs to control the power supply of the ARM cores. Add a driver for it. Signed-off-by: Ondrej Jirman <megous@megous.com> [Icenowy: Change commit message, remove enable/disable code, add default ramp_delay, add comment for go bit, add code for fixed mode voltage] Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r--drivers/regulator/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 097f61784a7d..4efae3b7e746 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -801,6 +801,13 @@ config REGULATOR_STW481X_VMMC
This driver supports the internal VMMC regulator in the STw481x
PMIC chips.
+config REGULATOR_SY8106A
+ tristate "Silergy SY8106A regulator"
+ depends on I2C && (OF || COMPILE_TEST)
+ select REGMAP_I2C
+ help
+ This driver supports SY8106A single output regulator.
+
config REGULATOR_TPS51632
tristate "TI TPS51632 Power Regulator"
depends on I2C