Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Loic Poulain <loic.poulain@oss.qualcomm.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
	konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, sre@kernel.org,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-pm@vger.kernel.org
Subject: Re: [PATCH 3/5] dt-bindings: firmware: qcom,scm: Document reboot mode
Date: Thu, 6 Nov 2025 10:51:03 +0100	[thread overview]
Message-ID: <6bd38ab5-cf60-48b3-a27c-a33de9762cf0@oss.qualcomm.com> (raw)
In-Reply-To: <CAFEp6-1qPw7vdqYNKYv00M1sDo0HhEPgrHuEZAJ5vabErR7ChA@mail.gmail.com>

On 11/5/25 9:17 PM, Loic Poulain wrote:
> On Wed, Nov 5, 2025 at 10:44 AM Konrad Dybcio
> <konrad.dybcio@oss.qualcomm.com> wrote:
>>
>> On 11/4/25 10:19 PM, Loic Poulain wrote:
>>> On Tue, Nov 4, 2025 at 3:12 AM Bjorn Andersson <andersson@kernel.org> wrote:
>>>>
>>>> On Mon, Nov 03, 2025 at 07:20:04PM +0100, Loic Poulain wrote:
>>>>> SCM can be used to support reboot mode such as Emergency Recovery Mode.
>>>>
>>>> "such as"? Do we have any other useful bits in here?
>>>
>>>  I heard we may have different EDL modes supported like USB or SD
>>> based EDL, but I don't know much about the details.
>>>
>>>>
>>>>>
>>>>> Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
>>>>> ---
>>>>>  Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 4 ++++
>>>>>  1 file changed, 4 insertions(+)
>>>>>
>>>>> diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
>>>>> index b913192219e4..c8bb7dacd900 100644
>>>>> --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
>>>>> +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
>>>>> @@ -121,6 +121,10 @@ properties:
>>>>>            - description: offset of the download mode control register
>>>>>      description: TCSR hardware block
>>>>>
>>>>> +patternProperties:
>>>>> +  "^mode-.*$":
>>>>
>>>> I'd only ever expect mode-edl = <1>. Do we have additional modes that
>>>> warrant the generic nature of this?
>>>
>>> We may extend this to mode-ramdump if it makes sense, but as of now
>>> it's indeed only edl, will fix it.
>>
>> Would adding ramdump here be a matter of:
>>
>> + mode-ramdump = <0xmagic>
> 
> Not in its current form, I’ll need to slightly adjust the qcom,scm
> driver mask for the reboot mode and also prevent the dload inhibit
> during reboot. I can include these changes in v2 if that would be
> helpful.

Let's do it incrementally, as changing the scope usually ends up
causing chaos

Konrad

  reply	other threads:[~2025-11-06  9:51 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-03 18:20 [PATCH 0/5] Add EDL reboot and warm reset support for QRB2210 Loic Poulain
2025-11-03 18:20 ` [PATCH 1/5] dt-bindings: power: reset: qcom-pon: Document qcom,warm-reset Loic Poulain
2025-11-04  2:17   ` Bjorn Andersson
2025-11-04 14:03   ` Krzysztof Kozlowski
2025-11-04 15:12     ` Loic Poulain
2025-11-03 18:20 ` [PATCH 2/5] power: reset: qcom-pon: Add support for WARM reset Loic Poulain
2025-11-04  2:19   ` Bjorn Andersson
2025-11-04 11:50   ` Konrad Dybcio
2025-11-04 15:01     ` Loic Poulain
2025-11-04 15:20       ` Konrad Dybcio
2025-11-05 21:44         ` Loic Poulain
2025-11-06 12:50           ` Konrad Dybcio
2025-11-12 11:16             ` Loic Poulain
2025-11-12 11:20               ` Konrad Dybcio
2025-11-14 15:35                 ` Loic Poulain
2025-11-04 14:04   ` Krzysztof Kozlowski
2025-11-03 18:20 ` [PATCH 3/5] dt-bindings: firmware: qcom,scm: Document reboot mode Loic Poulain
2025-11-04  2:16   ` Bjorn Andersson
2025-11-04  2:19     ` Dmitry Baryshkov
2025-11-04  2:45       ` Bjorn Andersson
2025-11-04 21:19     ` Loic Poulain
2025-11-05  9:44       ` Konrad Dybcio
2025-11-05 20:17         ` Loic Poulain
2025-11-06  9:51           ` Konrad Dybcio [this message]
2025-11-12 16:36         ` Bjorn Andersson
2025-11-13 11:00           ` Konrad Dybcio
2025-11-13 17:38             ` Bjorn Andersson
2025-11-03 18:20 ` [PATCH 4/5] firmware: qcom: scm: Support for EDL " Loic Poulain
2025-11-04  2:22   ` Bjorn Andersson
2025-11-04 12:09   ` kernel test robot
2025-11-04 13:13   ` kernel test robot
2025-11-03 18:20 ` [PATCH 5/5] arm64: dts: qcom: qrb2210-rb1: Add support for EDL reboot Loic Poulain
2025-11-04  2:20   ` Dmitry Baryshkov
2025-11-04 10:23     ` Loic Poulain

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=6bd38ab5-cf60-48b3-a27c-a33de9762cf0@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=loic.poulain@oss.qualcomm.com \
    --cc=robh@kernel.org \
    --cc=sre@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