From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: "Matti Lehtimäki" <matti.lehtimaki@gmail.com>,
linux-arm-msm@vger.kernel.org
Cc: ~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org, Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/5] ARM: dts: qcom: apq8026-samsung-matisse-wifi: Add reboot-mode node
Date: Sat, 20 May 2023 01:27:04 +0200 [thread overview]
Message-ID: <3cfacc54-6cc5-1a11-d7db-96409097f290@linaro.org> (raw)
In-Reply-To: <20230519210903.117030-6-matti.lehtimaki@gmail.com>
On 19.05.2023 23:09, Matti Lehtimäki wrote:
> This enables userspace to signal the bootloader to go into the
> bootloader or recovery mode.
>
> The magic values can be found in both the downstream kernel and the LK
> kernel (bootloader).
>
> Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
> ---
> .../arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts b/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
> index 91b860e24681..a05c41191efd 100644
> --- a/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
> +++ b/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
> @@ -279,6 +279,16 @@ touchscreen@4a {
> };
> };
>
> +&imem {
> + status = "okay";
Drop, undisable in dtsi
> +
> + reboot-mode {
You can add a label like imem_reboot_mode and refer to just this
thing from the device dt. Though I'm fairly sure the modes should
be common.
Konrad
> + mode-bootloader = <0x77665500>;
> + mode-normal = <0x77665501>;
> + mode-recovery = <0x77665502>;
> + };
> +};
> +
> &rpm_requests {
> regulators {
> compatible = "qcom,rpm-pm8226-regulators";
prev parent reply other threads:[~2023-05-19 23:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-19 21:08 [PATCH 0/5] PMU, rpm-stats and IMEM for MSM8226 Matti Lehtimäki
2023-05-19 21:08 ` [PATCH 1/5] dt-bindings: sram: qcom,imem: Document MSM8226 Matti Lehtimäki
2023-05-20 9:59 ` Conor Dooley
2023-05-19 21:08 ` [PATCH 2/5] ARM: dts: qcom: msm8226: Add PMU node Matti Lehtimäki
2023-05-19 23:22 ` Konrad Dybcio
2023-05-19 21:09 ` [PATCH 3/5] ARM: dts: qcom: msm8226: Add rpm-stats device node Matti Lehtimäki
2023-05-19 23:24 ` Konrad Dybcio
2023-05-19 21:09 ` [PATCH 4/5] ARM: dts: qcom: msm8226: Add IMEM node Matti Lehtimäki
2023-05-19 23:25 ` Konrad Dybcio
2023-05-19 23:26 ` Konrad Dybcio
2023-05-19 21:09 ` [PATCH 5/5] ARM: dts: qcom: apq8026-samsung-matisse-wifi: Add reboot-mode node Matti Lehtimäki
2023-05-19 23:27 ` Konrad Dybcio [this message]
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=3cfacc54-6cc5-1a11-d7db-96409097f290@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matti.lehtimaki@gmail.com \
--cc=phone-devel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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;
as well as URLs for NNTP newsgroup(s).