aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus/Kconfig
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2021-12-13 15:28:14 +0100
committerGuenter Roeck <linux@roeck-us.net>2021-12-26 15:02:07 -0800
commit0ee7f624263e6492b5e541c86b0fc716349da7bf (patch)
treee5c6239e81d579f716115244a87621ff5f022fdb /drivers/hwmon/pmbus/Kconfig
parenthwmon/pmbus: (ir38064) Add of_match_table (diff)
downloadlinux-dev-0ee7f624263e6492b5e541c86b0fc716349da7bf.tar.xz
linux-dev-0ee7f624263e6492b5e541c86b0fc716349da7bf.zip
hwmon/pmbus: (ir38064) Expose a regulator
The chip series supported by this driver are voltage regulators, so expose them to the regulator subsystem. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Link: https://lore.kernel.org/r/20211213142814.264802-4-arthur.heymans@9elements.com [groeck: Added brief patch description] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus/Kconfig')
-rw-r--r--drivers/hwmon/pmbus/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/hwmon/pmbus/Kconfig b/drivers/hwmon/pmbus/Kconfig
index 793edf072325..41f6cbf96d3b 100644
--- a/drivers/hwmon/pmbus/Kconfig
+++ b/drivers/hwmon/pmbus/Kconfig
@@ -141,6 +141,12 @@ config SENSORS_IR38064
This driver can also be built as a module. If so, the module will
be called ir38064.
+config SENSORS_IR38064_REGULATOR
+ bool "Regulator support for IR38064 and compatibles"
+ depends on SENSORS_IR38064 && REGULATOR
+ help
+ Uses the IR38064 or compatible as regulator.
+
config SENSORS_IRPS5401
tristate "Infineon IRPS5401"
help