diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2015-01-29 16:00:04 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-01-30 12:00:27 +0100 |
commit | 934f1f48330ed695927a51fa068dc5d673f2da19 (patch) | |
tree | a26172addf81591c906003345c44d8415b06eb27 /drivers/leds | |
parent | a1d7579b25e4ab448a2605bc7e96f1b9c8762bba (diff) | |
download | talos-obmc-linux-934f1f48330ed695927a51fa068dc5d673f2da19.tar.gz talos-obmc-linux-934f1f48330ed695927a51fa068dc5d673f2da19.zip |
mmc: pwrseq_simple: Extend to support more pins
Many WLAN attached to a SDIO/MMC interface, needs more than one pin for
their reset sequence. For example, is very common for chips to have two
pins: one for reset and one for power enable.
This patch adds support for more reset pins to the pwrseq_simple driver
and instead hardcoding a fixed number, it uses the of_gpio_named_count()
since the MMC power sequence is only built when CONFIG_OF is enabled.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions