blob: 0194261b842701a924b714e135f402ebe0488938 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From 4ff5fd6b2d7df7b572bce364d6a1853665e378ac Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:23 +0800
4Subject: [PATCH] [adv-feature][999-2530-add-pmic-config.patch]
5
6---
7 drivers/regulator/Kconfig | 10 ++++++++++
8 drivers/regulator/Makefile | 1 +
9 2 files changed, 11 insertions(+)
10
developer2cdaeb12022-10-04 20:25:05 +080011diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
developer5d148cb2023-06-02 13:08:11 +080012index 3ee63531f..5c573ced5 100644
developer2cdaeb12022-10-04 20:25:05 +080013--- a/drivers/regulator/Kconfig
14+++ b/drivers/regulator/Kconfig
15@@ -798,6 +798,16 @@ config REGULATOR_RT5033
16 RT5033 PMIC. The device supports multiple regulators like
17 current source, LDO and Buck.
18
19+config REGULATOR_RT5190A
20+ tristate "Richtek RT5190A PMIC"
21+ depends on I2C
22+ select REGMAP_I2C
23+ help
24+ This add support for voltage regulator in Ritchtek RT5190A PMIC.
25+ It integrates 1 channel buck controller, 3 channels high efficiency
26+ buck converters, 1 LDO, mute AC OFF depop function, with the general
27+ I2C control interface.
28+
29 config REGULATOR_S2MPA01
30 tristate "Samsung S2MPA01 voltage regulator"
31 depends on MFD_SEC_CORE
32diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile
developer5d148cb2023-06-02 13:08:11 +080033index 2210ba56f..bf75b7755 100644
developer2cdaeb12022-10-04 20:25:05 +080034--- a/drivers/regulator/Makefile
35+++ b/drivers/regulator/Makefile
36@@ -100,6 +100,7 @@ obj-$(CONFIG_REGULATOR_RC5T583) += rc5t583-regulator.o
37 obj-$(CONFIG_REGULATOR_RK808) += rk808-regulator.o
38 obj-$(CONFIG_REGULATOR_RN5T618) += rn5t618-regulator.o
39 obj-$(CONFIG_REGULATOR_RT5033) += rt5033-regulator.o
40+obj-$(CONFIG_REGULATOR_RT5190A) += rt5190a-regulator.o
41 obj-$(CONFIG_REGULATOR_S2MPA01) += s2mpa01.o
42 obj-$(CONFIG_REGULATOR_S2MPS11) += s2mps11.o
43 obj-$(CONFIG_REGULATOR_S5M8767) += s5m8767.o
44--
developer5d148cb2023-06-02 13:08:11 +0800452.34.1
developer2cdaeb12022-10-04 20:25:05 +080046