diff options
author | Patrice Chotard <[email protected]> | 2013-01-24 09:47:22 +0100 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2013-01-28 05:26:43 +0100 |
commit | 24e9e157d5197e469a414d0f52ce04e8b539a715 (patch) | |
tree | b69ab7d12fa3a118c84e696c8ba4cc29ae43bade /tools/perf/scripts/python/syscall-counts.py | |
parent | 631056c399d2bdf34ee147c99401fee093ee4bfe (diff) |
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 <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
[wsa: fixed braces on one else-branch]
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions