From: Gong Shuai <gsh517025@gmail.com>
To: shuweiwoo@163.com
Cc: alex@ghiti.fr, aou@eecs.berkeley.edu, conor+dt@kernel.org,
daniel.lezcano@linaro.org, devicetree@vger.kernel.org,
dlan@gentoo.org, krzk+dt@kernel.org,
krzysztof.kozlowski@oss.qualcomm.com,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
linux-riscv@lists.infradead.org, lukasz.luba@arm.com,
p.zabel@pengutronix.de, palmer@dabbelt.com, pjw@kernel.org,
rafael@kernel.org, robh@kernel.org, rui.zhang@intel.com,
spacemit@lists.linux.dev, gsh517025@gmail.com
Subject: Re: [PATCH v3 0/3] thermal: spacemit: Add support for SpacemiT K1 SoC thermal sensor
Date: Sun, 29 Mar 2026 18:45:07 +0800 [thread overview]
Message-ID: <20260329104507.4101836-1-gsh517025@gmail.com> (raw)
In-Reply-To: <20260119-patchv2-k1-thermal-v3-0-3d82c9ebe8a4@163.com>
Hi Shuwei,
> Introduce support for the on-die thermal sensor found
> on the SpacemiT K1 SoC.
>
> Include the device tree binding documentation in YAML format, the
> thermal sensor driver implementation, and the device tree changes to
> enable the sensor on K1 SoC.
>
> ---
> Changes in v3:
> - Fix indentation and variable types
> - Simplify clock management and redundant assignments
> - Link to v2: https://lore.kernel.org/r/20251216-patchv2-k1-thermal-v1-0-d4b31fe9c904@163.com
>
> Changes in v2:
> - Move driver to drivers/thermal/spacemit/ and update Kconfig/Makefile
> - Address reviewer feedback on style and structure
> - Improve variable naming and comments
> - Link to v1: https://lore.kernel.org/r/20251127-b4-k1-thermal-v1-0-f32ce47b1aba@163.com
>
> ---
> Shuwei Wu (3):
> dt-bindings: thermal: Add SpacemiT K1 thermal sensor
> thermal: spacemit: k1: Add thermal sensor support
> riscv: dts: spacemit: Add thermal sensor for K1 SoC
>
> .../bindings/thermal/spacemit,k1-tsensor.yaml | 76 ++++++
> arch/riscv/boot/dts/spacemit/k1.dtsi | 101 ++++++++
> drivers/thermal/Kconfig | 2 +
> drivers/thermal/Makefile | 1 +
> drivers/thermal/spacemit/Kconfig | 19 ++
> drivers/thermal/spacemit/Makefile | 3 +
> drivers/thermal/spacemit/k1_tsensor.c | 281 +++++++++++++++++++++
> 7 files changed, 483 insertions(+)
> ---
> base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
> change-id: 20251215-patchv2-k1-thermal-5ffb838fc1cc
>
> Best regards,
> --
> Shuwei Wu <shuweiwoo@163.com>
This patch series works well on OrangePi-RV2 with mainline kernel 7.0.0-rc5
$ cat /sys/class/thermal/thermal_zone*/type
soc-thermal
package-thermal
gpu-thermal
cluster0-thermal
cluster1-thermal
$ cat /sys/class/thermal/thermal_zone*/temp
35000
37000
36000
36000
37000
$ sensors
cluster1_thermal-virtual-0
Adapter: Virtual device
temp1: +38.0 C
gpu_thermal-virtual-0
Adapter: Virtual device
temp1: +36.0 C
soc_thermal-virtual-0
Adapter: Virtual device
temp1: +36.0 C
cluster0_thermal-virtual-0
Adapter: Virtual device
temp1: +37.0 C
package_thermal-virtual-0
Adapter: Virtual device
temp1: +37.0 C
Tested-by: Gong Shuai <gsh517025@gmail.com>
Thanks.
prev parent reply other threads:[~2026-03-29 10:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-19 2:41 [PATCH v3 0/3] thermal: spacemit: Add support for SpacemiT K1 SoC thermal sensor Shuwei Wu
2026-01-19 2:41 ` [PATCH v3 1/3] dt-bindings: thermal: Add SpacemiT K1 " Shuwei Wu
2026-01-19 2:41 ` [PATCH v3 2/3] thermal: spacemit: k1: Add thermal sensor support Shuwei Wu
2026-03-05 15:35 ` Yao Zi
2026-03-05 17:05 ` Yanko Kaneti
2026-01-19 2:41 ` [PATCH v3 3/3] riscv: dts: spacemit: Add thermal sensor for K1 SoC Shuwei Wu
2026-03-05 6:34 ` [PATCH v3 0/3] thermal: spacemit: Add support for SpacemiT K1 SoC thermal sensor Shuwei Wu
2026-03-29 10:45 ` Gong Shuai [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=20260329104507.4101836-1-gsh517025@gmail.com \
--to=gsh517025@gmail.com \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@gentoo.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=lukasz.luba@arm.com \
--cc=p.zabel@pengutronix.de \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=rui.zhang@intel.com \
--cc=shuweiwoo@163.com \
--cc=spacemit@lists.linux.dev \
/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