public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sergiu Moga <sergiu.moga@microchip.com>
To: <eugen.hristev@microchip.com>, <sandeep.sheriker@microchip.com>,
	<greg@embeddedgreg.com>, <nicolas.ferre@microchip.com>,
	<ludovic.desroches@microchip.com>,
	<gregory.clement@free-electrons.com>, <mihai.sain@microchip.com>,
	<claudiu.beznea@microchip.com>, <tudor.ambarus@microchip.com>,
	<Hari.PrasathGE@microchip.com>, <clement.leger@bootlin.com>,
	<samuel@sholland.org>, <sr@denx.de>, <xypron.glpk@gmx.de>,
	<seanga2@gmail.com>, <bmeng.cn@gmail.com>
Cc: <u-boot@lists.denx.de>, Sergiu Moga <sergiu.moga@microchip.com>
Subject: [PATCH 0/5] sysreset: Add Atmel/Microchip sysreset driver
Date: Fri, 1 Apr 2022 12:27:22 +0300	[thread overview]
Message-ID: <20220401092727.9866-1-sergiu.moga@microchip.com> (raw)

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


             reply	other threads:[~2022-04-01 11:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-01  9:27 Sergiu Moga [this message]
2022-04-01  9:27 ` [PATCH 1/5] ARM: dts: at91: Add RSTC node Sergiu Moga
2022-04-01  9:27 ` [PATCH 2/5] sysreset: Add Atmel/Microchip sysreset driver Sergiu Moga
2022-04-01  9:27 ` [PATCH 3/5] configs: at91: Enable SYSRESET for Atmel/Microchip's platforms Sergiu Moga
2022-04-01  9:27 ` [PATCH 4/5] ARM: mach-at91: arm926ejs: Add SYSRESET conditional Sergiu Moga
2022-04-01  9:27 ` [PATCH 5/5] ARM: mach-at91: armv7: Remove default reset driver Sergiu Moga
2022-04-27  5:54 ` [PATCH 0/5] sysreset: Add Atmel/Microchip sysreset driver Eugen.Hristev

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=20220401092727.9866-1-sergiu.moga@microchip.com \
    --to=sergiu.moga@microchip.com \
    --cc=Hari.PrasathGE@microchip.com \
    --cc=bmeng.cn@gmail.com \
    --cc=claudiu.beznea@microchip.com \
    --cc=clement.leger@bootlin.com \
    --cc=eugen.hristev@microchip.com \
    --cc=greg@embeddedgreg.com \
    --cc=gregory.clement@free-electrons.com \
    --cc=ludovic.desroches@microchip.com \
    --cc=mihai.sain@microchip.com \
    --cc=nicolas.ferre@microchip.com \
    --cc=samuel@sholland.org \
    --cc=sandeep.sheriker@microchip.com \
    --cc=seanga2@gmail.com \
    --cc=sr@denx.de \
    --cc=tudor.ambarus@microchip.com \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /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