diff options
| author | Wenyou Yang <wenyou.yang@atmel.com> | 2014-03-05 09:58:49 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2014-03-05 11:21:47 +0800 |
| commit | 5bdfd491a01955727a6b2382534ec7760174863e (patch) | |
| tree | 42ee015bf457b62106e1d1fdb1f8de9db7b2670a /lib/mpi/mpi-inline.h | |
| parent | ad6f33d22c25e7340107a330e6de60bba57ecf52 (diff) | |
spi: atmel: adopt pinctrl support
Amend the spi atmel 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 spitransfer
- "sleep" on suspend()
This should make it possible to optimize energy usage for the pins
both for the suspend/resume cycle
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
