Skip to content

Commit a1b6bab

Browse files
eberman-quicKomal-Bajaj
authored andcommitted
FROMLSIT: arm64: dts: qcom: qcm6490-idp: Add PSCI SYSTEM_RESET2 types
qcm6490-idp firmware supports vendor-defined SYSTEM_RESET2 types. Describe the reset types: "bootloader" will cause device to reboot and stop in the bootloader's fastboot mode. "edl" will cause device to reboot into "emergency download mode", which permits loading images via the Firehose protocol. Link: https://lore.kernel.org/r/20250303-arm-psci-system_reset2-vendor-reboots-v9-3-b2cf4a20feda@oss.qualcomm.com Co-developed-by: Shivendra Pratap <quic_spratap@quicinc.com> Signed-off-by: Shivendra Pratap <quic_spratap@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Elliot Berman <elliot.berman@oss.qualcomm.com>
1 parent 757e96f commit a1b6bab

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

arch/arm64/boot/dts/qcom/qcm6490-idp.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,13 @@
654654
status = "okay";
655655
};
656656

657+
&psci {
658+
reset-types {
659+
mode-bootloader = <0x10001 0x2>;
660+
mode-edl = <0 0x1>;
661+
};
662+
};
663+
657664
&qupv3_id_0 {
658665
status = "okay";
659666
};

arch/arm64/boot/dts/qcom/sc7280.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@
857857
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
858858
};
859859

860-
psci {
860+
psci: psci {
861861
compatible = "arm,psci-1.0";
862862
method = "smc";
863863

0 commit comments

Comments
 (0)