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: 10581581 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 2E20C5A4 for ; Thu, 30 Aug 2018 11:50:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CD0A2AED0 for ; Thu, 30 Aug 2018 11:50:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10A882AF6C; Thu, 30 Aug 2018 11:50:29 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AF122AED0 for ; Thu, 30 Aug 2018 11:50:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727499AbeH3PwN (ORCPT ); Thu, 30 Aug 2018 11:52:13 -0400 Received: from esa4.microchip.iphmx.com ([68.232.154.123]:41731 "EHLO esa4.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728443AbeH3PwN (ORCPT ); Thu, 30 Aug 2018 11:52:13 -0400 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: , , , CC: , , , Claudiu Beznea 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 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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