commit | e5c8ba0635a81f90f51efd3d9a4c0c404e463d0f | [log] [tgz] |
---|---|---|
author | Christian Hohnstaedt <Christian.Hohnstaedt@wago.com> | Fri Feb 22 09:38:54 2019 +0100 |
committer | Mark Brown <broonie@kernel.org> | Fri Feb 22 15:16:18 2019 +0000 |
tree | 0897ceae42b267efbba4835f9232407c729d7d58 | |
parent | bf1fc259e8a40b9eb059a161db0d6d3d6b8c94e4 [diff] |
regulator: tps65218: Add support for LS2 Re-use the "tps65218_pmic_*_current_limit()" functions of LS3 and calculate the different required bit-shift by counting the trailing 0s in "struct regulator_desc.csel_mask" Signed-off-by: Christian Hohnstaedt <Christian.Hohnstaedt@wago.com> Signed-off-by: Mark Brown <broonie@kernel.org>