[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZyBF3ygQnIdr/k/N@hu-bjorande-lv.qualcomm.com>
Date: Mon, 28 Oct 2024 19:18:07 -0700
From: Bjorn Andersson <bjorn.andersson@....qualcomm.com>
To: Tingguo Cheng <quic_tingguoc@...cinc.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>, quic_fenglinw@...cinc.com,
quic_tingweiz@...cinc.com, kernel@...cinc.com,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, linux-arm-msm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] arm64: dts: qcom: qcs615-ride: Enable PMIC
peripherals
On Mon, Oct 28, 2024 at 04:40:36PM +0800, Tingguo Cheng wrote:
>
>
> On 10/28/2024 4:23 PM, Dmitry Baryshkov wrote:
> > On Mon, Oct 28, 2024 at 04:03:25PM +0800, Tingguo Cheng wrote:
> > > Enable PMIC and PMIC peripherals for qcs615-ride board.
> > >
> > > Signed-off-by: Tingguo Cheng <quic_tingguoc@...cinc.com>
> > > ---
> > > arch/arm64/boot/dts/qcom/qcs615-ride.dts | 15 +++++++++++++++
> > > 1 file changed, 15 insertions(+)
> > >
> > > diff --git a/arch/arm64/boot/dts/qcom/qcs615-ride.dts b/arch/arm64/boot/dts/qcom/qcs615-ride.dts
> > > index ee6cab3924a6d71f29934a8debba3a832882abdd..37358f080827bbe4484c14c5f159e813810c2119 100644
> > > --- a/arch/arm64/boot/dts/qcom/qcs615-ride.dts
> > > +++ b/arch/arm64/boot/dts/qcom/qcs615-ride.dts
> > > @@ -6,6 +6,7 @@
> > > #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
> > > #include "qcs615.dtsi"
> > > +#include "pm8150.dtsi"
> > > / {
> > > model = "Qualcomm Technologies, Inc. QCS615 Ride";
> > > compatible = "qcom,qcs615-ride", "qcom,qcs615";
> > > @@ -210,6 +211,20 @@ &rpmhcc {
> > > clocks = <&xo_board_clk>;
> > > };
> > > +&pon {
> > > + /delete-property/ mode-bootloader;
> > > + /delete-property/ mode-recovery;
> >
> > Why?
> Because boot modes will be supported on PSCI module from another patch,
> reboot-modes are required to remove from PMIC side.
That implies that the reboot mode implementation is device-specific, if
so we should probably not define them in the shared file.
Regards,
Bjorn
> >
> > > +};
> > > +
> > > +&pon_pwrkey {
> > > + status = "okay";
> > > +};
> > > +
> > > +&pon_resin {
> > > + linux,code = <KEY_VOLUMEDOWN>;
> > > + status = "okay";
> > > +};
> > > +
> > > &uart0 {
> > > status = "okay";
> > > };
> > >
> > > --
> > > 2.34.1
> > >
> >
>
> --
> Thank you & BRs
> Tingguo
>
Powered by blists - more mailing lists