pinctrl: sunxi: Remove unsupported PWM channel pinmux in H3
authorMilo Kim <woogyom.kim@gmail.com>
Wed, 31 Aug 2016 08:25:19 +0000 (17:25 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Sep 2016 23:08:23 +0000 (01:08 +0200)
H3 has single PWM channel. The second PWM channel is not supported,
so the pinctrl function should be removed.

Signed-off-by: Milo Kim <woogyom.kim@gmail.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c

index 26a2ad3b651f3f8231d140da016e46828b09b9fe..518a92df441874c347687cbe946073a0b79f6823 100644 (file)
@@ -60,7 +60,6 @@ static const struct sunxi_desc_pin sun8i_h3_pins[] = {
                  SUNXI_FUNCTION(0x0, "gpio_in"),
                  SUNXI_FUNCTION(0x1, "gpio_out"),
                  SUNXI_FUNCTION(0x2, "sim"),           /* PWREN */
-                 SUNXI_FUNCTION(0x3, "pwm1"),
                  SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 6)),  /* PA_EINT6 */
        SUNXI_PIN(SUNXI_PINCTRL_PIN(A, 7),
                  SUNXI_FUNCTION(0x0, "gpio_in"),