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>,
linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, upstream@airoha.com
Subject: Re: [PATCH v4 2/2] thermal: Add support for Airoha EN7581 thermal sensor
Date: Wed, 4 Dec 2024 09:10:13 +0100 [thread overview]
Message-ID: <67500e68.050a0220.2f3736.2ccb@mx.google.com> (raw)
In-Reply-To: <20241114211958.32137-2-ansuelsmth@gmail.com>
On Thu, Nov 14, 2024 at 10:19:19PM +0100, Christian Marangi wrote:
> Add support for Airoha EN7581 thermal sensor. This provide support for
> reading the CPU or SoC Package sensor and to setup trip points for hot
> and critical condition. An interrupt is fired to react on this and
> doesn't require passive poll to read the temperature.
>
> The thermal regs provide a way to read the ADC value from an external
> register placed in the Chip SCU regs. Monitor will read this value and
> fire an interrupt if the trip condition configured is reached.
>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
> Changes v4:
> - Handle offset and slope in priv driver
> Changes v3:
> - Handle thermal_zone_device moved in different header
> - Enable interrupt after thermal register
> - Use new way to provide slope and offset
> Changes v2:
> - Add missing Makefile and Kconfig entry (somehow not included in v1)
> - Sort include header
> - Add missing bitfield.h
>
> drivers/thermal/Kconfig | 9 +
> drivers/thermal/Makefile | 1 +
> drivers/thermal/airoha_thermal.c | 480 +++++++++++++++++++++++++++++++
> 3 files changed, 490 insertions(+)
> create mode 100644 drivers/thermal/airoha_thermal.c
>
Hi Daniel,
sorry if I get annoying just to not lose track of this on my side,
I dropped the sysfs change and now it's handled in priv... Should be ok
now?
--
Ansuel
prev parent reply other threads:[~2024-12-04 8:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 21:19 [PATCH v4 1/2] dt-bindings: thermal: Add support for Airoha EN7581 thermal sensor Christian Marangi
2024-11-14 21:19 ` [PATCH v4 2/2] " Christian Marangi
2024-12-04 8:10 ` Christian Marangi [this message]
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=67500e68.050a0220.2f3736.2ccb@mx.google.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 \
--cc=upstream@airoha.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.