diff options
author | Patrice Chotard <patrice.chotard@stericsson.com> | 2013-01-24 09:47:22 +0100 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2013-01-28 05:26:43 +0100 |
commit | 24e9e157d5197e469a414d0f52ce04e8b539a715 (patch) | |
tree | b69ab7d12fa3a118c84e696c8ba4cc29ae43bade /block | |
parent | 631056c399d2bdf34ee147c99401fee093ee4bfe (diff) | |
download | op-kernel-dev-24e9e157d5197e469a414d0f52ce04e8b539a715.zip op-kernel-dev-24e9e157d5197e469a414d0f52ce04e8b539a715.tar.gz |
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 'block')
0 files changed, 0 insertions, 0 deletions