From patchwork Thu Aug 30 11:50:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 10581605 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CD2F3920 for ; Thu, 30 Aug 2018 11:55:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBD632B2C7 for ; Thu, 30 Aug 2018 11:55:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AFE6A2B6C3; Thu, 30 Aug 2018 11:55:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 517C92B2C7 for ; Thu, 30 Aug 2018 11:55:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=eYGfmF1fAy7Lp0jmvtxYsIzNxUvNh83p+UwYpBsxs3w=; b=k/OAi9GoXB7SSf gZkksdEJoZaKzPW9QWvlgvHSNaKJk3K2PvQgBLOcFxM88KpOiSsKQ+d8+/CzqTmDreh1fxdXAnC+D VZMUtVpz0KZ3emlh1xwF5q+Irx/zb/ctW0PLDsYSfVFe9grycumeqwwCSPWyOR9n4n7V3+6XaQLL1 mBoT9H1HpkLBnM2gaq6JIEmXooGebkTavm5FkpRIScdyBoPhEw0/M4INwnWG300KbsIaikoXhKuNg bjub38Va78DUNAdvNjAZqK67+DhxqiYUGJok6dKcOw+eFj1fNQvKBz7jmT1CHeSpBN5nbJ6UfUwar gJ4q7W0z0SJgJ6uNKQAA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvLY1-0006am-8f; Thu, 30 Aug 2018 11:55:37 +0000 Received: from esa4.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvLTE-0003Fj-C2 for linux-arm-kernel@lists.infradead.org; Thu, 30 Aug 2018 11:51:10 +0000 X-IronPort-AV: E=Sophos;i="5.53,306,1531810800"; d="scan'208";a="18692616" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 30 Aug 2018 04:50:27 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Thu, 30 Aug 2018 04:50:26 -0700 From: Claudiu Beznea To: , , , Subject: [PATCH 0/6] shutdown procedure verification for SAMA5D2 Date: Thu, 30 Aug 2018 14:50:05 +0300 Message-ID: <1535629811-13403-1-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180830_045040_485744_E7B406AF X-CRM114-Status: UNSURE ( 6.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Claudiu Beznea , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, Patch 1 from this series implement a fix for shutdown procedure for SAMA5D2. The rest of the patch are improvements as follows: patch 2 - use only one function for poweroff patches 3-6 - cosmetic improvements The patches are based on latest sys-reset/for-next [1]. Thank you, Claudiu Beznea [1] https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git Claudiu Beznea (6): power: reset: at91-poweroff: switch to slow clock before shutdown power: reset: at91-poweroff: use only one poweroff function power: reset: at91-poweroff: make mpddrc_base part of struct shdwc power: reset: at91-poweroff: make sclk part of struct shdwc power: reset: at91-poweroff: rename at91_shdwc_base member of struct shdwc power: reset: at91-poweroff: do not procede if at91_shdwc is allocated arch/arm/mach-at91/pm_suspend.S | 8 +++ drivers/power/reset/at91-sama5d2_shdwc.c | 119 +++++++++++++++++++++---------- 2 files changed, 88 insertions(+), 39 deletions(-) Acked-by: Nicolas Ferre Signed-off-by: Sebastian Reichel