linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] AT91 PM improvements
@ 2020-08-04 11:07 Claudiu Beznea
  2020-08-04 11:07 ` [PATCH v2 1/3] ARM: at91: pm: add support for ULP0 fast wakeup Claudiu Beznea
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Claudiu Beznea @ 2020-08-04 11:07 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches, wenyou.yang
  Cc: linux-arm-kernel, linux-kernel, Claudiu Beznea

Hi,

This series adds ULP0 fast mode intended to reduce the suspend/resume
time in the detriment of power consumption (patch 1/3).
Along with this patch 2/3 adds code to avoid requesting a PM mode
not available on platforms not supporting it.
Patch 3/3 decrements a device_node refcount after its usage.

Thank you,
Claudiu Beznea

Changes in v2:
- in patch 2/3:
	- move per SoC supported mode arrays in *_pm_init() functions.
	- use 2 booleans in at91_pm_modes_validate() for modes validation
	- continue to use array of supported modes in at91rm9200_pm_init()
	  and at91sam9_pm_init() instead of forcing
	  soc_pm.data.standby_mode = AT91_PM_STANDBY and
	  soc_pm.data.suspend_mode = AT91_PM_ULP0 to breaking the user
	  configuration (it might request ulp0 as standby mode or vice versa)
	  
Claudiu Beznea (3):
  ARM: at91: pm: add support for ULP0 fast wakeup
  ARM: at91: pm: add per soc validation of pm modes
  ARM: at91: pm: of_node_put() after its usage

 arch/arm/mach-at91/pm.c         | 93 ++++++++++++++++++++++++++++++++++++++---
 arch/arm/mach-at91/pm.h         |  5 ++-
 arch/arm/mach-at91/pm_suspend.S | 41 ++++++++++++++++--
 3 files changed, 127 insertions(+), 12 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-08-04 15:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04 11:07 [PATCH v2 0/3] AT91 PM improvements Claudiu Beznea
2020-08-04 11:07 ` [PATCH v2 1/3] ARM: at91: pm: add support for ULP0 fast wakeup Claudiu Beznea
2020-08-04 11:07 ` [PATCH v2 2/3] ARM: at91: pm: add per soc validation of pm modes Claudiu Beznea
2020-08-04 11:42   ` Alexandre Belloni
2020-08-04 15:00     ` Claudiu.Beznea
2020-08-04 15:08       ` Alexandre Belloni
2020-08-04 15:45         ` Claudiu.Beznea
2020-08-04 15:56           ` Alexandre Belloni
2020-08-04 11:07 ` [PATCH v2 3/3] ARM: at91: pm: of_node_put() after its usage Claudiu Beznea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).