regulator: mt6358: Add supply names for MT6366 regulators
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 28 Sep 2023 08:55:34 +0000 (16:55 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 2 Oct 2023 18:43:50 +0000 (19:43 +0100)
commitce8ab92e66ccc99591b9cbb6630d720d5e6ad6ec
treedd08dc35696c07f063c129be825094c992896f7b
parentb7768e67af9a5b6d6101cbfc146969fedf8df4be
regulator: mt6358: Add supply names for MT6366 regulators

The DT bindings for MT6366 regulator defines the supply names for the
PMIC.

Add support for them by adding .supply_name field settings for each
regulator. The buck regulators each have their own supply whose name
can be derived from the regulator name. The LDOs have shared supplies.

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-12-wenst@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mt6358-regulator.c