[PATCH v2 0/5] thermal/drivers: airoha: Add support for AN7583
From: Christian Marangi
Date: Tue May 27 2025 - 17:53:18 EST
This small series implement all the required changes to
support Airoha AN7583 Thermal Sensor.
The SoC dropped the Monitor subsystem and only provide
temperature reading. Some generalization was required
to at least save the common code with also the help of
reg field API.
Also this driver will live under the Chip SCU regmap
entirely under a syscon hence the yaml schema
change to reject reg properties.
Changes v2:
- Update DT schema patch to implement dedicated schema
Christian Marangi (5):
thermal: airoha: Convert to regmap API
thermal/drivers: airoha: Generalize probe function
thermal/drivers: airoha: Generalize get_thermal_ADC and set_mux
function
dt-bindings: thermal: Document Airoha AN7583 support
thermal/drivers: airoha: Add support for AN7583 Thermal Sensor
.../thermal/airoha,an7583-thermal.yaml | 31 ++
drivers/thermal/airoha_thermal.c | 368 +++++++++++++++---
2 files changed, 335 insertions(+), 64 deletions(-)
create mode 100644 Documentation/devicetree/bindings/thermal/airoha,an7583-thermal.yaml
--
2.48.1