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 36E2FC4332F for ; Fri, 23 Dec 2022 12:36:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 24950854C5; Fri, 23 Dec 2022 13:34:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (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=pass (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="EccXBq9D"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E9F75854CD; Fri, 23 Dec 2022 13:34:51 +0100 (CET) Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 8DBBB854C0 for ; Fri, 23 Dec 2022 13:34:47 +0100 (CET) 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=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1671798888; x=1703334888; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=fqtlRL/8rzzLC8kkzxFNVkIEOQBq/ut4gavrMuw1C9Y=; b=EccXBq9DjlpRElMsMFlF0thjsRLoOqNNOicZsyNQjrK9AhCvaLRJXi2k spxRHfHR1Q7PHukVB4fzaC5f26ielHULqXaHiRcN5zeNmRpiCkdNbeh12 SeQUoAWNJ06hxPKoQ0sW1i55UbTT6cg3pdui1FZALRyRb1HG/t3uDTiEX yRVgESSjHjatDPFWNEe+YntDM29fQmxvV3JOg4020xirKFsvLIC2naYLe A6z8MAlNvsYmlL1mXlQ/yBOVSJz1uFbm13bYrSTwthViFt8v5V/g7I0Tb FMFMrTLW1B4vqLtEeDjDn5V9gT+dUHGH5hgmNhSP1eaPYDL+uBN0jhh4z g==; X-IronPort-AV: E=Sophos;i="5.96,268,1665471600"; d="scan'208";a="189471785" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 23 Dec 2022 05:34:46 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Fri, 23 Dec 2022 05:34:44 -0700 Received: from ROB-ULT-M68701.mchp-main.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Fri, 23 Dec 2022 05:34:41 -0700 From: Sergiu Moga To: , , , , , , , , CC: Subject: [PATCH 0/2] Add basic reset driver for assert/deassert operations Date: Fri, 23 Dec 2022 14:34:24 +0200 Message-ID: <20221223123425.362737-1-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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.6 at phobos.denx.de X-Virus-Status: Clean This patch series originates from: https://lists.denx.de/pipermail/u-boot/2022-December/502865.html Implement a basic driver to enable assert/deassert operations. Cristian Birsan (1): ARM: at91: add sama7 SFR definitions Sergiu Moga (1): reset: at91: Add reset driver for basic assert/deassert operations arch/arm/mach-at91/include/mach/sama7-sfr.h | 59 ++++++++ drivers/reset/Kconfig | 8 ++ drivers/reset/Makefile | 1 + drivers/reset/reset-at91.c | 141 ++++++++++++++++++++ drivers/sysreset/sysreset_at91.c | 10 +- 5 files changed, 210 insertions(+), 9 deletions(-) create mode 100644 arch/arm/mach-at91/include/mach/sama7-sfr.h create mode 100644 drivers/reset/reset-at91.c -- 2.34.1