From: barnabas.czeman@mainlining.org
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Cc: "Bjorn Andersson" <andersson@kernel.org>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Konrad Dybcio" <konradybcio@kernel.org>,
"Lee Jones" <lee@kernel.org>, "Amit Kucheria" <amitk@kernel.org>,
"Thara Gopinath" <thara.gopinath@gmail.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
"Daniel Lezcano" <daniel.lezcano@linaro.org>,
"Zhang Rui" <rui.zhang@intel.com>,
"Lukasz Luba" <lukasz.luba@arm.com>,
"Joerg Roedel" <joro@8bytes.org>, "Will Deacon" <will@kernel.org>,
"Robin Murphy" <robin.murphy@arm.com>,
"Srinivas Kandagatla" <srinivas.kandagatla@linaro.org>,
linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org, iommu@lists.linux.dev,
"Otto Pflüger" <otto.pflueger@abscue.de>
Subject: Re: [PATCH v3 12/14] arm64: dts: qcom: Add initial support for MSM8917
Date: Sat, 09 Nov 2024 12:36:47 +0100 [thread overview]
Message-ID: <2c5f429d01fc04b2b40251e841bd4f64@mainlining.org> (raw)
In-Reply-To: <0293b1c5-d405-4021-b9c1-205271107350@oss.qualcomm.com>
On 2024-11-08 18:03, Konrad Dybcio wrote:
> On 7.11.2024 6:02 PM, Barnabás Czémán wrote:
>> From: Otto Pflüger <otto.pflueger@abscue.de>
>>
>> Add initial support for MSM8917 SoC.
>>
>> Signed-off-by: Otto Pflüger <otto.pflueger@abscue.de>
>> [reword commit, rebase, fix schema errors]
>> Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
>> ---
>
> [...]
>
>> + domain-idle-states {
>> + cluster_pwrdn: cluster-gdhs {
>
> Please rename these to cluster-sleep-<n> and sort from shallowest to
> deepest sleep state, in this case: ret, pwrdn, pc
>
> [...]
>
>> +
>> + l2_0: l2-cache {
>> + compatible = "cache";
>> + cache-level = <2>;
>> + cache-unified;
>> + };
>
> Please put this under the cpu0 node
>
> [...]
>
>> + restart@4ab000 {
>> + compatible = "qcom,pshold";
>> + reg = <0x4ab000 0x4>;
>
> Please also pad all address parts to 8 hex digits with leading zeroes
>
> [...]
>
>> + gpu_opp_table: opp-table {
>> + compatible = "operating-points-v2";
>> +
>> + opp-598000000 {
>> + opp-hz = /bits/ 64 <598000000>;
>> + };
>> +
>> + opp-523200000 {
>> + opp-hz = /bits/ 64 <523200000>;
>> + };
>> +
>> + opp-484800000 {
>> + opp-hz = /bits/ 64 <484800000>;
>> + };
>> +
>> + opp-400000000 {
>> + opp-hz = /bits/ 64 <400000000>;
>> + };
>> +
>> + opp-270000000 {
>> + opp-hz = /bits/ 64 <270000000>;
>> + };
>> +
>> + opp-19200000 {
>> + opp-hz = /bits/ 64 <19200000>;
>> + };
>
> Does the GPU actually function at 19.2 MHz? You can check this by
> removing
> all other entries and starting some gpu workload
Yes
>
> [...]
>
>> + cpuss1-thermal {
>> + polling-delay-passive = <250>;
>> + polling-delay = <1000>;
>
> You can remove polling-delay (not -passive), as we have an interrupt
> that fires on threshold crossing
>
>> +
>> + thermal-sensors = <&tsens 4>;
>> +
>> + cooling-maps {
>> + map0 {
>> + trip = <&cpuss1_alert0>;
>> + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
>> + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
>> + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
>> + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
>> + };
>> + };
>> +
>> + trips {
>> + cpuss1_crit: cpuss1-crit {
>> + temperature = <100000>;
>> + hysteresis = <2000>;
>> + type = "critical";
>> + };
>> +
>> + cpuss1_alert0: trip-point0 {
>> + temperature = <75000>;
>> + hysteresis = <2000>;
>> + type = "passive";
>> + };
>> +
>> + cpuss1_alert1: trip-point1 {
>> + temperature = <85000>;
>> + hysteresis = <2000>;
>> + type = "hot";
>> + };
>
> Sorting these by temperature, rising would be nice
>
> Konrad
next prev parent reply other threads:[~2024-11-09 11:36 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-07 17:02 [PATCH v3 00/14] Add MSM8917/PM8937/Redmi 5A Barnabás Czémán
2024-11-07 17:02 ` [PATCH v3 01/14] dt-bindings: pinctrl: qcom,pmic-gpio: Add PM8937 Barnabás Czémán
2024-11-07 17:02 ` [PATCH v3 02/14] pinctrl: qcom-pmic-gpio: Add support for PM8937 Barnabás Czémán
2024-11-07 17:02 ` [PATCH v3 03/14] dt-bindings: pinctrl: qcom,pmic-mpp: Add PM8937 Barnabás Czémán
2024-11-07 17:02 ` [PATCH v3 04/14] pinctrl: qcom: spmi-mpp: Add PM8937 compatible Barnabás Czémán
2024-11-07 17:02 ` [PATCH v3 05/14] arm64: dts: qcom: Add PM8937 PMIC Barnabás Czémán
2024-11-07 17:02 ` [PATCH v3 06/14] dt-bindings: pinctrl: qcom: Add MSM8917 pinctrl Barnabás Czémán
2024-11-08 12:24 ` Krzysztof Kozlowski
2024-11-07 17:02 ` [PATCH v3 07/14] pinctrl: qcom: Add MSM8917 tlmm pinctrl driver Barnabás Czémán
2024-11-09 0:19 ` Dmitry Baryshkov
2024-11-07 17:02 ` [PATCH v3 08/14] dt-bindings: thermal: tsens: Add MSM8937 Barnabás Czémán
2024-11-07 17:02 ` [PATCH v3 09/14] thermal/drivers/qcom/tsens-v1: Add support for MSM8937 tsens Barnabás Czémán
2024-11-08 16:57 ` Konrad Dybcio
2024-11-07 17:02 ` [PATCH v3 10/14] dt-bindings: iommu: qcom,iommu: Add MSM8917 IOMMU to SMMUv1 compatibles Barnabás Czémán
2024-11-07 17:02 ` [PATCH v3 11/14] dt-bindings: nvmem: Add compatible for MS8917 Barnabás Czémán
2024-11-07 17:02 ` [PATCH v3 12/14] arm64: dts: qcom: Add initial support for MSM8917 Barnabás Czémán
2024-11-08 17:03 ` Konrad Dybcio
2024-11-09 11:36 ` barnabas.czeman [this message]
2024-11-09 11:53 ` Konrad Dybcio
2024-11-07 17:02 ` [PATCH v3 13/14] dt-bindings: arm: qcom: Add Xiaomi Redmi 5A Barnabás Czémán
2024-11-07 17:02 ` [PATCH v3 14/14] arm64: dts: " Barnabás Czémán
2024-11-08 9:03 ` [PATCH v3 00/14] Add MSM8917/PM8937/Redmi 5A Linus Walleij
2024-11-08 10:11 ` Barnabás Czémán
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=2c5f429d01fc04b2b40251e841bd4f64@mainlining.org \
--to=barnabas.czeman@mainlining.org \
--cc=amitk@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=lukasz.luba@arm.com \
--cc=otto.pflueger@abscue.de \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=rui.zhang@intel.com \
--cc=srinivas.kandagatla@linaro.org \
--cc=thara.gopinath@gmail.com \
--cc=will@kernel.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