]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
regulator: act8865: support output voltage by VSET2[] bits
authorWenyou Yang <wenyou.yang@atmel.com>
Wed, 30 Sep 2015 07:25:49 +0000 (15:25 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 2 Oct 2015 16:53:24 +0000 (17:53 +0100)
commitc86dc03e54ce15aac623125d92faac005f94267b
tree54ca87dbb503defe9527d70b6f96a4c3581c07f2
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
regulator: act8865: support output voltage by VSET2[] bits

For the step-down DC/DC regulators, the output voltage is
selectable by setting VSEL pin that when VSEL is low, output
voltage is programmed by VSET1[] bits, and when VSEL is high,
output voltage is programmed by VSET2[] bits.

The DT property "active-semi,vsel-high" is used to specify
the VSEL pin at high on the board.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/act8865-regulator.c