I was searching if there are integrated temperature sensors for the CPU? And if so are they at cluster level or core level?
The hi3660 SoC thermal is based on cluster level: https://android.googlesource.com/kernel/hikey-linaro/+/f518fe49bbaa28b46734b65905214ea857412595^!/#F0
IIRC, the thermal ID is corresponding to different modules:
ID 0: cluster 0
ID 1: cluster 1
ID 2: GPU
ID 3: modem
ID 4: DDR
Thanks for the reply @leo-yan.
Does it work on linux installation, i want to be sure before to buy the product.
If “Linux installation” means AOSP android building, I can confirm the thermal driver has been enabled in all kernel versions (4.4, 4.9 and 4.14).
If you mean Debian installation, e.g. the Debian release: http://snapshots.linaro.org/96boards/hikey/linaro/debian/latest/, it doesn’t enable thermal driver for Hikey960. The kernel or DTS must miss thermal related code or building thermal module.
The last thing is if you want to work on mainline kernel, the Hikey960 thermal driver has been merged into Linux mainline kernel, but Hikey960 USB/UFS patches are out of mainline kernel tree, so mainline kernel has difficulty to directly experiment thermal on it.