summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/sy8106a-regulator.c
Commit message (Collapse)AuthorAgeFilesLines
* regulator: sy8106a: Get rid of struct sy8106aAxel Lin2019-04-261-27/+13Star
| | | | | | | | All the fields in struct sy8106a are only used in sy8106a_i2c_probe(), so use local variables instead. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
* regulator: add support for SY8106A regulatorOndrej Jirman2018-05-091-0/+167
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>