From: Priyansh Jain <quic_priyjain@quicinc.com>
To: Konrad Dybcio <konradybcio@kernel.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@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>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: <linux-arm-msm@vger.kernel.org>, <linux-pm@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<quic_manafm@quicinc.com>
Subject: Re: [PATCH 2/2] arm64: dts: qcom: Enable tsens and thermal for sa8775p SoC
Date: Thu, 24 Aug 2023 16:53:59 +0530 [thread overview]
Message-ID: <389f9df4-bcdb-4ec4-57d0-978b03fa862b@quicinc.com> (raw)
In-Reply-To: <ac153c9b-f698-47f4-9d52-b3ea5c9ba213@kernel.org>
Hi Konrad,
On 8/21/2023 5:25 PM, Konrad Dybcio wrote:
> On 21.08.2023 13:29, Priyansh Jain wrote:
>> Add tsens and thermal devicetree node for sa8775p SoC.
>>
>> Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
>> ---
>> arch/arm64/boot/dts/qcom/sa8775p.dtsi | 1096 +++++++++++++++++++++++++
>> 1 file changed, 1096 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
>> index b130136acffe..b9c622b3bf7e 100644
>> --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
>> @@ -2306,6 +2306,1102 @@
>>
>> #freq-domain-cells = <1>;
>> };
>> +
>> + tsens0: thermal-sensor@c222000 {
>> + compatible = "qcom,sa8775p-tsens", "qcom,tsens-v2";
>> + reg = <0x0C263000 0x1ff>, /* TM */
>> + <0x0C222000 0x1ff>; /* SROT */
> 1. Test your patches. This will obviously not work due to the
> #address/size-cells values of /soc@0.
Yes this needs to be updated, Will update in the next revision.
>
> 2. Use lowercase hex.
Sure will update in next revision.
> 3. Align subsequent entries for a property with the previous line
>
Sure will update in next revision.
> 4. Are you sure SROT is 0x1ff-long?
>
Yes it can be updated to 0x8 , will update in next revision.
> 5. The usefulness of these comments is questionable, many DTs have
> them because of copypasta but I think it's time to stop that.
>
Yes will remove them in next revision.
> 6. No pdc wake-capable interrupts?
Yes they don't need to be pdc wakeup capable.
>
>> + #qcom,sensors = <12>;
>> + interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
>> + <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
>> + interrupt-names = "uplow","critical";
> Missing space after the comma
Yes will update in next revision.
>
> Please move interrupt properties right after 'reg'.
Sure will update in next revision.
> Konrad
prev parent reply other threads:[~2023-08-24 11:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-21 11:29 [PATCH 0/2] Enable tsens and thermal for sa8775p SoC Priyansh Jain
2023-08-21 11:29 ` [PATCH 1/2] dt-bindings: thermal: tsens: Add sa8775p compatible Priyansh Jain
2023-08-21 11:51 ` Konrad Dybcio
2023-08-24 9:29 ` Priyansh Jain
2023-08-21 11:29 ` [PATCH 2/2] arm64: dts: qcom: Enable tsens and thermal for sa8775p SoC Priyansh Jain
2023-08-21 11:55 ` Konrad Dybcio
2023-08-24 11:23 ` Priyansh Jain [this message]
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=389f9df4-bcdb-4ec4-57d0-978b03fa862b@quicinc.com \
--to=quic_priyjain@quicinc.com \
--cc=agross@kernel.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=konradybcio@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=quic_manafm@quicinc.com \
--cc=rafael@kernel.org \
--cc=robh+dt@kernel.org \
--cc=rui.zhang@intel.com \
--cc=thara.gopinath@gmail.com \
/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).