Commit 35d14806948f0e97e86c3199489ff6a826df1a3c
Committed by
Linus Walleij
1 parent
0e6f1e5c39
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/pinctrl/spear/pinctrl-spear1340.c
... | ... | @@ -213,7 +213,7 @@ |
213 | 213 | * Pad multiplexing for making all pads as gpio's. This is done to override the |
214 | 214 | * values passed from bootloader and start from scratch. |
215 | 215 | */ |
216 | -static const unsigned pads_as_gpio_pins[] = { 251 }; | |
216 | +static const unsigned pads_as_gpio_pins[] = { 12, 88, 89, 251 }; | |
217 | 217 | static struct spear_muxreg pads_as_gpio_muxreg[] = { |
218 | 218 | { |
219 | 219 | .reg = PAD_FUNCTION_EN_1, |