[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4ioz5tt4oye5relk7eryk54jtyfat4iglfwvlype4pdi6si5gv@pdrr7vehboyz>
Date: Tue, 13 Jan 2026 19:54:34 +0200
From: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
To: Mukesh Ojha <mukesh.ojha@....qualcomm.com>
Cc: Konrad Dybcio <konrad.dybcio@....qualcomm.com>, andersson@...nel.org,
konradybcio@...nel.org, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, devicetree@...r.kernel.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: sm8750: Enable download mode register
write
On Tue, Jan 13, 2026 at 06:34:28PM +0530, Mukesh Ojha wrote:
> On Tue, Jan 13, 2026 at 10:20:58AM +0100, Konrad Dybcio wrote:
> > On 1/13/26 10:16 AM, Konrad Dybcio wrote:
> > > On 1/12/26 4:17 PM, Mukesh Ojha wrote:
> > >> Enable download mode setting for sm8750 which can help collect
> > >> ramdump for this SoC.
> > >>
> > >> Signed-off-by: Mukesh Ojha <mukesh.ojha@....qualcomm.com>
> > >> ---
> > >
> > > Reviewed-by: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
> >
> > Actually no, we have a mess to undo..
> >
> > There's already this node:
> >
> > tcsrcc: clock-controller@...4008 {
> > compatible = "qcom,sm8750-tcsr", "syscon";
> > reg = <0x0 0x0f204008 0x0 0x3004>;
> >
> > clocks = <&rpmhcc RPMH_CXO_CLK>;
> >
> > #clock-cells = <1>;
> > #reset-cells = <1>;
> > };
> >
> > That's located at the rear end of TLMM (someone had a funny idea to
> > move registers around when designing this specific SoC)
> >
> > Problem is, those registers aren't actually "TCSRCC", not even "TCSR"
> > Physically, they belong to the TLMM register window (which starts at
> > the base it promises under the TLMM node today and is 0xf0_0000-long.
> >
> > What we should have done for a fairer representation is make TLMM a
> > clock provider on this specific platform
> >
> > qcom,sm8750-tcsr binds the tcsrcc driver, so we can't describe the
> > actual TCSR (as in this patch).. we'll have to break something..
> >
>
> + syscon: syscon@...0000 {
> + compatible = "syscon";
You can't have just a "syscon", you need a defining compat.
> + reg = <0 0x01fc0000 0 0x30000>;
> + };
>
>
> What about above ?
>
>
> > Konrad
>
> --
> -Mukesh Ojha
--
With best wishes
Dmitry
Powered by blists - more mailing lists