summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilo Kim <woogyom.kim@gmail.com>2016-08-31 10:25:19 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-09-08 01:08:23 +0200
commit66cd89df8c043cc3a1a3d28c0a73f7c733935898 (patch)
treef45ad2937b792c2ef1ecc2bec26de82329de6550
parentpinctrl: bcm281xx: constify pinctrl_ops and pinmux_ops structures (diff)
downloadlinux-66cd89df8c043cc3a1a3d28c0a73f7c733935898.tar.xz
linux-66cd89df8c043cc3a1a3d28c0a73f7c733935898.zip
pinctrl: sunxi: Remove unsupported PWM channel pinmux in H3
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>
-rw-r--r--drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c b/drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c
index 26a2ad3b651f..518a92df4418 100644
--- a/drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c
@@ -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"),