diff options
author | Guenter Roeck <linux@roeck-us.net> | 2025-08-31 09:39:53 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2025-09-07 16:35:03 -0700 |
commit | 248fd3b96d08c2a5736ca8395470544f23fe1f5c (patch) | |
tree | 8e0abb01cd006428782dee5a3db4ea8809b9e459 /rust/helpers | |
parent | d153106bd4fd63eb8d3557277a3d4ee5dbbed3b0 (diff) |
hwmon: (ina238) Add support for INA780
INA780 is similar to the other chips in the series, but does not
support the shunt voltage register. Shunt voltage limit registers
have been renamed to current limit registers, but are otherwise
identical.
While the chip does not directly report the shunt voltage, report
it anyway by calculating its value from the current register.
Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> # INA780
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions