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>
Sat, 5 Feb 2022 18:01:34 +0000 (10:01 -0800)
commitc8fefd8725698935cd5e2e2320551942a017d73c
treee4c06f43a2534bee5d819793269c738153560396
parent3e27150cd65b57e097cbcf29f2dfca089a1fca51
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