mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-01 09:13:37 +00:00
arm64: dts: qcom: pm660: Add reboot mode support
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> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210824021918.17271-1-shawn.guo@linaro.org
This commit is contained in:
parent
5f65408d9b
commit
36730a8f5f
1 changed files with 3 additions and 2 deletions
|
|
@ -49,9 +49,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
pon: pon@800 {
|
pon: pon@800 {
|
||||||
compatible = "qcom,pm8916-pon";
|
compatible = "qcom,pm8998-pon";
|
||||||
|
|
||||||
reg = <0x800>;
|
reg = <0x800>;
|
||||||
|
mode-bootloader = <0x2>;
|
||||||
|
mode-recovery = <0x1>;
|
||||||
|
|
||||||
pwrkey {
|
pwrkey {
|
||||||
compatible = "qcom,pm8941-pwrkey";
|
compatible = "qcom,pm8941-pwrkey";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue