summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/spear/pinctrl-spear1340.c
diff options
context:
space:
mode:
authorDeepak Sikri <deepak.sikri@st.com>2012-10-27 11:17:53 +0200
committerLinus Walleij <linus.walleij@linaro.org>2012-11-05 12:34:26 +0100
commit35d14806948f0e97e86c3199489ff6a826df1a3c (patch)
treea68f01593564ea4d3691733fc70f07921d3ec9da /drivers/pinctrl/spear/pinctrl-spear1340.c
parentpinctrl: SPEAr1310: add register entries for enabling pad direction (diff)
downloadlinux-35d14806948f0e97e86c3199489ff6a826df1a3c.tar.xz
linux-35d14806948f0e97e86c3199489ff6a826df1a3c.zip
pinctrl: SPEAr1340: Make DDR reset & clock pads as gpio
Some gpio pins are used to control DDR reset and clock enable while the system is moved into Low power. This patch adds in the corresponding GPIO entries in the pads_as_gpio_pins to ensure the pads are available as gpio's. Signed-off-by: Deepak Sikri <deepak.sikri@st.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/spear/pinctrl-spear1340.c')
-rw-r--r--drivers/pinctrl/spear/pinctrl-spear1340.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-spear1340.c b/drivers/pinctrl/spear/pinctrl-spear1340.c
index a0eb057e55bd..3963675d514f 100644
--- a/drivers/pinctrl/spear/pinctrl-spear1340.c
+++ b/drivers/pinctrl/spear/pinctrl-spear1340.c
@@ -213,7 +213,7 @@ static const struct pinctrl_pin_desc spear1340_pins[] = {
* Pad multiplexing for making all pads as gpio's. This is done to override the
* values passed from bootloader and start from scratch.
*/
-static const unsigned pads_as_gpio_pins[] = { 251 };
+static const unsigned pads_as_gpio_pins[] = { 12, 88, 89, 251 };
static struct spear_muxreg pads_as_gpio_muxreg[] = {
{
.reg = PAD_FUNCTION_EN_1,