diff options
author | Ondrej Jirman <megous@megous.com> | 2018-05-07 15:29:41 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-09 12:25:06 +0300 |
commit | 8878302ebbc580d64f390c0acc509e5e8276598c (patch) | |
tree | 461c48fca9680fd04b88a0e8ca7e0d1cfa1c2077 /drivers/regulator/Kconfig | |
parent | 32aba834f2a9fe126ff5e624371113ac1defa06e (diff) | |
download | linux-8878302ebbc580d64f390c0acc509e5e8276598c.tar.xz |
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/Kconfig | 7 |
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 |