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)
commit9f93aa1005fa1b960f10e0ee3ed8c4e697526053
tree312df43ecd874e4dcb99ac8b6c3492a01cbbe478
parent915d4664b7158d8d0f44da810186742c69300f02
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