[PATCH v2 0/2] thermal: thermal-generic-adc: add temp sensor function

From: Svyatoslav Ryhel
Date: Wed Feb 19 2025 - 03:29:08 EST


Add IIO sensor cell to thermal-generic-adc, which would benefit
devices that use adc sensors to detect temperature and need a
custom conversion table.

---
Changes on switching from v1 to v2:
- documented #iio-channel-cells property
- switched to IIO_CHAN_INFO_PROCESSED
---

Svyatoslav Ryhel (2):
dt-bindings: thermal: generic-adc: Add optional io-channel-cells
property
thermal: thermal-generic-adc: add temperature sensor channel

.../bindings/thermal/generic-adc-thermal.yaml | 4 ++
drivers/thermal/thermal-generic-adc.c | 54 ++++++++++++++++++-
2 files changed, 57 insertions(+), 1 deletion(-)

--
2.43.0