regulator: mt6358: Add missing regulators for MT6366
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 28 Sep 2023 08:55:33 +0000 (16:55 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 2 Oct 2023 18:43:49 +0000 (19:43 +0100)
commitb7768e67af9a5b6d6101cbfc146969fedf8df4be
tree9b2394f43b5aba91f037e2ad0e815a6ce04e5d9d
parentb7f3b89848b3bae3b1e3a97e75b82c65a4952cfc
regulator: mt6358: Add missing regulators for MT6366

When support for the MT6366 PMIC regulators was added, it was assumed
that it had the same functionality as MT6358. In reality there are
differences. A few regulators have different ranges, or were renamed
and repurposed, or removed altogether.

Add the 3 regulators that were missing from the original submission.
These are added for completeness. VSRAM_CORE is not used in existing
projects. VM18 and VMDDR feed DRAM related consumers, and are not used
in-kernel.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230928085537.3246669-11-wenst@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mt6358-regulator.c
include/linux/mfd/mt6358/registers.h
include/linux/regulator/mt6358-regulator.h