linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hongyang Zhao <hongyang.zhao@thundersoft.com>
To: konrad.dybcio@oss.qualcomm.com
Cc: andersson@kernel.org, casey.connolly@linaro.org,
	christopher.obbard@linaro.org, dmitry.baryshkov@oss.qualcomm.com,
	hongyang.zhao@thundersoft.com, linux-arm-msm@vger.kernel.org,
	loic.minier@oss.qualcomm.com, rosh@debian.org
Subject: Re: [PATCH v5 1/2] arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts
Date: Mon,  3 Nov 2025 20:33:05 +0800	[thread overview]
Message-ID: <20251103123305.9982-1-hongyang.zhao@thundersoft.com> (raw)
In-Reply-To: <549a6235-dadd-4136-86aa-c96400373722@oss.qualcomm.com>

>On 10/31/25 10:27 AM, Hongyang Zhao wrote:
>>> On Sat, Oct 25, 2025 at 08:27:22PM +0800, Hongyang Zhao wrote:
>>>> Add DTS for Thundercomm qcs6490-rubikpi3 board which uses
>>>> QCS6490 SoC.
>>>>
>>>> Works:
>>>> - Bluetooth (AP6256)
>>>> - Wi-Fi (AP6256)
>>>> - Ethernet (AX88179B connected to UPD720201)
>>>> - FAN
>>>> - Two USB Type-A 3.0 ports (UPD720201 connected to PCIe0)
>>>> - M.2 M-Key 2280 PCIe 3.0
>>>> - RTC
>>>> - USB Type-C
>>>> - USB Type-A 2.0 port
>>>> - 40PIN: I2C x1, UART x1
>>>>
>>>> Signed-off-by: Hongyang Zhao <hongyang.zhao@thundersoft.com>
>>>> Reviewed-by: Roger Shimizu <rosh@debian.org>
>>>> Cc: Casey Connolly <casey.connolly@linaro.org>
>>>> Cc: Christopher Obbard <christopher.obbard@linaro.org>
>>>> Cc: Loic Minier <loic.minier@oss.qualcomm.com>
>>>> ---
>
>[...]
>
>>>> +			cpu_hot: cpu-hot {
>>>> +				temperature = <90000>;
>>>> +				hysteresis = <5000>;
>>>> +				type = "active";
>>>> +			};
>>>
>>> This has the same value as trip-point0. Is it intentional?
>> 
>> I overlooked the temperatures in sc7280.dtsi, I will remove cpu_hot.
>> 
>> Additionally, based on Konrad's final suggestion in
>> "[PATCH v4 1/2] arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts",
>> I will remove the cooling-maps node (user space service will get netlink
>> information to control the fan), and finally change to:
>
>My suggestion was to fix the description and wire up the fan. I called
>your userland service creative because I didn't want to use the other
>word that came to mind.
>

Understood, I will change it to:

&thermal_zones {
	cpu0-thermal {
		trips {
			cpu_tepid: cpu-tepid {
				temperature = <65000>;
				hysteresis = <5000>;
				type = "active";
			};

			cpu_warm: cpu-warm {
				temperature = <80000>;
				hysteresis = <5000>;
				type = "active";
			};
		};

		cooling-maps {
			map-cpu-tepid {
				cooling-device = <&fan0 1 1>;
				trip = <&cpu_tepid>;
			};

			map-cpu-warm {
				cooling-device = <&fan0 2 2>;
				trip = <&cpu_warm>;
			};

			map-cpu-hot {
				cooling-device = <&fan0 3 3>;
				trip = <&cpu0_alert0>;
			};
		};
	};
};

---
Thank you for the review!
Hongyang

  reply	other threads:[~2025-11-03 12:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-25 12:27 [PATCH v5 0/2] arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts Hongyang Zhao
2025-10-25 12:27 ` [PATCH v5 1/2] " Hongyang Zhao
2025-10-27 14:51   ` Dmitry Baryshkov
2025-10-31  9:27     ` Hongyang Zhao
2025-11-01  8:37       ` Dmitry Baryshkov
2025-11-02  3:09         ` Hongyang Zhao
2025-11-02 22:13           ` Dmitry Baryshkov
2025-11-03  4:20             ` Hongyang Zhao
2025-11-03 11:57       ` Konrad Dybcio
2025-11-03 12:33         ` Hongyang Zhao [this message]
2025-11-03 12:53           ` Konrad Dybcio
2025-10-25 12:27 ` [PATCH v5 2/2] dt-bindings: arm: qcom: rubikpi3: document rubikpi3 board binding Hongyang Zhao
2025-10-26  9:05   ` Krzysztof Kozlowski
2025-10-30  2:33     ` [PATCH v5 2/2] arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts Hongyang Zhao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251103123305.9982-1-hongyang.zhao@thundersoft.com \
    --to=hongyang.zhao@thundersoft.com \
    --cc=andersson@kernel.org \
    --cc=casey.connolly@linaro.org \
    --cc=christopher.obbard@linaro.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=loic.minier@oss.qualcomm.com \
    --cc=rosh@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).