commit | 5bdfd491a01955727a6b2382534ec7760174863e | [log] [tgz] |
---|---|---|
author | Wenyou Yang <wenyou.yang@atmel.com> | Wed Mar 05 09:58:49 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Wed Mar 05 11:21:47 2014 +0800 |
tree | 42ee015bf457b62106e1d1fdb1f8de9db7b2670a | |
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>