diff options
| author | Jonas Rebmann <[email protected]> | 2025-07-15 13:02:41 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2025-07-18 16:50:51 +0000 |
| commit | 3e8e93cbb8b0fe67661665a3e7e80642a02884a5 (patch) | |
| tree | d451eda06cf2937826714e8bb7cf91b84aeff095 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | hwmon: (corsair-cpro) Validate the size of the received input buffer (diff) | |
| download | kernel-3e8e93cbb8b0fe67661665a3e7e80642a02884a5.tar.gz kernel-3e8e93cbb8b0fe67661665a3e7e80642a02884a5.zip | |
hwmon: (ina238) Report energy in microjoules
The hwmon sysfs interface specifies that energy values should be
reported in microjoules. This is also what tools such as lmsensors
expect, reporting wrong values otherwise.
Adjust the driver to scale the output accordingly and adjust ina238
driver documentation.
Fixes: 6daaf15a1173 ("hwmon: (ina238) Add support for SQ52206")
Signed-off-by: Jonas Rebmann <[email protected]>
Link: https://lore.kernel.org/r/20250715-hwmon-ina238-microjoules-v1-1-9df678568a41@pengutronix.de
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
