Skip to content

Commit dafc7cd

Browse files
Fabobroonie
authored andcommitted
regulator: add mt6357 regulator
Add regulator driver for the MT6357 PMIC. Signed-off-by: Fabien Parent <fparent@baylibre.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> Link: https://lore.kernel.org/r/20221005-mt6357-support-v7-7-477e60126749@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent b4387db commit dafc7cd

File tree

4 files changed

+514
-0
lines changed

4 files changed

+514
-0
lines changed

drivers/regulator/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,15 @@ config REGULATOR_MT6332
805805
This driver supports the control of different power rails of device
806806
through regulator interface
807807

808+
config REGULATOR_MT6357
809+
tristate "MediaTek MT6357 PMIC"
810+
depends on MFD_MT6397
811+
help
812+
Say y here to select this option to enable the power regulator of
813+
MediaTek MT6357 PMIC.
814+
This driver supports the control of different power rails of device
815+
through regulator interface.
816+
808817
config REGULATOR_MT6358
809818
tristate "MediaTek MT6358 PMIC"
810819
depends on MFD_MT6397

drivers/regulator/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ obj-$(CONFIG_REGULATOR_MT6315) += mt6315-regulator.o
9797
obj-$(CONFIG_REGULATOR_MT6323) += mt6323-regulator.o
9898
obj-$(CONFIG_REGULATOR_MT6331) += mt6331-regulator.o
9999
obj-$(CONFIG_REGULATOR_MT6332) += mt6332-regulator.o
100+
obj-$(CONFIG_REGULATOR_MT6357) += mt6357-regulator.o
100101
obj-$(CONFIG_REGULATOR_MT6358) += mt6358-regulator.o
101102
obj-$(CONFIG_REGULATOR_MT6359) += mt6359-regulator.o
102103
obj-$(CONFIG_REGULATOR_MT6360) += mt6360-regulator.o

0 commit comments

Comments
 (0)