<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot/u-boot.git/drivers/sysreset/Kconfig, branch master</title>
<subtitle>Das U-Boot Source Tree</subtitle>
<id>https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/atom?h=master</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/'/>
<updated>2026-07-03T19:45:58+00:00</updated>
<entry>
<title>drivers: sysreset: revert support for args in request</title>
<updated>2026-07-03T19:45:58+00:00</updated>
<author>
<name>Quentin Schulz</name>
<email>quentin.schulz@cherry.de</email>
</author>
<published>2026-07-03T16:43:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=c480bbd92b3273ecff5396da9221e7bcb08774ba'/>
<id>urn:sha1:c480bbd92b3273ecff5396da9221e7bcb08774ba</id>
<content type='text'>
This reverts:
- commit e49c84f7bb7b ("doc: usage: cmd: reset: specify when the -edl
  option is available")
- commit 1076feb8a3f9 ("cmd: boot: fix edl being shown when not
  supported")
- commit 63c806ba0e12 ("qcom_defconfig: enable psci based sysreset")
- commit ef06c5d76ff4 ("cmd: boot: Add '-edl' option to reset command
  documentation")
- commit 32825eaddc37 ("sysreset: Implement PSCI based reset to EDL mode
  for QCOM SoCs")
- commit fcb48b89813b ("drivers: sysreset: Add sysreset op that can take
  arguments")

There was a conflict reverting commit 63c806ba0e12 ("qcom_defconfig:
enable psci based sysreset") due to commit 02ef1859b44f ("configs:
Resync with savedefconfig"), but the conflict resolution was trivial.

The args support for the sysreset uclass contains a logic bug. The first
sysreset device implementing the request_arg callback will consume the
args, not support the specified arg and thus return -EPROTONOSUPPORT
which will stop the iteration over all sysreset devices.

This is an issue if one has multiple sysreset devices and each with
support for different (valid) args. If a sysreset device implements a
-dummy argument and another -foo and a user calls reset -dummy from the
U-Boot CLI, it'll depend on which sysreset device will be attempted
first. If it is the one implementing -foo, it'll return it doesn't
support the argument with -EPROTONOSUPPORT in which case the device
implementing -dummy will never be attempted and instead we'll do a cold
reset which is very likely not what's expected from the user.

Casey suggested[1] we revert this and start from scratch again with a
different implementation instead.

[1] https://lore.kernel.org/u-boot/77ff0f56-5c3b-42e7-bdd1-bf90296da900@linaro.org/

Acked-by: Casey Connolly &lt;casey.connolly@linaro.org&gt;
Signed-off-by: Quentin Schulz &lt;quentin.schulz@cherry.de&gt;
</content>
</entry>
<entry>
<title>sysreset: Implement PSCI based reset to EDL mode for QCOM SoCs</title>
<updated>2026-04-27T10:38:44+00:00</updated>
<author>
<name>Varadarajan Narayanan</name>
<email>varadarajan.narayanan@oss.qualcomm.com</email>
</author>
<published>2026-01-21T06:39:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=32825eaddc37670bb87f98b338aef8238e259e72'/>
<id>urn:sha1:32825eaddc37670bb87f98b338aef8238e259e72</id>
<content type='text'>
Implement request_arg() sysreset_op for QCOM SoCs that use
PSCI to reset to EDL (Emergency Download) mode.

Reviewed-by: Casey Connolly &lt;casey.connolly@linaro.org&gt;
Reviewed-by: Sumit Garg &lt;sumit.garg@oss.qualcomm.com&gt;
Signed-off-by: Varadarajan Narayanan &lt;varadarajan.narayanan@oss.qualcomm.com&gt;
Link: https://patch.msgid.link/20260121063920.1500293-4-varadarajan.narayanan@oss.qualcomm.com
[casey: add missing ARM_SMCCC depends to kconfig to fix CI allyesconfig]
Signed-off-by: Casey Connolly &lt;casey.connolly@linaro.org&gt;
</content>
</entry>
<entry>
<title>drivers: sysreset: Add sysreset op that can take arguments</title>
<updated>2026-04-27T10:38:44+00:00</updated>
<author>
<name>Varadarajan Narayanan</name>
<email>varadarajan.narayanan@oss.qualcomm.com</email>
</author>
<published>2026-01-21T06:39:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=fcb48b89813b14f38b31b86b4a6ace376bd86d8b'/>
<id>urn:sha1:fcb48b89813b14f38b31b86b4a6ace376bd86d8b</id>
<content type='text'>
Add a 'request_arg' op to struct sysreset_ops to enable sysreset drivers
to receive arguments given to the 'reset' command. Process the
request_arg() op before the usual request() op.

Reviewed-by: Casey Connolly &lt;casey.connolly@linaro.org&gt;
Reviewed-by: Sumit Garg &lt;sumit.garg@oss.qualcomm.com&gt;
Signed-off-by: Varadarajan Narayanan &lt;varadarajan.narayanan@oss.qualcomm.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Link: https://patch.msgid.link/20260121063920.1500293-3-varadarajan.narayanan@oss.qualcomm.com
Signed-off-by: Casey Connolly &lt;casey.connolly@linaro.org&gt;
</content>
</entry>
<entry>
<title>Replace TARGET namespace and cleanup properly</title>
<updated>2026-02-14T17:06:46+00:00</updated>
<author>
<name>Tien Fong Chee</name>
<email>tien.fong.chee@altera.com</email>
</author>
<published>2026-02-13T12:27:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=62f7a94602094617ac384839ed695c2906893a88'/>
<id>urn:sha1:62f7a94602094617ac384839ed695c2906893a88</id>
<content type='text'>
TARGET namespace is for machines / boards / what-have-you that
building U-Boot for. Simply replace from TARGET to ARCH
make things more clear and proper for ALL SoCFPGA.

Signed-off-by: Brian Sune &lt;briansune@gmail.com&gt;
Reviewed-by: Tien Fong Chee &lt;tien.fong.chee@altera.com&gt;

# Conflicts:
#	drivers/ddr/altera/Makefile
</content>
</entry>
<entry>
<title>sysreset: Add QEMU virtual system controller driver</title>
<updated>2026-02-02T20:24:40+00:00</updated>
<author>
<name>Kuan-Wei Chiu</name>
<email>visitorckw@gmail.com</email>
</author>
<published>2026-01-07T20:18:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=0429298a1a76b971c0b0156918f927d6329e53bc'/>
<id>urn:sha1:0429298a1a76b971c0b0156918f927d6329e53bc</id>
<content type='text'>
Introduce a new sysreset driver for the QEMU Virtual System Controller.
This device is found on QEMU "virt" machines (such as the m68k virt
target) and provides a mechanism to trigger system reset and power-off
events.

The driver maps U-Boot sysreset types to the corresponding controller
commands:
- SYSRESET_WARM / SYSRESET_COLD -&gt; VIRT_CTRL_CMD_RESET
- SYSRESET_POWER_OFF -&gt; VIRT_CTRL_CMD_HALT

Signed-off-by: Kuan-Wei Chiu &lt;visitorckw@gmail.com&gt;
Reviewed-by: Simon Glass &lt;simon.glass@canonical.com&gt;
</content>
</entry>
<entry>
<title>sysreset: Tighten some sysreset driver dependencies</title>
<updated>2025-08-14T16:59:35+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-08-04T21:57:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=38931172edd71c27101ac19361819d945ae337d8'/>
<id>urn:sha1:38931172edd71c27101ac19361819d945ae337d8</id>
<content type='text'>
The MPC83xx sysreset driver cannot build without access to some
architecture specific header files. Express that requirements in Kconfig
as well.

Reviewed-by: Peter Robinson &lt;pbrobinson@gmail.com&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>sysreset: psci: Fix SPL dependency</title>
<updated>2025-07-23T23:37:11+00:00</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@amd.com</email>
</author>
<published>2025-07-17T08:41:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=cf13f33d3a684c12f1ef835793cd66193df00c47'/>
<id>urn:sha1:cf13f33d3a684c12f1ef835793cd66193df00c47</id>
<content type='text'>
SYSRESET_PSCI should select SPL_ARM_PSCI_FW only when SPL_SYSRESET is
enabled/required. This change saves 1.6kB on Xilinx ZynqMP Kria platform.

Signed-off-by: Michal Simek &lt;michal.simek@amd.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>sysreset: implement MAX9807 sysreset functions</title>
<updated>2025-05-08T05:30:53+00:00</updated>
<author>
<name>Svyatoslav Ryhel</name>
<email>clamor95@gmail.com</email>
</author>
<published>2024-10-06T13:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=5f3588a94d219818c1b3a2dac4d063f77f48a5ef'/>
<id>urn:sha1:5f3588a94d219818c1b3a2dac4d063f77f48a5ef</id>
<content type='text'>
MAX8907 PMIC has embedded poweroff function used by some device to initiane
device power off. Implement it as optional sysreset driver guarded by
kconfig option and system-power-controller device tree property.

Tested-by: Ion Agorria &lt;ion@agorria.com&gt;
Signed-off-by: Svyatoslav Ryhel &lt;clamor95@gmail.com&gt;
</content>
</entry>
<entry>
<title>sysreset: diverge GPIO reset and poweroff configs per-phase</title>
<updated>2025-04-12T06:42:36+00:00</updated>
<author>
<name>Svyatoslav Ryhel</name>
<email>clamor95@gmail.com</email>
</author>
<published>2025-03-29T11:02:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=782bd104b696d9a10999f285a68d87e4fc85acb6'/>
<id>urn:sha1:782bd104b696d9a10999f285a68d87e4fc85acb6</id>
<content type='text'>
GPIO reset and power-off functionality depends on device tree data, which
is often absent in SPL or TPL. To address this, incorporate PHASE_ into the
config option and add Kconfig option or each phase.

Adjust SYSRESET_GPIO and POWEROFF_GPIO uses to address possible
regressions.

Signed-off-by: Svyatoslav Ryhel &lt;clamor95@gmail.com&gt;
</content>
</entry>
<entry>
<title>sysreset: qcom-pshold: remove ARCH_IPQ40XX dependency</title>
<updated>2025-03-17T13:38:19+00:00</updated>
<author>
<name>Sam Day</name>
<email>me@samcday.com</email>
</author>
<published>2025-01-25T19:59:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/bootloaders/u-boot/u-boot.git/commit/?id=11c7187253df306c04c1b48142ed046dc1351c45'/>
<id>urn:sha1:11c7187253df306c04c1b48142ed046dc1351c45</id>
<content type='text'>
Depending on ARCH_IPQ40XX is too restrictive, as this architecture is
explicitly armv7. This driver is also used on msm8916 devices, which
have cortex-a53 armv8 cores.

Signed-off-by: Sam Day &lt;me@samcday.com&gt;
Link: https://lore.kernel.org/r/20250125-msm8916-sysreset-v1-2-62073932ff0e@samcday.com
Signed-off-by: Caleb Connolly &lt;caleb.connolly@linaro.org&gt;
</content>
</entry>
</feed>
