commit | b5b64fa6cd6bd053db2b89a41792597d08913036 | [log] [tgz] |
---|---|---|
author | Wenyou Yang <wenyou.yang@atmel.com> | Fri Nov 07 08:48:13 2014 +0800 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Wed Nov 26 14:30:52 2014 +0100 |
tree | ed360bb147a0b62a3aac778f5d7b0ad3bd49a1b1 | |
parent | e9fb05d5bca7428f2749d059559e9657c710fe53 [diff] |
mmc: atmel-mci: adopt pinctrl support Amend the atmel mci 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 transfer. - "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: Ulf Hansson <ulf.hansson@linaro.org>