[PATCH v5 0/5] Implement reset to EDL for qcs9100
Sumit Garg
sumit.garg at kernel.org
Fri Jan 16 10:20:19 CET 2026
On Tue, Jan 13, 2026 at 04:08:35PM +0530, Varadarajan Narayanan wrote:
> Using the 'reboot edl' command in Linux, the platform can reboot to the
> Emergency Download mode. Implement the same for U-Boot.
>
> v5: * Update author and signed-off-by email id from quicinc.com to oss.qualcomm.com
> * Add r-b tags
> * Enable CONFIG_SYSRESET_QCOM_PSCI in qcom_defconfig instead of qcs9100_defconfig
Thanks for the patience with this patch-set.
Feel free to add:
Reviewed-by: Sumit Garg <sumit.garg at oss.qualcomm.com>
-Sumit
>
> v4: * Update documentation about '-edl' option
> * Add API to check for support of PSCI functions
> * Check if RESET2 is supported before issuing the command
> * Fix compiler warnings
>
> v3: * Introduce a sysreset op that will pass down the 'reset' command
> arguments to registered handlers
> * Handle 'reset to edl' alone in qcom-psci driver
>
> v2: * Rebased to recent sources
> * Dropped the first patch as it is not applicable anymore
> * Bind the new driver from psci driver
>
> Varadarajan Narayanan (5):
> arm: psci: Add API to check for support of specific PSCI function
> drivers: sysreset: Add sysreset op that can take arguments
> sysreset: Implement PSCI based reset to EDL mode for QCOM SoCs
> cmd: boot: Add '-edl' option to reset command documentation
> qcom_defconfig: enable psci based sysreset
>
> arch/arm/cpu/armv8/fwcall.c | 15 +++++++++
> arch/arm/include/asm/system.h | 1 +
> cmd/boot.c | 3 ++
> configs/qcom_defconfig | 1 +
> doc/usage/cmd/reset.rst | 2 ++
> drivers/firmware/psci.c | 4 +++
> drivers/sysreset/Kconfig | 6 ++++
> drivers/sysreset/Makefile | 1 +
> drivers/sysreset/sysreset-uclass.c | 32 +++++++++++++++++++
> drivers/sysreset/sysreset_qcom-psci.c | 45 +++++++++++++++++++++++++++
> include/sysreset.h | 18 +++++++++++
> 11 files changed, 128 insertions(+)
> create mode 100644 drivers/sysreset/sysreset_qcom-psci.c
>
> --
> 2.34.1
>
More information about the U-Boot
mailing list