Skip to content

thermal/drivers/hisi: Add hi3660 thermal driver support

Daniel Lezcano linux-pm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesIn review
  2. v24 patches 6 repliesSuperseded

Changelog from the cover letter

- V3 :
- Fixed sparse warning about void const * mismatch assignment

- V2 :
- Fixed extra carriage return, description length reported by checkpatch
- Removed the multi-threshold interrupt
- Removed DT bindings documentation and DT change as it is merge in the arm-soc tree now
- Tested on hi6220

- V1 : initial post

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4thermal/drivers/hisi: Put platform code togetherdrivers/thermal/hisi_thermal.c+38 -380 replies
2/4thermal/drivers/hisi: Add platform prefix to function namedrivers/thermal/hisi_thermal.c+73 -720 replies
3/4thermal/drivers/hisi: Prepare to add support for other hisi platformsdrivers/thermal/hisi_thermal.c+87 -450 replies
4/4thermal/drivers/hisi: Add support for hi3660 SoCdrivers/thermal/hisi_thermal.c+144 -10 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchDaniel Lezcano
1/4T-b
2/4T-b
3/4T-b
4/4T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/4] thermal/drivers/hisi: Add hi3660 thermal driver support

This series adds the support for the hikey960 thermal driver. The tsensor is almost the same than the hi6220 but with a memory shared updated by a Cortex-M4.

In order to handle both, the hi6220 and the hi3660, the current code should be prefixed with the platform name as we will add functions with the same purpose but slightly different. In addition, the core driver code is maintained untouched by using a set of ops filled at boot time.

Changelog:

- V3 :
- Fixed sparse warning about void const * mismatch assignment

- V2 :
- Fixed extra carriage return, description length reported by checkpatch
- Removed the multi-threshold interrupt
- Removed DT bindings documentation and DT change as it is merge in the arm-soc tree now
- Tested on hi6220

- V1 : initial post

Kevin Wangtao (4):
thermal/drivers/hisi: Put platform code together thermal/drivers/hisi: Add platform prefix to function name thermal/drivers/hisi: Prepare to add support for other hisi platforms thermal/drivers/hisi: Add support for hi3660 SoC

 drivers/thermal/hisi_thermal.c | 452 +++++++++++++++++++++++++++++------------
 1 file changed, 319 insertions(+), 133 deletions(-)
Signature · 1 line
2.7.4