developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 1 | From 4ff5fd6b2d7df7b572bce364d6a1853665e378ac Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:06:23 +0800 |
| 4 | Subject: [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 | |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 11 | diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 12 | index 3ee63531f..5c573ced5 100644 |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 13 | --- 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 |
| 32 | diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 33 | index 2210ba56f..bf75b7755 100644 |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 34 | --- 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 | -- |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 45 | 2.34.1 |
developer | 2cdaeb1 | 2022-10-04 20:25:05 +0800 | [diff] [blame] | 46 | |