diff options
author | Zev Weiss <zev@bewilderbeest.net> | 2022-02-18 16:07:42 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-02-27 17:03:18 -0800 |
commit | da78ad2b6b9b7308c5835428442fef8d73cea2e3 (patch) | |
tree | 687091bde6e1fe97f7dc2140a86acd4cd0a25648 /drivers/hwmon/pmbus/Kconfig | |
parent | e0f0307ac16fe69c6f9dcc8d14b532bc608fc989 (diff) | |
download | linux-da78ad2b6b9b7308c5835428442fef8d73cea2e3.tar.bz2 |
hwmon: (pmbus/lm25066) Add regulator support
While these chips aren't strictly advertised as voltage regulators per
se, they (aside from the lm25056) support the PMBus OPERATION command
to enable and disable their outputs and have status bits for reporting
various warnings and faults, and can hence usefully support all the
pmbus_regulator_ops operations.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Link: https://lore.kernel.org/r/20220219000742.20126-1-zev@bewilderbeest.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus/Kconfig')
-rw-r--r-- | drivers/hwmon/pmbus/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/hwmon/pmbus/Kconfig b/drivers/hwmon/pmbus/Kconfig index c96f7b7338bd..c73aa50c7615 100644 --- a/drivers/hwmon/pmbus/Kconfig +++ b/drivers/hwmon/pmbus/Kconfig @@ -174,6 +174,13 @@ config SENSORS_LM25066 This driver can also be built as a module. If so, the module will be called lm25066. +config SENSORS_LM25066_REGULATOR + bool "Regulator support for LM25066 and compatibles" + depends on SENSORS_LM25066 && REGULATOR + help + If you say yes here you get regulator support for National + Semiconductor LM25066, LM5064, and LM5066. + config SENSORS_LTC2978 tristate "Linear Technologies LTC2978 and compatibles" help |