linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: pm660: Add reboot mode support
@ 2021-08-24  2:19 Shawn Guo
  2021-09-01 14:55 ` AngeloGioacchino Del Regno
  2021-09-24 23:26 ` (subset) " Bjorn Andersson
  0 siblings, 2 replies; 3+ messages in thread
From: Shawn Guo @ 2021-08-24  2:19 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Rob Herring, Konrad Dybcio, AngeloGioacchino Del Regno,
	devicetree, linux-arm-msm, Shawn Guo

It turns out that the pm660 PON is a GEN2 device.  Update the compatible
to "qcom,pm8998-pon" and add reboot mode support, so that devices can be
rebooted into bootloader and recovery mode.  Tested on Xiaomi Redmi Note
7 phone.

While at it, drop the unnecessary newline between 'compatible' and 'reg'
property.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
---
 arch/arm64/boot/dts/qcom/pm660.dtsi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/pm660.dtsi b/arch/arm64/boot/dts/qcom/pm660.dtsi
index e847d7209afc..d0ef8a1675e2 100644
--- a/arch/arm64/boot/dts/qcom/pm660.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm660.dtsi
@@ -49,9 +49,10 @@
 		};
 
 		pon: pon@800 {
-			compatible = "qcom,pm8916-pon";
-
+			compatible = "qcom,pm8998-pon";
 			reg = <0x800>;
+			mode-bootloader = <0x2>;
+			mode-recovery = <0x1>;
 
 			pwrkey {
 				compatible = "qcom,pm8941-pwrkey";
-- 
2.17.1


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

* Re: [PATCH] arm64: dts: qcom: pm660: Add reboot mode support
  2021-08-24  2:19 [PATCH] arm64: dts: qcom: pm660: Add reboot mode support Shawn Guo
@ 2021-09-01 14:55 ` AngeloGioacchino Del Regno
  2021-09-24 23:26 ` (subset) " Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: AngeloGioacchino Del Regno @ 2021-09-01 14:55 UTC (permalink / raw)
  To: Shawn Guo, Bjorn Andersson
  Cc: Rob Herring, Konrad Dybcio, devicetree, linux-arm-msm

Il 24/08/21 04:19, Shawn Guo ha scritto:
> It turns out that the pm660 PON is a GEN2 device.  Update the compatible
> to "qcom,pm8998-pon" and add reboot mode support, so that devices can be
> rebooted into bootloader and recovery mode.  Tested on Xiaomi Redmi Note
> 7 phone.
> 
> While at it, drop the unnecessary newline between 'compatible' and 'reg'
> property.
> 
> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>

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

* Re: (subset) [PATCH] arm64: dts: qcom: pm660: Add reboot mode support
  2021-08-24  2:19 [PATCH] arm64: dts: qcom: pm660: Add reboot mode support Shawn Guo
  2021-09-01 14:55 ` AngeloGioacchino Del Regno
@ 2021-09-24 23:26 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2021-09-24 23:26 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Konrad Dybcio, AngeloGioacchino Del Regno, devicetree,
	Rob Herring, linux-arm-msm

On Tue, 24 Aug 2021 10:19:18 +0800, Shawn Guo wrote:
> It turns out that the pm660 PON is a GEN2 device.  Update the compatible
> to "qcom,pm8998-pon" and add reboot mode support, so that devices can be
> rebooted into bootloader and recovery mode.  Tested on Xiaomi Redmi Note
> 7 phone.
> 
> While at it, drop the unnecessary newline between 'compatible' and 'reg'
> property.
> 
> [...]

Applied, thanks!

[1/1] arm64: dts: qcom: pm660: Add reboot mode support
      commit: 36730a8f5f4561d4c3682dd3f310a2dbe6cf23f8

Best regards,
-- 
Bjorn Andersson <bjorn.andersson@linaro.org>

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

end of thread, other threads:[~2021-09-24 23:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-24  2:19 [PATCH] arm64: dts: qcom: pm660: Add reboot mode support Shawn Guo
2021-09-01 14:55 ` AngeloGioacchino Del Regno
2021-09-24 23:26 ` (subset) " Bjorn Andersson

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).