summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2025-08-31 17:54:16 -0700
committerGuenter Roeck <linux@roeck-us.net>2025-09-07 16:35:12 -0700
commit273bfedc003c40bb0fb471841c62f4fc7063be83 (patch)
tree81450a3c5261f68f5f348a2b7ef21d15621d6319 /rust/helpers/helpers.c
parent7942ca9a475115b9668e53c2d9cfb57a51d62e04 (diff)
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>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions