[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1369995191-20855-1-git-send-email-gururaja.hebbar@ti.com>
Date: Fri, 31 May 2013 15:43:00 +0530
From: Hebbar Gururaja <gururaja.hebbar@...com>
To: <khilman@...aro.org>, <grant.likely@...aro.org>,
<linus.walleij@...aro.org>, <rob.herring@...xeda.com>
CC: <davinci-linux-open-source@...ux.davincidsp.com>,
<devicetree-discuss@...ts.ozlabs.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux@....linux.org.uk>,
<linux-kernel@...r.kernel.org>, <vaibhav.bedia@...com>,
<sudhakar.raj@...com>, <gururaja.hebbar@...com>
Subject: [PATCH 00/11] drivers: Add Pinctrl PM support
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 the power domain drops the
domain regulator.
These states can be specified in the DT blob and corresponding driver
can pick these states during probe & set the related values during
idle/suspend.
Not all drivers support/has idle state. Drivers like i2c, spi, mmc has
idle states and hence these drivers are updated to support all the
three states
- default : during regular operation
- idle : when the module is in idle state
- sleep : when the module is in suspend state
For those drivers which doesn't support/have idle state (at least at
the moment), only default & sleep state is added.
The modification expects DT blob to provide the phandler & the pinctrl
states otherwise it gives a warning message. To remove this warning
message pass default state with null phandler to pinctrl in device node
Kernel Base for the series is
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
linux-2.6.git
> tag: v3.10-rc3
Hebbar Gururaja (11):
pinctrl: single: adopt pinctrl sleep mode management
leds: leds-gpio: Enhance pinctrl support
Input: gpio_keys: Adopt pinctrl support
Input: matrix-keypad: Adopt pinctrl support
spi: omap2-mcspi: enhance pinctrl support
usb: musb: dsps: Adopt pinctrl support
pwm: pwm-tiehrpwm: enhance pinctrl support
pwm: pwm-tiecap: enhance pinctrl support
mmc: omap_hsmmc: enhance pinctrl support
video: da8xx-fb: adopt pinctrl support
i2c: omap: enhance pinctrl support
drivers/i2c/busses/i2c-omap.c | 112 ++++++++++++++++++++++++++++++--
drivers/input/keyboard/gpio_keys.c | 47 ++++++++++++++
drivers/input/keyboard/matrix_keypad.c | 48 ++++++++++++++
drivers/leds/leds-gpio.c | 81 +++++++++++++++++++++--
drivers/mmc/host/omap_hsmmc.c | 79 ++++++++++++++++++++--
drivers/pinctrl/pinctrl-single.c | 27 ++++++++
drivers/pwm/pwm-tiecap.c | 48 ++++++++++++--
drivers/pwm/pwm-tiehrpwm.c | 49 ++++++++++++--
drivers/spi/spi-omap2-mcspi.c | 89 +++++++++++++++++++++++--
drivers/usb/musb/musb_dsps.c | 46 +++++++++++++
drivers/video/da8xx-fb.c | 48 ++++++++++++++
11 files changed, 641 insertions(+), 33 deletions(-)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists