From: Tingguo Cheng <quic_tingguoc@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: <quic_fenglinw@quicinc.com>, <quic_tingweiz@quicinc.com>,
<kernel@quicinc.com>, Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
<linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] arm64: dts: qcom: qcs8300-ride: Enable PMIC peripherals
Date: Thu, 28 Nov 2024 17:29:00 +0800 [thread overview]
Message-ID: <aa6899d0-81ab-44ce-a61e-495eb03beb6c@quicinc.com> (raw)
In-Reply-To: <hk3tkj3nka4kslq5nwvu4xj7yzydgdtz3fru2cazy67z3qortb@4c3uxktl36jo>
On 11/26/2024 7:54 PM, Dmitry Baryshkov wrote:
> On Tue, Nov 26, 2024 at 05:35:06PM +0800, Tingguo Cheng wrote:
>> Enable PMIC and PMIC peripherals for qcs8300-ride board. The qcs8
>> 300-ride uses 2 pmics(pmm8620au:0,pmm8650au:1) on the board, which
>> are variants of pmm8654au used on sa8775p/qcs9100 -ride(4x pmics).
>>
>> Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
>> ---
>> arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 23 +++++++++++++++++++++++
>> 1 file changed, 23 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts
>> index 7eed19a694c39dbe791afb6a991db65acb37e597..9447efb9cd01654b74ec4c18dec58b1956ffe710 100644
>> --- a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts
>> +++ b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts
>> @@ -9,6 +9,7 @@
>> #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
>>
>> #include "qcs8300.dtsi"
>> +#include "sa8775p-pmics.dtsi"
>> / {
>> model = "Qualcomm Technologies, Inc. QCS8300 Ride";
>> compatible = "qcom,qcs8300-ride", "qcom,qcs8300";
>> @@ -223,6 +224,28 @@ &gcc {
>> <0>;
>> };
>>
>> +&pmm8654au_0_pon_resin{
>
> Missing space between the curve bracket (here and in all other entries).
Added a space here in next version:v2
>
>> + linux,code = <KEY_VOLUMEDOWN>;
>> +
>> + status = "okay";
>> +};
>> +
>> +&pmm8654au_2{
>> + status = "disabled";
>> +};
>> +
>> +&pmm8654au_2_thermal{
>> + status = "disabled";
>
> Does it work this way?
Yes, it works. functions are all working as expected. The result is the
same as the way from writing the DTS nodes from scratch.
>
>> +};
>> +
>> +&pmm8654au_3{
>> + status = "disabled";
>> +};
>> +
>> +&pmm8654au_3_thermal{
>> + status = "disabled";
>> +};
>> +
>> &qupv3_id_0 {
>> status = "okay";
>> };
>>
>> --
>> 2.34.1
>>
>
--
Thank you & BRs
Tingguo
next prev parent reply other threads:[~2024-11-28 9:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-26 9:35 [PATCH 0/2] Adds SPMI bus, PMIC and peripherals for qcs8300-ride Tingguo Cheng
2024-11-26 9:35 ` [PATCH 1/2] arm64: dts: qcom: qcs8300: Adds SPMI support Tingguo Cheng
2024-11-26 11:50 ` Dmitry Baryshkov
2024-11-28 7:55 ` Tingguo Cheng
2024-11-28 12:56 ` Dmitry Baryshkov
2024-11-29 11:13 ` Konrad Dybcio
2024-11-26 9:35 ` [PATCH 2/2] arm64: dts: qcom: qcs8300-ride: Enable PMIC peripherals Tingguo Cheng
2024-11-26 11:54 ` Dmitry Baryshkov
2024-11-28 9:29 ` Tingguo Cheng [this message]
2024-11-29 11:14 ` Konrad Dybcio
2024-11-29 11:30 ` Konrad Dybcio
2025-01-08 3:55 ` Tingguo Cheng
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=aa6899d0-81ab-44ce-a61e-495eb03beb6c@quicinc.com \
--to=quic_tingguoc@quicinc.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=kernel@quicinc.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_fenglinw@quicinc.com \
--cc=quic_tingweiz@quicinc.com \
--cc=robh@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