]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a2e994b9dc70867e9a9e6deb4d4e38dc79173e9
tree687091bde6e1fe97f7dc2140a86acd4cd0a25648
parent9f630863d703b96fa324c43655ded1d5e6884478
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