Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/2] hwmon: Add Axiado AX3000 TSADC driver
@ 2026-09-03  7:09 Petar Stepanovic
  2026-09-03  7:09 ` [PATCH 1/2] dt-bindings: hwmon: Add Axiado AX3000 TSADC Petar Stepanovic
  2026-09-03  7:09 ` [PATCH 2/2] hwmon: axiado-tsadc: Add AX3000/AX3005 TSADC support Petar Stepanovic
  0 siblings, 2 replies; 6+ messages in thread
From: Petar Stepanovic @ 2026-09-03  7:09 UTC (permalink / raw)
  To: Akhila Kavi, Prasad Bolisetty, Guenter Roeck, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Tzu-Hao Wei,
	Karthikeyan Mitran, Jonathan Corbet, Shuah Khan, Randy Dunlap
  Cc: linux-hwmon, devicetree, linux-arm-kernel, linux-kernel,
	linux-doc, openbmc, Petar Stepanovic

This series adds support for the temperature sensor ADC (TSADC)
controller found on the Axiado AX3000 and AX3005 SoCs. The controller
measures temperature at locations within the SoC silicon die.

AX3005 uses the same programming model as AX3000 and uses
"axiado,ax3000-tsadc" as its fallback compatible.

Each TSADC controller is represented by a separate Devicetree node and
registered as a separate hwmon device exposing one read-only temperature
channel.

The sensor is configured for continuous conversion during probe. 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>
---
Petar Stepanovic (2):
      dt-bindings: hwmon: Add Axiado AX3000 TSADC
      hwmon: axiado-tsadc: Add AX3000/AX3005 TSADC support

 .../bindings/hwmon/axiado,ax3000-tsadc.yaml        |  45 ++++
 Documentation/hwmon/axiado-tsadc.rst               |  41 +++
 Documentation/hwmon/index.rst                      |   1 +
 MAINTAINERS                                        |  10 +
 drivers/hwmon/Kconfig                              |  11 +
 drivers/hwmon/Makefile                             |   1 +
 drivers/hwmon/axiado-tsadc.c                       | 275 +++++++++++++++++++++
 7 files changed, 384 insertions(+)
---
base-commit: 8ce12a5ddf8b86bc5b92c454e85591b1729b78e3
change-id: 20260818-axiado-ax3000-tsadc-9e8bc95bf87a

Best regards,
--  
Petar Stepanovic <pstepanovic@axiado.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-03 17:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-03  7:09 [PATCH 0/2] hwmon: Add Axiado AX3000 TSADC driver Petar Stepanovic
2026-09-03  7:09 ` [PATCH 1/2] dt-bindings: hwmon: Add Axiado AX3000 TSADC Petar Stepanovic
2026-09-03  7:14   ` sashiko-bot
2026-09-03 17:43   ` Conor Dooley
2026-09-03  7:09 ` [PATCH 2/2] hwmon: axiado-tsadc: Add AX3000/AX3005 TSADC support Petar Stepanovic
2026-09-03  7:15   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox