public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v5 0/5] Implement reset to EDL for qcs9100
@ 2026-01-13 10:38 Varadarajan Narayanan
  2026-01-13 10:38 ` [PATCH v5 1/5] arm: psci: Add API to check for support of specific PSCI function Varadarajan Narayanan
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Varadarajan Narayanan @ 2026-01-13 10:38 UTC (permalink / raw)
  To: trini, casey.connolly, neil.armstrong, sumit.garg,
	varadarajan.narayanan, ilias.apalodimas, jerome,
	marek.vasut+renesas, christopher.obbard, me, michal.simek,
	clamor95, u-boot, u-boot-qcom

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

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


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

end of thread, other threads:[~2026-01-21  6:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-13 10:38 [PATCH v5 0/5] Implement reset to EDL for qcs9100 Varadarajan Narayanan
2026-01-13 10:38 ` [PATCH v5 1/5] arm: psci: Add API to check for support of specific PSCI function Varadarajan Narayanan
2026-01-13 10:38 ` [PATCH v5 2/5] drivers: sysreset: Add sysreset op that can take arguments Varadarajan Narayanan
2026-01-13 10:38 ` [PATCH v5 3/5] sysreset: Implement PSCI based reset to EDL mode for QCOM SoCs Varadarajan Narayanan
2026-01-13 10:38 ` [PATCH v5 4/5] cmd: boot: Add '-edl' option to reset command documentation Varadarajan Narayanan
2026-01-13 10:38 ` [PATCH v5 5/5] qcom_defconfig: enable psci based sysreset Varadarajan Narayanan
2026-01-13 14:42 ` [PATCH v5 0/5] Implement reset to EDL for qcs9100 Tom Rini
2026-01-16  7:09   ` Varadarajan Narayanan
2026-01-16 14:43     ` Tom Rini
2026-01-19  5:39       ` Varadarajan Narayanan
2026-01-19 17:07         ` Tom Rini
2026-01-21  6:42           ` Varadarajan Narayanan
2026-01-16  9:20 ` Sumit Garg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox