]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (powr1220) Add support for Lattice's POWR1014 power manager IC
authorMichael Shych <michaelsh@nvidia.com>
Tue, 18 Jan 2022 07:56:11 +0000 (09:56 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:17 +0000 (17:03 -0800)
commit5b3d5b7e25b2be15cdd3d771f71889ae673a6ac2
tree312df43ecd874e4dcb99ac8b6c3492a01cbbe478
parent637089bdc803a5bb469b5d115844d5ba394ac46e
hwmon: (powr1220) Add support for Lattice's POWR1014 power manager IC

This patch adds support for Lattice's POWR1014 power manager IC.
Read access to all the ADCs on the chip are supported through
the "hwmon" "sysfs" files.

The main differences of POWR1014 compared to POWR1220 are
amount of VMON input lines: 10 on POWR1014 and 12 lines on POWR1220 and
number of output control signals: 14 on POWR1014 and 20 on POWR1220.

Signed-off-by: Michael Shych <michaelsh@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20220118075611.10665-4-michaelsh@nvidia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/powr1220.c