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 DA2C2C4332F for ; Wed, 4 Jan 2023 14:04:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EF1A0852B5; Wed, 4 Jan 2023 15:04:34 +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="uYEtLCUl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 41D2A85174; Wed, 4 Jan 2023 15:04:31 +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 29A50851EE for ; Wed, 4 Jan 2023 15:04:27 +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=1672841067; x=1704377067; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=KscTXx7J4vQnc8KsNc6YWTAePVJyePWzMWdH5NXbYwM=; b=uYEtLCUlPS/ulXvnr9Nfxwd8RJ0hqDuv12SvuVYD8N05EP86pnk3vbU5 3iqyMduZwwR4th9IDHbB4C8zRcoSKURoZTC5axDN+rrZW6yYBGRLZSMo3 JMQre9+vuXftQlyRexdNleVDfZAduwktK477eO6NNAl656bG/5xQPyg5Z DSItT8WH6MjwYd5EcFmf6VnvbOgmo6sMfOXLW+yUsOkO7P2YkNV0WIlxT cTatRfkxC+Cq9HoK75zbLq1aLXH/3WOnDqc1coUPCsTT6/9m96LFw5qNR bglNEFJ44CPaAcIbarUDtpuYlzvAGTusSHpqPvlq8eGZB9w72gitW8jlN g==; X-IronPort-AV: E=Sophos;i="5.96,300,1665471600"; d="scan'208";a="190700427" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Jan 2023 07:04:22 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 4 Jan 2023 07:04:22 -0700 Received: from ROB-ULT-M68701.mchp-main.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Wed, 4 Jan 2023 07:04:19 -0700 From: Sergiu Moga To: , , , , , , , , , CC: Subject: [PATCH v2 0/2] Add basic reset driver for assert/deassert operations Date: Wed, 4 Jan 2023 16:03:16 +0200 Message-ID: <20230104140318.149947-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. v1 -> v2: - rebase on u-boot next 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 | 9 +- 5 files changed, 210 insertions(+), 8 deletions(-) create mode 100644 arch/arm/mach-at91/include/mach/sama7-sfr.h create mode 100644 drivers/reset/reset-at91.c -- 2.34.1