[PATCH 0/5] sysreset: Add Atmel/Microchip sysreset driver

Sergiu Moga sergiu.moga at microchip.com
Fri Apr 1 11:27:22 CEST 2022


This patch series implements the Atmel/Microchip sysreset driver. It also adds
the missing RSTC node to the SAM9X60 and SAMA7G5 SoC files and removes the
older default reset driver from armv7. The Makefile for arm926ejs has also
been updated to ignore the default reset driver if SYSRESET is chosen.
What is more, Atmel/Microchip defconfigs now enable sysreset by default.

Sergiu Moga (5):
  ARM: dts: at91: Add RSTC node
  sysreset: Add Atmel/Microchip sysreset driver
  configs: at91: Enable SYSRESET for Atmel/Microchip's platforms
  ARM: mach-at91: arm926ejs: Add SYSRESET conditional
  ARM: mach-at91: armv7: Remove default reset driver

 arch/arm/dts/sam9x60.dtsi                     |  6 ++
 arch/arm/dts/sama7g5.dtsi                     |  7 ++
 arch/arm/mach-at91/arm926ejs/Makefile         |  2 +
 arch/arm/mach-at91/armv7/Makefile             |  3 -
 arch/arm/mach-at91/armv7/reset.c              | 31 --------
 configs/sam9x60ek_mmc_defconfig               |  3 +
 configs/sam9x60ek_nandflash_defconfig         |  3 +
 configs/sam9x60ek_qspiflash_defconfig         |  3 +
 configs/sama5d27_giantboard_defconfig         |  4 ++
 configs/sama5d27_som1_ek_mmc1_defconfig       |  4 ++
 configs/sama5d27_som1_ek_mmc_defconfig        |  4 ++
 configs/sama5d27_som1_ek_qspiflash_defconfig  |  4 ++
 configs/sama5d27_wlsom1_ek_mmc_defconfig      |  4 ++
 .../sama5d27_wlsom1_ek_qspiflash_defconfig    |  4 ++
 configs/sama5d2_icp_mmc_defconfig             |  4 ++
 configs/sama5d2_icp_qspiflash_defconfig       |  3 +
 configs/sama5d2_ptc_ek_mmc_defconfig          |  3 +
 configs/sama5d2_ptc_ek_nandflash_defconfig    |  3 +
 configs/sama5d2_xplained_emmc_defconfig       |  4 ++
 configs/sama5d2_xplained_mmc_defconfig        |  4 ++
 configs/sama5d2_xplained_qspiflash_defconfig  |  4 ++
 configs/sama5d2_xplained_spiflash_defconfig   |  4 ++
 configs/sama5d36ek_cmp_mmc_defconfig          |  3 +
 configs/sama5d36ek_cmp_nandflash_defconfig    |  3 +
 configs/sama5d36ek_cmp_spiflash_defconfig     |  3 +
 configs/sama5d3_xplained_mmc_defconfig        |  4 ++
 configs/sama5d3_xplained_nandflash_defconfig  |  4 ++
 configs/sama5d3xek_mmc_defconfig              |  4 ++
 configs/sama5d3xek_nandflash_defconfig        |  4 ++
 configs/sama5d3xek_spiflash_defconfig         |  4 ++
 configs/sama5d4_xplained_mmc_defconfig        |  4 ++
 configs/sama5d4_xplained_nandflash_defconfig  |  4 ++
 configs/sama5d4_xplained_spiflash_defconfig   |  4 ++
 configs/sama5d4ek_mmc_defconfig               |  4 ++
 configs/sama5d4ek_nandflash_defconfig         |  4 ++
 configs/sama5d4ek_spiflash_defconfig          |  4 ++
 configs/sama7g5ek_mmc1_defconfig              |  3 +
 configs/sama7g5ek_mmc_defconfig               |  3 +
 configs/vinco_defconfig                       |  3 +
 drivers/sysreset/Kconfig                      | 15 ++++
 drivers/sysreset/Makefile                     |  1 +
 drivers/sysreset/sysreset_at91.c              | 71 +++++++++++++++++++
 42 files changed, 226 insertions(+), 34 deletions(-)
 delete mode 100644 arch/arm/mach-at91/armv7/reset.c
 create mode 100644 drivers/sysreset/sysreset_at91.c

-- 
2.25.1



More information about the U-Boot mailing list