Skip to content

Commit 6f7a71f

Browse files
AngeloGioacchino Del Regnobroonie
authored andcommitted
regulator: Add driver for MT6331 PMIC regulators
Add a driver for the regulators found in the MT6331 PMIC. This PMIC features six buck and 21 Low DropOut (LDO) regulators. Signed-off-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 6385e21 commit 6f7a71f

File tree

4 files changed

+563
-0
lines changed

4 files changed

+563
-0
lines changed

drivers/regulator/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,15 @@ config REGULATOR_MT6323
787787
This driver supports the control of different power rails of device
788788
through regulator interface.
789789

790+
config REGULATOR_MT6331
791+
tristate "MediaTek MT6331 PMIC"
792+
depends on MFD_MT6397
793+
help
794+
Say y here to select this option to enable the power regulator of
795+
MediaTek MT6331 PMIC.
796+
This driver supports the control of different power rails of device
797+
through regulator interface
798+
790799
config REGULATOR_MT6358
791800
tristate "MediaTek MT6358 PMIC"
792801
depends on MFD_MT6397

drivers/regulator/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ obj-$(CONFIG_REGULATOR_MPQ7920) += mpq7920.o
9595
obj-$(CONFIG_REGULATOR_MT6311) += mt6311-regulator.o
9696
obj-$(CONFIG_REGULATOR_MT6315) += mt6315-regulator.o
9797
obj-$(CONFIG_REGULATOR_MT6323) += mt6323-regulator.o
98+
obj-$(CONFIG_REGULATOR_MT6331) += mt6331-regulator.o
9899
obj-$(CONFIG_REGULATOR_MT6358) += mt6358-regulator.o
99100
obj-$(CONFIG_REGULATOR_MT6359) += mt6359-regulator.o
100101
obj-$(CONFIG_REGULATOR_MT6360) += mt6360-regulator.o

0 commit comments

Comments
 (0)