]> git.ipfire.org Git - thirdparty/linux.git/commit
hwmon: (ina2xx) Add support for INA260
authorGuenter Roeck <linux@roeck-us.net>
Tue, 27 Aug 2024 17:23:10 +0000 (10:23 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 10 Nov 2024 22:48:06 +0000 (14:48 -0800)
commit70fb84a109c639637f0636281dbdb21ed8ffb000
tree0d56d07f25a91b8f7116dfc13764f39c0ad8b020
parentde0da6ae1908b43b23782d64b4564b5ca3119f7f
hwmon: (ina2xx) Add support for INA260

INA260 is similar to other chips of the series, except it has an internal
shunt resistor. The calibration register is therefore not present. Also,
the current register address was changed, though that does not matter for
the driver since the shunt voltage register (which is now the current
register) value is already used to read the current.

Cc: Loic Guegan <loic.guegan@mailbox.org>
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/ina2xx.rst
drivers/hwmon/Kconfig
drivers/hwmon/ina2xx.c