linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] thermal: loongson2: Add Loongson-2K0500 and Loongson-2K2000 thermal support
@ 2024-04-10  9:48 Binbin Zhou
  2024-04-10  9:49 ` [PATCH 1/4] thermal: loongson2: Trivial code style adjustment Binbin Zhou
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Binbin Zhou @ 2024-04-10  9:48 UTC (permalink / raw)
  To: Binbin Zhou, Huacai Chen, Rafael J . Wysocki, Daniel Lezcano,
	Amit Kucheria, Zhang Rui, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Huacai Chen, loongson-kernel, linux-pm, devicetree, Yinbo Zhu,
	WANG Xuerui, loongarch, Binbin Zhou

Hi all:

This patchset introduce the Loongson-2K0500 and Loongson-2K2000
temperature sensors.

The temperature sensors of Loongson-2K series CPUs are similar, except
that the temperature reading method of the Loongson-2K2000 is
different.

Specifically, the temperature output register of the Loongson-2K2000 is
defined in the chip configuration domain. We need to define it in dts
and calculate it using different calculation methods.

Thanks.

Binbin Zhou (4):
  thermal: loongson2: Trivial code style adjustment
  dt-bindings: thermal: loongson,ls2k-thermal: Add Loongson-2K0500
    compaible
  dt-bindings: thermal: loongson,ls2k-thermal: Fix incorrect compatible
    definition
  thermal: loongson2: Add Loongson-2K2000 support

 .../thermal/loongson,ls2k-thermal.yaml        |  23 +++-
 drivers/thermal/loongson2_thermal.c           | 111 +++++++++++-------
 2 files changed, 92 insertions(+), 42 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-04-10 20:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-10  9:48 [PATCH 0/4] thermal: loongson2: Add Loongson-2K0500 and Loongson-2K2000 thermal support Binbin Zhou
2024-04-10  9:49 ` [PATCH 1/4] thermal: loongson2: Trivial code style adjustment Binbin Zhou
2024-04-10  9:49 ` [PATCH 2/4] dt-bindings: thermal: loongson,ls2k-thermal: Add Loongson-2K0500 compaible Binbin Zhou
2024-04-10 20:23   ` Rob Herring
2024-04-10  9:49 ` [PATCH 3/4] dt-bindings: thermal: loongson,ls2k-thermal: Fix incorrect compatible definition Binbin Zhou
2024-04-10  9:59   ` Conor Dooley
2024-04-10 11:50     ` Binbin Zhou
2024-04-10  9:49 ` [PATCH 4/4] thermal: loongson2: Add Loongson-2K2000 support Binbin Zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).