Linux Power Management development
 help / color / mirror / Atom feed
From: Christian Marangi <ansuelsmth@gmail.com>
To: "Rafael J. Wysocki" <rafael@kernel.org>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Zhang Rui <rui.zhang@intel.com>,
	Lukasz Luba <lukasz.luba@arm.com>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Christian Marangi <ansuelsmth@gmail.com>,
	linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/5] thermal/drivers: airoha: Add support for AN7583
Date: Tue, 27 May 2025 23:52:34 +0200	[thread overview]
Message-ID: <20250527215241.25767-1-ansuelsmth@gmail.com> (raw)

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


             reply	other threads:[~2025-05-27 21:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-27 21:52 Christian Marangi [this message]
2025-05-27 21:52 ` [PATCH v2 1/5] thermal: airoha: Convert to regmap API Christian Marangi
2025-05-27 21:52 ` [PATCH v2 2/5] thermal/drivers: airoha: Generalize probe function Christian Marangi
2025-05-27 21:52 ` [PATCH v2 3/5] thermal/drivers: airoha: Generalize get_thermal_ADC and set_mux function Christian Marangi
2025-05-27 21:52 ` [PATCH v2 4/5] dt-bindings: thermal: Document Airoha AN7583 support Christian Marangi
2025-05-28  7:28   ` Krzysztof Kozlowski
2025-05-27 21:52 ` [PATCH v2 5/5] thermal/drivers: airoha: Add support for AN7583 Thermal Sensor Christian Marangi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250527215241.25767-1-ansuelsmth@gmail.com \
    --to=ansuelsmth@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=lukasz.luba@arm.com \
    --cc=rafael@kernel.org \
    --cc=robh@kernel.org \
    --cc=rui.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox