Re: [PATCH V2 4/4] arm64: dts: qcom: ipq5018: Add tsens node

From: Sricharan Ramabadhran
Date: Tue Sep 19 2023 - 12:16:20 EST




On 9/19/2023 6:07 PM, Krzysztof Kozlowski wrote:
On 19/09/2023 09:28, Sricharan Ramabadhran wrote:


On 9/15/2023 6:16 PM, Krzysztof Kozlowski wrote:
On 15/09/2023 14:15, Sricharan Ramabadhran wrote:
IPQ5018 has tsens V1.0 IP with 4 sensors.
There is no RPM, so tsens has to be manually enabled. Adding the tsens
and nvmem node and IPQ5018 has 4 thermal sensors (zones). With the
critical temperature being 120'C and action is to reboot. Adding all
the 4 zones here.

Signed-off-by: Sricharan Ramabadhran <quic_srichara@xxxxxxxxxxx>
---
[v2] Fixed node names, order and added qfprom cells for points
seperately to use the calibrate_common and squashed thermal_zone
nodes here

arch/arm64/boot/dts/qcom/ipq5018.dtsi | 169 ++++++++++++++++++++++++++
1 file changed, 169 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
index 9f13d2dcdfd5..d53aea5342e2 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
@@ -93,6 +93,117 @@ soc: soc@0 {
#size-cells = <1>;
ranges = <0 0 0 0xffffffff>;
+ qfprom: qfprom@a0000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "qcom,ipq5018-qfprom", "qcom,qfprom";

This is a friendly reminder during the review process.

It seems my previous comments were not fully addressed. Maybe my
feedback got lost between the quotes, maybe you just forgot to apply it.
Please go back to the previous discussion and either implement all
requested changes or keep discussing them.


oops, moved the compatible to first, but missed it on posting version.
Will fix it in V3.

What do you mean by "posting version"? If it is not the same as your Git
version, then your process is buggy. You must work on mainline tree and
send patches from that tree. Not edit patches and edit Git separately...

Working on mainline tree only, just that i had 2 different build
servers (one build machine and other local machine). Usually develop
all on build server, copy/apply patches to local machine (mainline)
and send. This time missed copying to local finally.

Regards,
Sricharan

one for