commit | 18e4b55fbd2069cee51ef9660b35c65ec13bee6d | [log] [tgz] |
---|---|---|
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | Fri Sep 14 11:31:36 2018 +0300 |
committer | Mark Brown <broonie@kernel.org> | Fri Sep 28 14:57:03 2018 +0100 |
tree | 69c0b9d3796c30651bb669bd40cbd81ec9b3ad30 | |
parent | 01e17e5d8004f53044c6c9062e04ca118c420512 [diff] |
regulator: Support regulators where voltage ranges are selectable For example ROHM BD71837 and ROHM BD71847 Power management ICs have regulators which provide multiple linear ranges. Ranges can be selected by individual non contagious bit in vsel register. Add regmap helper functions for selecting ranges. Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Signed-off-by: Mark Brown <broonie@kernel.org>