Re: [PATCH 00/11] drivers: Add Pinctrl PM support

2013-05-31 Thread Kevin Hilman
+ Linus W. (pinctrl maintainer) Dmitry Torokhov writes: > Hi Hebbar, > > On Fri, May 31, 2013 at 03:43:00PM +0530, Hebbar Gururaja wrote: >> By optionally putting the pins into sleep state in the suspend [or in >> runtime_suspend] callback we can accomplish two things. >> - One is to minimize cu

Re: [PATCH 1/2] rtc: omap: add option to indicate wakeup support through DT

2013-05-31 Thread Kevin Hilman
Hebbar Gururaja writes: > Even though RTC-IP is wakeup capable, Not all Boards support it. > > For example > The rtc alarm wakeup is available in rtc-ip since omap1 days but alarm > was not wired properly in previous ompa1 boards. > > commit fa5b07820fe3a0fc06ac368516e71f10a59b9539 >

Re: [PATCH 2/2] rtc: omap: add rtc wakeup support to alarm events

2013-05-31 Thread Kevin Hilman
Hebbar Gururaja writes: > On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN) > is available to enable Wakeup feature for Alarm Events. > > Since new platforms/Boards are now added through DT only, this feature > is supported via DT property only. > Platforms using such IP should

Re: [PATCH 00/11] drivers: Add Pinctrl PM support

2013-05-31 Thread Dmitry Torokhov
Hi Hebbar, On Fri, May 31, 2013 at 03:43:00PM +0530, Hebbar Gururaja wrote: > By optionally putting the pins into sleep state in the suspend [or in > runtime_suspend] callback we can accomplish two things. > - One is to minimize current leakage from pins and thus save power, > - second, we can pre

[PATCH 11/11] i2c: omap: enhance pinctrl support

2013-05-31 Thread Hebbar Gururaja
Amend the I2C omap pin controller to optionally take a pin control handle and set the state of the pins to: - "default" on boot, resume and before performing an i2c transfer - "idle" after initial default, after resume default, and after each i2c xfer - "sleep" on suspend() By optionally putting

[PATCH 10/11] video: da8xx-fb: adopt pinctrl support

2013-05-31 Thread Hebbar Gururaja
Amend the da8xx-fb controller to optionally take a pin control handle and set the state of the pins to: - "default" on boot, resume - "sleep" on suspend() By optionally putting the pins into sleep state in the suspend callback we can accomplish two things. - One is to minimize current leakage fro

[PATCH 07/11] pwm: pwm-tiehrpwm: enhance pinctrl support

2013-05-31 Thread Hebbar Gururaja
Amend the ti ehrpwm controller to optionally take a pin control handle and set the state of the pins to: - "default" on boot, resume - "sleep" on suspend() By optionally putting the pins into sleep state in the suspend callback we can accomplish two things. - One is to minimize current leakage fr

[PATCH 05/11] spi: omap2-mcspi: enhance pinctrl support

2013-05-31 Thread Hebbar Gururaja
Amend the spi omap controller to optionally take a pin control handle and set the state of the pins to: - "default" on boot, resume and before performing an spi transfer - "idle" after initial default, after resume default, and after each spi xfer - "sleep" on suspend() By optionally putting the

[PATCH 03/11] Input: gpio_keys: Adopt pinctrl support

2013-05-31 Thread Hebbar Gururaja
Amend gpio-keys driver to optionally take a pin control handle and set the state of the pins to: - "default" on boot, resume - "sleep" on suspend() By Optionally putting the pins into sleep state in the suspend callback we can accomplish two things. - One is to minimize current leakage from pins

[PATCH 08/11] pwm: pwm-tiecap: enhance pinctrl support

2013-05-31 Thread Hebbar Gururaja
Amend TI ecap controller to optionally take a pin control handle and set the state of the pins to: - "default" on boot, resume - "sleep" on suspend() By optionally putting the pins into sleep state in the suspend callback we can accomplish two things. - One is to minimize current leakage from pin

[PATCH 01/11] pinctrl: single: adopt pinctrl sleep mode management

2013-05-31 Thread Hebbar Gururaja
Make pinctrl-single able to handle suspend/resume events and change hogged pins states accordingly. Signed-off-by: Hebbar Gururaja Cc: Linus Walleij --- :100644 100644 b9fa046... bfd4f6a... M drivers/pinctrl/pinctrl-single.c drivers/pinctrl/pinctrl-single.c | 27 +++

[PATCH 04/11] Input: matrix-keypad: Adopt pinctrl support

2013-05-31 Thread Hebbar Gururaja
Amend matrix-keypad driver to optionally take a pin control handle and set the state of the pins to: - "default" on boot, resume - "sleep" on suspend() By optionally putting the pins into sleep state in the suspend callback we can accomplish two things. - One is to minimize current leakage from p

[PATCH 00/11] drivers: Add Pinctrl PM support

2013-05-31 Thread Hebbar Gururaja
By optionally putting the pins into sleep state in the suspend [or in runtime_suspend] callback we can accomplish two things. - One is to minimize current leakage from pins and thus save power, - second, we can prevent the IP from driving pins output in an uncontrolled manner, which may happen if t