diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-07-01 11:25:08 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-07-11 08:08:29 -0400 |
commit | c01607c7daa59ca9f9cd33c2421ccae98239ab54 (patch) | |
tree | 48dc88bee91ad64e29c251572fc781fc0c6e92d1 | |
parent | 304f077d4c07d315b9325cb101fc47ba2ffc5466 (diff) |
pinctrl: sunxi: Remove gpio_out function from sun5i-a13 PG0/1/2 pins
The A13 user manual states pins PG0/1/2 only have GPIO input and
interrupt functions. Remove the gpio_out functions for these pins.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c b/drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c index 29c734a60b51..e47c33dbae3a 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c | |||
@@ -330,15 +330,12 @@ static const struct sunxi_desc_pin sun5i_a13_pins[] = { | |||
330 | /* Hole */ | 330 | /* Hole */ |
331 | SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 0), | 331 | SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 0), |
332 | SUNXI_FUNCTION(0x0, "gpio_in"), | 332 | SUNXI_FUNCTION(0x0, "gpio_in"), |
333 | SUNXI_FUNCTION(0x1, "gpio_out"), | ||
334 | SUNXI_FUNCTION_IRQ(0x6, 0)), /* EINT0 */ | 333 | SUNXI_FUNCTION_IRQ(0x6, 0)), /* EINT0 */ |
335 | SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 1), | 334 | SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 1), |
336 | SUNXI_FUNCTION(0x0, "gpio_in"), | 335 | SUNXI_FUNCTION(0x0, "gpio_in"), |
337 | SUNXI_FUNCTION(0x1, "gpio_out"), | ||
338 | SUNXI_FUNCTION_IRQ(0x6, 1)), /* EINT1 */ | 336 | SUNXI_FUNCTION_IRQ(0x6, 1)), /* EINT1 */ |
339 | SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 2), | 337 | SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 2), |
340 | SUNXI_FUNCTION(0x0, "gpio_in"), | 338 | SUNXI_FUNCTION(0x0, "gpio_in"), |
341 | SUNXI_FUNCTION(0x1, "gpio_out"), | ||
342 | SUNXI_FUNCTION_IRQ(0x6, 2)), /* EINT2 */ | 339 | SUNXI_FUNCTION_IRQ(0x6, 2)), /* EINT2 */ |
343 | SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 3), | 340 | SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 3), |
344 | SUNXI_FUNCTION(0x0, "gpio_in"), | 341 | SUNXI_FUNCTION(0x0, "gpio_in"), |