All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] i2c: designware-platdrv: Some improvments related to PM
@ 2016-06-14 15:07 ` Ulf Hansson
  0 siblings, 0 replies; 48+ messages in thread
From: Ulf Hansson @ 2016-06-14 15:07 UTC (permalink / raw)
  To: Wolfram Sang, linux-i2c
  Cc: Jarkko Nikula, Andy Shevchenko, Mika Westerberg, John Stultz,
	Guodong Xu, linux-arm-kernel, Ulf Hansson

Here's a couple changes for the i2c-designware driver. Most of them a related to
the support for runtime PM and system PM, but there's also a few that improves
some error handling.

I have tested these on Hisilicon Linaro 96-board (hi6220). I used a couple local
changes to enable the power-key to act as a wakeup in system PM suspend state.
If anyone are interested about those as well, I am happy to share them.

Ulf Hansson (10):
  i2c: designware-platdrv: Return error in ->probe() when clk ungate
    fails
  i2c: designware-platdrv: Gate clk in error path in ->probe()
  i2c: designware-platdrv: Unconditionally enable runtime PM
  i2c: designware-platdrv: Disable autosuspend in error path in
    ->probe()
  i2c: designware-platdrv: Fix clk gating in ->remove()
  i2c: designware-platdrv: Update runtime PM last busy mark in ->probe()
  i2c: designware-platdrv: Re-init the HW when resuming
  i2c: designware-platdrv: Check return value from clk_prepare_enable()
  i2c: designware-platdrv: Simplify code by using dev_get_drvdata()
  i2c: designware-platdrv: Rework system PM support

 drivers/i2c/busses/i2c-designware-platdrv.c | 106 +++++++++++++---------------
 1 file changed, 50 insertions(+), 56 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2016-06-20  5:15 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-14 15:07 [PATCH 00/10] i2c: designware-platdrv: Some improvments related to PM Ulf Hansson
2016-06-14 15:07 ` Ulf Hansson
2016-06-14 15:07 ` [PATCH 01/10] i2c: designware-platdrv: Return error in ->probe() when clk ungate fails Ulf Hansson
2016-06-14 15:07   ` Ulf Hansson
2016-06-15  7:04   ` Jarkko Nikula
2016-06-15  7:04     ` Jarkko Nikula
2016-06-14 15:07 ` [PATCH 02/10] i2c: designware-platdrv: Gate clk in error path in ->probe() Ulf Hansson
2016-06-14 15:07   ` Ulf Hansson
2016-06-14 15:22   ` Andy Shevchenko
2016-06-14 15:22     ` Andy Shevchenko
2016-06-15  7:16     ` Ulf Hansson
2016-06-15  7:16       ` Ulf Hansson
2016-06-15 12:07       ` Jarkko Nikula
2016-06-15 12:07         ` Jarkko Nikula
2016-06-20  4:41         ` Ulf Hansson
2016-06-20  4:41           ` Ulf Hansson
2016-06-14 15:07 ` [PATCH 03/10] i2c: designware-platdrv: Unconditionally enable runtime PM Ulf Hansson
2016-06-14 15:07   ` Ulf Hansson
2016-06-15 12:47   ` Jarkko Nikula
2016-06-15 12:47     ` Jarkko Nikula
2016-06-20  5:15     ` Ulf Hansson
2016-06-20  5:15       ` Ulf Hansson
2016-06-14 15:07 ` [PATCH 04/10] i2c: designware-platdrv: Disable autosuspend in error path in ->probe() Ulf Hansson
2016-06-14 15:07   ` Ulf Hansson
2016-06-14 15:07 ` [PATCH 05/10] i2c: designware-platdrv: Fix clk gating in ->remove() Ulf Hansson
2016-06-14 15:07   ` Ulf Hansson
2016-06-14 15:07 ` [PATCH 06/10] i2c: designware-platdrv: Update runtime PM last busy mark in ->probe() Ulf Hansson
2016-06-14 15:07   ` Ulf Hansson
2016-06-15 13:22   ` Jarkko Nikula
2016-06-15 13:22     ` Jarkko Nikula
2016-06-14 15:07 ` [PATCH 07/10] i2c: designware-platdrv: Re-init the HW when resuming Ulf Hansson
2016-06-14 15:07   ` Ulf Hansson
2016-06-14 15:07 ` [PATCH 08/10] i2c: designware-platdrv: Check return value from clk_prepare_enable() Ulf Hansson
2016-06-14 15:07   ` Ulf Hansson
2016-06-14 15:07 ` [PATCH 09/10] i2c: designware-platdrv: Simplify code by using dev_get_drvdata() Ulf Hansson
2016-06-14 15:07   ` Ulf Hansson
2016-06-15 11:24   ` Jarkko Nikula
2016-06-15 11:24     ` Jarkko Nikula
2016-06-14 15:07 ` [PATCH 10/10] i2c: designware-platdrv: Rework system PM support Ulf Hansson
2016-06-14 15:07   ` Ulf Hansson
2016-06-14 15:35   ` Andy Shevchenko
2016-06-14 15:35     ` Andy Shevchenko
2016-06-15  7:52     ` Ulf Hansson
2016-06-15  7:52       ` Ulf Hansson
2016-06-14 15:39 ` [PATCH 00/10] i2c: designware-platdrv: Some improvments related to PM Andy Shevchenko
2016-06-14 15:39   ` Andy Shevchenko
2016-06-15  8:16   ` Ulf Hansson
2016-06-15  8:16     ` Ulf Hansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.