diff options
author | 2013-01-24 09:47:22 +0100 | |
---|---|---|
committer | 2013-01-28 05:26:43 +0100 | |
commit | 24e9e157d5197e469a414d0f52ce04e8b539a715 (patch) | |
tree | b69ab7d12fa3a118c84e696c8ba4cc29ae43bade /lib/spinlock_debug.c | |
parent | i2c: at91: add of_device_id entry for at91rm9200 (diff) | |
download | linux-dev-24e9e157d5197e469a414d0f52ce04e8b539a715.tar.xz linux-dev-24e9e157d5197e469a414d0f52ce04e8b539a715.zip |
i2c: nomadik: adopt pinctrl support
Amend the I2C nomadik 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()
This should make it possible to optimize energy usage for the pins
both for the suspend/resume cycle, and for runtime cases inbetween
I2C transfers.
Signed-off-by: Patrice Chotard <patrice.chotard@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
[wsa: fixed braces on one else-branch]
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions