regulator: rtq2208: Fix LDO discharge register and add vsel setting
authorAlina Yu <alina_yu@richtek.com>
Tue, 30 Apr 2024 09:58:24 +0000 (17:58 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 1 May 2024 14:14:29 +0000 (23:14 +0900)
commit38bcec0e7cbbd6566c12ae4f2b7a48bd50cd215c
treee95bd7a948680ab6249b87172f1624e895703f33
parentb6d4b3500d57370f5b3abf0701c9166b384db976
regulator: rtq2208: Fix LDO discharge register and add vsel setting

The LDO's Vout is adjustable if the hardware setting allows it,
and it can be set either 1800mv or 3300mv.
Additionally, the discharge register has been moved to another position.

Signed-off-by: Alina Yu <alina_yu@richtek.com>
Link: https://lore.kernel.org/r/5d56b79c94de63fc86b5a70b7e374da4240fee8b.1714467553.git.alina_yu@richtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rtq2208-regulator.c