Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Chen-Yu Tsai and committed by
Linus Walleij
c01607c7 304f077d

-3
-3
drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c
··· 330 330 /* Hole */ 331 331 SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 0), 332 332 SUNXI_FUNCTION(0x0, "gpio_in"), 333 - SUNXI_FUNCTION(0x1, "gpio_out"), 334 333 SUNXI_FUNCTION_IRQ(0x6, 0)), /* EINT0 */ 335 334 SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 1), 336 335 SUNXI_FUNCTION(0x0, "gpio_in"), 337 - SUNXI_FUNCTION(0x1, "gpio_out"), 338 336 SUNXI_FUNCTION_IRQ(0x6, 1)), /* EINT1 */ 339 337 SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 2), 340 338 SUNXI_FUNCTION(0x0, "gpio_in"), 341 - SUNXI_FUNCTION(0x1, "gpio_out"), 342 339 SUNXI_FUNCTION_IRQ(0x6, 2)), /* EINT2 */ 343 340 SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 3), 344 341 SUNXI_FUNCTION(0x0, "gpio_in"),