From: Javier Martinez Canillas Date: Thu, 29 Jan 2015 15:00:04 +0000 (+0100) Subject: mmc: pwrseq_simple: Extend to support more pins X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~125^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=934f1f48330ed695927a51fa068dc5d673f2da19;p=pandora-kernel.git 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 Signed-off-by: Srinivas Kandagatla Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed