mbox series

[v2,0/5] thermal/drivers: airoha: Add support for AN7583

Message ID 20250527215241.25767-1-ansuelsmth@gmail.com
Headers show
Series thermal/drivers: airoha: Add support for AN7583 | expand

Message

Christian Marangi May 27, 2025, 9:52 p.m. UTC
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