Skip to content

Commit 6e5b404

Browse files
eberman-quicshashim-quic
authored andcommitted
FROMLIST: arm64: dts: qcom: sa8775p-ride: Add PSCI SYSTEM_RESET2 types
sa8775p-ride 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-5-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@oss.qualcomm.com> Signed-off-by: Elliot Berman <elliot.berman@oss.qualcomm.com>
1 parent 82f2b0b commit 6e5b404

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,13 @@
657657
"GNSS_BOOT_MODE";
658658
};
659659

660+
&psci {
661+
reset-types {
662+
mode-bootloader = <0x10001 0x2>;
663+
mode-edl = <0 0x1>;
664+
};
665+
};
666+
660667
&qupv3_id_1 {
661668
status = "okay";
662669
};

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@
409409
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
410410
};
411411

412-
psci {
412+
psci: psci {
413413
compatible = "arm,psci-1.0";
414414
method = "smc";
415415

0 commit comments

Comments
 (0)