diff options
author | Richard Leitner <richard.leitner@linux.dev> | 2023-10-26 09:08:49 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-10-28 09:21:59 -0700 |
commit | 2358151bfb304aedda44348384557c161151bf57 (patch) | |
tree | 58c13b81d67e296d90156bc7cebb289544561624 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b1f05cb4b310a8b8a48a1fac50fd76aeed30aa54 (diff) |
hwmon: (ina238) add ina237 support
The INA237 "85-V, 16-Bit, Precision Power Monitor With I2C Interface" is
basically the same as INA328. Therefore add a corresponding compatible
to the driver.
According to the datasheet the main difference is the current and power
monitoring accuracy:
+------------------------+---------------+---------------+
| | INA238 | INA237 |
+------------------------+---------------+---------------+
| Offset voltage | +/- 5µV | +/- 50µV |
| Offset drift | +/- 0.02µV/°C | +/- 0.02µV/°C |
| Gain error | +/- 0.1% | +/- 0.3% |
| Gain error drift | +/- 25ppm/°C | +/- 50ppm/°C |
| Common mode rejection | 140dB | 120dB |
| Power accuracy | 0.7% | 1.6% |
+------------------------+---------------+---------------+
As well as the missing DEVICE_ID register at 0x3F, which is currently
not in use by the driver.
Signed-off-by: Richard Leitner <richard.leitner@linux.dev>
Link: https://lore.kernel.org/r/20231026-ina237-v2-1-dec44811a3c9@linux.dev
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions