From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751250AbdGPCgR (ORCPT ); Sat, 15 Jul 2017 22:36:17 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:33459 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751213AbdGPCgQ (ORCPT ); Sat, 15 Jul 2017 22:36:16 -0400 From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , "Rafael J. Wysocki" , Alexandre Belloni , "Rafael J. Wysocki" , Ulf Hansson , Daniel Lezcano , linux-pm , Thibaud Cornic , JB , Mason , Kevin Hilman , Pavel Machek , Linux ARM Subject: [PATCH 0/2] PM / suspend: Add platform_suspend_target_state() Date: Sat, 15 Jul 2017 19:36:08 -0700 Message-Id: <20170716023610.4658-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170623010837.11199-1-f.fainelli@gmail.com> References: <20170623010837.11199-1-f.fainelli@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series implements the idea discussed in this thread: https://www.spinics.net/lists/arm-kernel/msg590068.html The last patch is relative to the pending submission of the Broadcom STB S2/S3/S5 suspend/resume code that can be found below, and is provided as an example of how this can be useful. https://lkml.org/lkml/2017/6/16/737 Changes from RFC: - make platform_target_state an enum that platforms can modify to include their own states - updated brcmstb PM code to translate internal states to externally visible platform_target_state Florian Fainelli (2): PM / suspend: Add platform_suspend_target_state() soc: bcm: brcmstb: PM: Implement target_state callback drivers/soc/bcm/brcmstb/pm/pm-arm.c | 22 ++++++++++++++++++++++ include/linux/suspend.h | 26 ++++++++++++++++++++++++++ kernel/power/suspend.c | 15 +++++++++++++++ 3 files changed, 63 insertions(+) -- 2.9.3 From mboxrd@z Thu Jan 1 00:00:00 1970 From: f.fainelli@gmail.com (Florian Fainelli) Date: Sat, 15 Jul 2017 19:36:08 -0700 Subject: [PATCH 0/2] PM / suspend: Add platform_suspend_target_state() In-Reply-To: <20170623010837.11199-1-f.fainelli@gmail.com> References: <20170623010837.11199-1-f.fainelli@gmail.com> Message-ID: <20170716023610.4658-1-f.fainelli@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org This patch series implements the idea discussed in this thread: https://www.spinics.net/lists/arm-kernel/msg590068.html The last patch is relative to the pending submission of the Broadcom STB S2/S3/S5 suspend/resume code that can be found below, and is provided as an example of how this can be useful. https://lkml.org/lkml/2017/6/16/737 Changes from RFC: - make platform_target_state an enum that platforms can modify to include their own states - updated brcmstb PM code to translate internal states to externally visible platform_target_state Florian Fainelli (2): PM / suspend: Add platform_suspend_target_state() soc: bcm: brcmstb: PM: Implement target_state callback drivers/soc/bcm/brcmstb/pm/pm-arm.c | 22 ++++++++++++++++++++++ include/linux/suspend.h | 26 ++++++++++++++++++++++++++ kernel/power/suspend.c | 15 +++++++++++++++ 3 files changed, 63 insertions(+) -- 2.9.3