]> git.ipfire.org Git - thirdparty/linux.git/commit
hwmon: (ina238) Add support for INA700
authorGuenter Roeck <linux@roeck-us.net>
Mon, 1 Sep 2025 00:54:16 +0000 (17:54 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 7 Sep 2025 23:35:12 +0000 (16:35 -0700)
commit273bfedc003c40bb0fb471841c62f4fc7063be83
tree81450a3c5261f68f5f348a2b7ef21d15621d6319
parent7942ca9a475115b9668e53c2d9cfb57a51d62e04
hwmon: (ina238) Add support for INA700

INA700 is register compatible to INA780 but has different current, power,
and energy LSB values.

While the chip does not directly report the shunt voltage, report
it anyway by calculating its value from the current register.

Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> # INA780
Cc: Christian Kahr <christian.kahr@sie.at>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/ina238.rst
drivers/hwmon/Kconfig
drivers/hwmon/ina238.c