[PATCH 3/3] spi/s3c64xx: Implement runtime PM support

2012-01-21 Thread Mark Brown
Enable and disable the clocks to the SPI controller using runtime PM. This serves the dual purpose of reducing power consumption a little and letting the core know when the device is idle. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Acked-by: Linus Walleij

Re: [PATCH 3/3] spi/s3c64xx: Implement runtime PM support

2012-01-21 Thread Bill Gatliff
Guys: On Sat, Jan 21, 2012 at 2:24 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: Enable and disable the clocks to the SPI controller using runtime PM. This serves the dual purpose of reducing power consumption a little and letting the core know when the device is idle. What about

Re: [PATCH 3/3] spi/s3c64xx: Implement runtime PM support

2012-01-21 Thread Mark Brown
On Sat, Jan 21, 2012 at 02:41:59PM +0100, Bill Gatliff wrote: What about using autosuspend instead? If a client is doing a lot of closely-spaced SPI transactions on a relatively flat device tree, might the resulting runtime suspend/resume overhead between each transaction become noticeable?

[PATCH 3/3] spi/s3c64xx: Implement runtime PM support

2011-12-05 Thread Mark Brown
Enable and disable the clocks to the SPI controller using runtime PM. This serves the dual purpose of reducing power consumption a little and letting the core know when the device is idle. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/spi/spi-s3c64xx.c | 39