diff options
| author | Petar Stepanovic <pstepanovic@axiado.com> | 2026-09-03 00:09:48 -0700 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-10-18 09:35:07 -0700 |
| commit | 2f312a9d6dab5fafdf5ba3d86d178a2b5734e0fe (patch) | |
| tree | 9ff5cbf83fcb2e7366db3c0de926ad623a50e17c /tools/perf/scripts/python/stackcollapse.py | |
| parent | a0d99d6bf5eb3455ce14c7cfc607ae94a858ea0c (diff) | |
| download | linux-2f312a9d6dab5fafdf5ba3d86d178a2b5734e0fe.tar.gz linux-2f312a9d6dab5fafdf5ba3d86d178a2b5734e0fe.zip | |
hwmon: Add driver for AX3000/AX3005 TSADC
Add a hwmon driver for the temperature sensor ADC (TSADC) controller
found on Axiado AX3000 and AX3005 SoCs. The controller measures
temperature at locations within the SoC silicon die.
Each TSADC controller is registered as a separate hwmon device and
exposes one read-only temperature channel. The sensor is configured for
continuous conversion during probe.
The current TSADC hardware does not support threshold or alarm reporting.
All TSADC interrupt sources are masked during initialization, and only
the current temperature is exposed through temp1_input.
The averaged 12-bit ADC code is converted to millidegrees Celsius using
a lookup table with linear interpolation between adjacent entries. Raw
values outside the characterized lookup-table range are clamped to the
nearest supported temperature.
Signed-off-by: Petar Stepanovic <pstepanovic@axiado.com>
Link: https://patch.msgid.link/20260903-axiado-ax3000-tsadc-v1-2-a8a0f3b251f5@axiado.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
