]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: tps65217: Simplify linear range for selector 25-52
authorAxel Lin <axel.lin@ingics.com>
Mon, 4 Mar 2019 04:41:33 +0000 (12:41 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 21 Mar 2019 14:59:24 +0000 (14:59 +0000)
commit4fac5d30035dcd619ae849d4c834a0a73ee8ad54
treeb23f9de27805334c95a5c6ed3007247e04a1dea9
parentc7655f1931945c5dea0a3eca00d68a9f979ae23c
regulator: tps65217: Simplify linear range for selector 25-52

The original code separates the selector 25-52 into 2 ranges on purpose
because DCDC1/DCDC3 only support up to 1.8V/1.5V in the old code.
Both DCDC1 and DCDC3 support up to 3.3V since commit b90ad52dfc45
("regulator: tps65217: Allow DCDC1 and DCDC3 up to 3.3V"), so merge
25-30 and 31-52 ranges to one range.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/tps65217-regulator.c