From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 57BBAC433F5 for ; Fri, 1 Apr 2022 11:41:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9053484281; Fri, 1 Apr 2022 13:41:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="nZYSaWED"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 128EF84230; Fri, 1 Apr 2022 11:29:51 +0200 (CEST) Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 84AFE84281 for ; Fri, 1 Apr 2022 11:29:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Sergiu.Moga@microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1648805383; x=1680341383; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=OevkTkNdhXg6fKfhyBrNbn4P3t9OWznRfPUDzqEDUNQ=; b=nZYSaWEDjb5662+IQxS70ikI5riYqP3l1B6A9XV/bwoH71lqsI2c1G3R 0hkAjBblZwn4f5lAyns2u/j8fjpOP8uswTrH9SmHpqtW+qQXx3Cgdo3iv BXKWvGccMbyykPEObOUp3n1OzkZstNdmZoFNJPtUbvTLwsQHZmWh4Wq2p SV7FNWhwh3rPWIHy39fYvtpnS138F3lLMvhkcx3DPOThO68Yet4NIm+MP 9alMnG0MPf+o2y/q9Z5sHtLap1q7aKkEvxKLX+1rixXnSPxkG5QwCsrcK /mK2QMuZTlmENF/XNMgzPPsrE4tH+udUFCNwgSld4tuWAPSOrb8EO+BEd w==; X-IronPort-AV: E=Sophos;i="5.90,226,1643698800"; d="scan'208";a="158945868" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 01 Apr 2022 02:29:40 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 1 Apr 2022 02:29:40 -0700 Received: from ROB-ULT-M68701.amer.actel.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 1 Apr 2022 02:29:31 -0700 From: Sergiu Moga To: , , , , , , , , , , , , , , , CC: , Sergiu Moga Subject: [PATCH 0/5] sysreset: Add Atmel/Microchip sysreset driver Date: Fri, 1 Apr 2022 12:27:22 +0300 Message-ID: <20220401092727.9866-1-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Mailman-Approved-At: Fri, 01 Apr 2022 13:41:38 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean 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