Hi,
I am using snapdragon profiler with Lg Gflex 2 (Snapdragon 810). The profiler gives only one temperature reading. I would expect that Snapdragon 810 has multiple thermal sensors. Is there a way to add readings from other thermal sensors? If not, are there any plans of adding this feature to Snapdragon Profiler. Thanks...
Yes, it's possible to add other thermal sensors. Are there any in particular that you think would be useful?
- Rick
Thanks for your response. I actually worked around it and used adb tool with python to build my temperature profiler. One additional question I have is that, I see that Snapdragon 810 appears to have 20 different thermal zones in /sys/class/thermal. These may not necessarily correspond to separate thermal sensors. Is there a way to know mapping between thermal zones and temperature from SoC components? I could not find any documentation on this..
Rehan.
Glad to hear that you found a work around. The number and type of thermal zones vary by processor. The thermal floorplan maps for Snapdragon processors are not publically available (as far as I can tell) so I can't share them here.
- Rick
Hi there. So how do you break out the temperature readings from the different SoC temp sensors? I was able to do it accidentally (at least that's what it looked like) but I can't seem to reproduce what I did. I'm using this tool for HW thermal validation on a platform that uses the Snapdragon 617. Any help would be greatly appreciated.
I found a public opensource
method is https://www.codeaurora.org/cgit/quic/la/kernel/msm-3.14/tree/Documentation/devicetree/bindings/thermal/tsens.txt
and info are dtsi files “qcom,alias-name”
SD821/SD820 https://us.codeaurora.org/cgit/quic/la/kernel/msm-3.18/tree/arch/arm/boo...
SD810 https://us.codeaurora.org/cgit/quic/la/kernel/msm-3.10/tree/arch/arm/boo...
SD808 https://us.codeaurora.org/cgit/quic/la/kernel/msm-3.10/tree/arch/arm/boo...
SD805 https://us.codeaurora.org/cgit/quic/la/kernel/msm-3.10/tree/arch/arm/boo... (lack of full info)
SD652 https://us.codeaurora.org/cgit/quic/la/kernel/msm-3.10/tree/arch/arm/boo...
SD617 https://us.codeaurora.org/cgit/quic/la/kernel/msm-3.18/tree/arch/arm/boo...
I guess Snapdragon Profilers also using simluar way such as
adb shell /sys/class/thermal/thermal_zone#/temp
adb shell "cat /sys/class/thermal/thermal_zone#/type"
# is the number you gotten from about source
I want to understand : if there is only one temperature reading from Snapdragon Profiler, then which temperature does it reflects?
My concern is, if I use development board, I want to understanding whether the temperature reading from SDP really reflect the temperature inside the chipset? Or does SDP did any arithmatic computation considering other sensors inside the chipset to provide 1 temperature via SDP?
Also, if to add more temperature sensor reading to SDP, is it achieved by modifying any configuration file of SDP?
Thank you in advance!
Thanks a lot! This https://source.codeaurora.org/quic/la/kernel/msm-3.10/tree/arch/arm/boot/dts/qcom/msm8994.dtsi?h=LA.BF64.1.2.2_rb4.9#n3059 is exactly what I was searching for!