mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/8] ARM: i.MX7: add serial download reboot mode
@ 2022-10-17  7:09 Ahmad Fatoum
  2022-10-17  7:09 ` [PATCH 1/8] restart: make restart.h header self-contained Ahmad Fatoum
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Ahmad Fatoum @ 2022-10-17  7:09 UTC (permalink / raw)
  To: barebox

BootROM can be forced into USB recovery on i.MX7 just like on the
i.MX8M, with the difference that reset is a bit more involved,
because warm resets via watchdogs are broken on this SoC.

We do a bit of cleanup and then tackle that via a syscon-reboot
device describing the Cortex-A7 CPU0 reset.

Ahmad Fatoum (8):
  restart: make restart.h header self-contained
  restart: do restart-priority OF parsing in restart_handler_register
  restart: add reset -w for warm bootrom reset
  watchdog: imxwd: don't register broken imxwd-warm for i.MX7
  watchdog: imxwd: set imxwd-warm as reboot mode default handler
  Documentations: devicetree: bindings: document watchdog-priority
  ARM: i.MX7: describe USB serial download boot mode
  ARM: stm32mp: mark iwdg2 with barebox,restart-warm-bootrom

 Documentation/boards/imx.rst                  |  2 +-
 Documentation/boards/stm32mp.rst              |  6 ++-
 .../devicetree/bindings/power/restart.rst     | 15 ++++++++
 .../devicetree/bindings/watchdog/watchdog.rst | 10 +++++
 Documentation/user/reboot-mode.rst            |  7 +++-
 arch/arm/configs/imx_v7_defconfig             |  2 +
 arch/arm/dts/imx7.dtsi                        | 37 +++++++++++++++++++
 arch/arm/dts/stm32mp131.dtsi                  |  4 ++
 arch/arm/dts/stm32mp151.dtsi                  |  4 ++
 commands/reset.c                              | 16 +++++---
 common/restart.c                              | 37 +++++++++----------
 drivers/clk/clk-stm32mp1.c                    |  2 +-
 drivers/mfd/da9053.c                          |  2 +-
 drivers/mfd/da9063.c                          |  2 +-
 drivers/mfd/rn5t568.c                         |  2 +-
 drivers/power/reset/stm32-reboot.c            |  6 ++-
 drivers/power/reset/syscon-reboot.c           |  1 +
 drivers/watchdog/imxwd.c                      | 31 ++++++++++++----
 include/restart.h                             | 15 ++++++--
 include/soc/stm32/reboot.h                    |  6 ++-
 20 files changed, 161 insertions(+), 46 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power/restart.rst
 create mode 100644 Documentation/devicetree/bindings/watchdog/watchdog.rst
 create mode 100644 arch/arm/dts/imx7.dtsi

-- 
2.30.2




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

end of thread, other threads:[~2022-10-18  9:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-17  7:09 [PATCH 0/8] ARM: i.MX7: add serial download reboot mode Ahmad Fatoum
2022-10-17  7:09 ` [PATCH 1/8] restart: make restart.h header self-contained Ahmad Fatoum
2022-10-17  7:09 ` [PATCH 2/8] restart: do restart-priority OF parsing in restart_handler_register Ahmad Fatoum
2022-10-17  7:09 ` [PATCH 3/8] restart: add reset -w for warm bootrom reset Ahmad Fatoum
2022-10-17  7:09 ` [PATCH 4/8] watchdog: imxwd: don't register broken imxwd-warm for i.MX7 Ahmad Fatoum
2022-10-17  7:09 ` [PATCH 5/8] watchdog: imxwd: set imxwd-warm as reboot mode default handler Ahmad Fatoum
2022-10-17  7:09 ` [PATCH 6/8] Documentations: devicetree: bindings: document watchdog-priority Ahmad Fatoum
2022-10-17  7:09 ` [PATCH 7/8] ARM: i.MX7: describe USB serial download boot mode Ahmad Fatoum
2022-10-17  7:10 ` [PATCH 8/8] ARM: stm32mp: mark iwdg2 with barebox,restart-warm-bootrom Ahmad Fatoum
2022-10-18  9:13 ` [PATCH 0/8] ARM: i.MX7: add serial download reboot mode Sascha Hauer

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