[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170716023610.4658-1-f.fainelli@gmail.com>
Date: Sat, 15 Jul 2017 19:36:08 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Florian Fainelli <f.fainelli@...il.com>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
linux-pm <linux-pm@...r.kernel.org>,
Thibaud Cornic <thibaud_cornic@...madesigns.com>,
JB <jb_lescher@...madesigns.com>, Mason <slash.tmp@...e.fr>,
Kevin Hilman <khilman@...nel.org>, Pavel Machek <pavel@....cz>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>
Subject: [PATCH 0/2] PM / suspend: Add platform_suspend_target_state()
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
Powered by blists - more mailing lists