Changes since v1: * renamed BOR reset reason to BROWNOUT * replaced leading spaces with tabs * s/of_clk_get_by_name/clk_get/ in probe * moved RCC reset reason bit definitions into stm32_wdt.c * removed unnecessary indentation/alignment * had failures of reset reason & handler only print a warning but not fail the driver probe. All of these by Sascha * fixed an instance of stm32mp1 after the subarch was renamed to stm32mp, Spotted by Sam * Shortened the Kconfig label text for IWDG. Suggested by Roland * Dropped low level UART setup. It was incomplete and will be included in the first stage supprot patchset instead. Cheers Ahmad Ahmad Fatoum (6): ARM: stm32mp1: rename to stm32mp reset_source: add new Brownout reset (BOR) source watchdog: add stm32 watchdog and reset driver ARM: stm32mp: enable watchdog in oftree and defconfig ARM: stm32mp: stm32mp157c-dk2: compress the DTB ARM: stm32mp: add entry point, not point.pblb to pblb-y arch/arm/Kconfig | 4 +- arch/arm/Makefile | 2 +- arch/arm/boards/stm32mp157c-dk2/lowlevel.c | 4 +- .../{stm32mp1_defconfig => stm32mp_defconfig} | 7 +- arch/arm/dts/stm32mp157c-dk2.dts | 4 + .../{mach-stm32mp1 => mach-stm32mp}/Kconfig | 3 +- .../{mach-stm32mp1 => mach-stm32mp}/Makefile | 0 .../include/mach/debug_ll.h | 0 .../include/mach/stm32.h | 0 common/reset_source.c | 1 + drivers/watchdog/Kconfig | 8 + drivers/watchdog/Makefile | 1 + drivers/watchdog/stm32_wdt.c | 304 ++++++++++++++++++ images/Makefile | 2 +- .../{Makefile.stm32mp1 => Makefile.stm32mp} | 2 +- include/reset_source.h | 1 + 16 files changed, 333 insertions(+), 10 deletions(-) rename arch/arm/configs/{stm32mp1_defconfig => stm32mp_defconfig} (95%) rename arch/arm/{mach-stm32mp1 => mach-stm32mp}/Kconfig (72%) rename arch/arm/{mach-stm32mp1 => mach-stm32mp}/Makefile (100%) rename arch/arm/{mach-stm32mp1 => mach-stm32mp}/include/mach/debug_ll.h (100%) rename arch/arm/{mach-stm32mp1 => mach-stm32mp}/include/mach/stm32.h (100%) create mode 100644 drivers/watchdog/stm32_wdt.c rename images/{Makefile.stm32mp1 => Makefile.stm32mp} (78%) -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox