regulator: mt6358: Make MT6366 vcn18 LDO configurable
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 28 Sep 2023 08:55:32 +0000 (16:55 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 2 Oct 2023 18:43:48 +0000 (19:43 +0100)
commitb7f3b89848b3bae3b1e3a97e75b82c65a4952cfc
tree842638754ffda19b2dfa5b6b1a9d80c5ba81919c
parent0c3697b8980dd44df05ed77222c09bd8fe729626
regulator: mt6358: Make MT6366 vcn18 LDO configurable

The VCN18 regulator on the MT6366 (only) actually has a wide
configurable range of voltages, even though its name suggests a fixed
output voltage.

Convert it from a fixed LDO to a configurable LDO. Its range of settings
is the same as the VM18 regulator, which is missing and will be added in
a subsequent patch.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230928085537.3246669-10-wenst@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mt6358-regulator.c