hwmon: (pmbus/ltc2978) add support for lt717x
authorKim Seer Paller <kimseer.paller@analog.com>
Mon, 17 Mar 2025 05:02:27 +0000 (13:02 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 17 Mar 2025 15:05:08 +0000 (08:05 -0700)
commitc1d6afdbb8ed0ef9291c21214e0a11cc91f65c7f
tree0ae87f8d7a1c39c73b568b51b7a4e1d4889b3c87
parent156c6ebbab10e1eecc78403029a69d60dd8073bf
hwmon: (pmbus/ltc2978) add support for lt717x

Add support for LT7170 and LT7171. The LT7170 and LT7171 are 20 A, 16 V,
Single- or Dual-Phase, Silent Switcher Step-Down Regulators with Digital
Power System Management.

The relevant registers in the LT7170 and LT7171 are similar to those in
the LTC3887, but with fewer channels. This adds the chip ID and
identification of ASCII to differentiate between the LT7170 and LT7171.
These devices support polling for status updates and clearing peak
values. The data format for voltage, current, and temperature is set to
IEEE754 for precision and compatibility.

Co-developed-by: Cherrence Sarip <cherrence.sarip@analog.com>
Signed-off-by: Cherrence Sarip <cherrence.sarip@analog.com>
Signed-off-by: Kim Seer Paller <kimseer.paller@analog.com>
Link: https://lore.kernel.org/r/20250317-hwmon-next-v1-3-da0218c38197@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/Kconfig
drivers/hwmon/pmbus/ltc2978.c