summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus/Kconfig
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2023-07-14 15:51:15 +0200
committerGuenter Roeck <linux@roeck-us.net>2023-08-21 06:04:30 -0700
commit88fc1efcd45c3f681740659a1483978e7553ade7 (patch)
tree9a9f07597803af4d60b94719eed9a2b4e128d007 /drivers/hwmon/pmbus/Kconfig
parent5239277ef41086cf4173c62de2fe3dda2cd9c777 (diff)
hwmon: (pmbus/mp2975) Add regulator support
Add support to expose the PMBUS regulator. Tested on MP2973 and MP2971. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com> Link: https://lore.kernel.org/r/20230714135124.2645339-7-Naresh.Solanki@9elements.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus/Kconfig')
-rw-r--r--drivers/hwmon/pmbus/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/hwmon/pmbus/Kconfig b/drivers/hwmon/pmbus/Kconfig
index 270b6336b76d..b4e93bd5835e 100644
--- a/drivers/hwmon/pmbus/Kconfig
+++ b/drivers/hwmon/pmbus/Kconfig
@@ -317,6 +317,13 @@ config SENSORS_MP2975
This driver can also be built as a module. If so, the module will
be called mp2975.
+config SENSORS_MP2975_REGULATOR
+ depends on SENSORS_MP2975 && REGULATOR
+ bool "Regulator support for MPS MP2975"
+ help
+ If you say yes here you get regulator support for MPS MP2975
+ Dual Loop Digital Multi-Phase Controller.
+
config SENSORS_MP5023
tristate "MPS MP5023"
help