mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: qcom: pmk[345]50: enable reboot reason
@ 2023-05-03 14:13 Neil Armstrong
  2023-05-03 14:13 ` [PATCH 1/2] arm64: dts: qcom: pmk8350: add reboot-mode node using sdam_2 nvmem Neil Armstrong
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Neil Armstrong @ 2023-05-03 14:13 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski
  Cc: Abel Vesa, Krzysztof Kozlowski, linux-arm-msm, devicetree,
	linux-kernel, Neil Armstrong

Like SA8775P (at [1]), the SM8350, SM8450 & SM8550 platforms uses
the SDAM2 nvmem to pass the reboot reason.

This simply adds the sdam2 and reboot reason nodes
in the pmk8350 and pmk8550 dtsi.

Tested with:

and

triggering the following ABL logs on HDK8450:
  KeyPress:0, BootReason:2
  Fastboot=1, Recovery:0
and
  KeyPress:0, BootReason:1
  Fastboot=0, Recovery:1

[1] https://lore.kernel.org/lkml/20230417145536.414490-1-brgl@bgdev.pl/T/

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Neil Armstrong (2):
      arm64: dts: qcom: pmk8350: add reboot-mode node using sdam_2 nvmem
      arm64: dts: qcom: pmk8550: add reboot-mode node using sdam_2 nvmem

 arch/arm64/boot/dts/qcom/pmk8350.dtsi | 23 +++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/pmk8550.dtsi | 23 +++++++++++++++++++++++
 2 files changed, 46 insertions(+)
---
base-commit: 92e815cf07ed24ee1c51b122f24ffcf2964b4b13
change-id: 20230503-topic-sm8450-upstream-reboot-reason-e5fc827bac27

Best regards,
-- 
Neil Armstrong <neil.armstrong@linaro.org>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-25  4:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-03 14:13 [PATCH 0/2] arm64: dts: qcom: pmk[345]50: enable reboot reason Neil Armstrong
2023-05-03 14:13 ` [PATCH 1/2] arm64: dts: qcom: pmk8350: add reboot-mode node using sdam_2 nvmem Neil Armstrong
2023-05-03 14:19   ` Krzysztof Kozlowski
2023-05-03 14:13 ` [PATCH 2/2] arm64: dts: qcom: pmk8550: " Neil Armstrong
2023-05-03 14:21   ` Krzysztof Kozlowski
2023-05-25  4:54 ` [PATCH 0/2] arm64: dts: qcom: pmk[345]50: enable reboot reason Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®