]> 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)
commitf198c499a5c5fc62f1f3d74355bd3b80418c8625
treeb23f9de27805334c95a5c6ed3007247e04a1dea9
parent483dbe691c816ab69230fa05b2ad5ed764b4948b
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 81b63942a916
("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