mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 0/8] ARM: i.MX7: add serial download reboot mode
Date: Tue, 18 Oct 2022 11:13:50 +0200	[thread overview]
Message-ID: <20221018091350.GR6702@pengutronix.de> (raw)
In-Reply-To: <20221017071000.1458292-1-a.fatoum@pengutronix.de>

On Mon, Oct 17, 2022 at 09:09:52AM +0200, Ahmad Fatoum wrote:
> 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

Applied, thanks

Sascha

> 
>  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
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



      parent reply	other threads:[~2022-10-18  9:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-17  7:09 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 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221018091350.GR6702@pengutronix.de \
    --to=sha@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox