Re: [PATCH] arm64: dts: qcom: sm8750: Enable download mode register write
From: Mukesh Ojha
Date: Tue Jan 13 2026 - 08:04:38 EST
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@xxxxxxxxxxxxxxxx>
> >> ---
> >
> > Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
>
> Actually no, we have a mess to undo..
>
> There's already this node:
>
> tcsrcc: clock-controller@f204008 {
> 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@1fc0000 {
+ compatible = "syscon";
+ reg = <0 0x01fc0000 0 0x30000>;
+ };
What about above ?
> Konrad
--
-Mukesh Ojha