hwmon: (pmbus/lm25066) Add regulator support
authorZev Weiss <zev@bewilderbeest.net>
Sat, 19 Feb 2022 00:07:42 +0000 (16:07 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:18 +0000 (17:03 -0800)
commitda78ad2b6b9b7308c5835428442fef8d73cea2e3
tree687091bde6e1fe97f7dc2140a86acd4cd0a25648
parente0f0307ac16fe69c6f9dcc8d14b532bc608fc989
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>
drivers/hwmon/pmbus/Kconfig
drivers/hwmon/pmbus/lm25066.c