Browse Source

pinctrl: sunxi: Add Allwinner A20 pins set

The Allwinner A20 is pin-compatible with the older A10, so the two pin
set are quite similar. However, since the A20 has new features, we can't
just use the A10 pin set as is, and we need to define our own for the
A20.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Maxime Ripard 12 years ago
parent
commit
23ac6df451
2 changed files with 1014 additions and 0 deletions
  1. 1013 0
      drivers/pinctrl/pinctrl-sunxi-pins.h
  2. 1 0
      drivers/pinctrl/pinctrl-sunxi.c

File diff suppressed because it is too large
+ 1013 - 0
drivers/pinctrl/pinctrl-sunxi-pins.h


+ 1 - 0
drivers/pinctrl/pinctrl-sunxi.c

@@ -632,6 +632,7 @@ static struct of_device_id sunxi_pinctrl_match[] = {
 	{ .compatible = "allwinner,sun5i-a10s-pinctrl", .data = (void *)&sun5i_a10s_pinctrl_data },
 	{ .compatible = "allwinner,sun5i-a13-pinctrl", .data = (void *)&sun5i_a13_pinctrl_data },
 	{ .compatible = "allwinner,sun6i-a31-pinctrl", .data = (void *)&sun6i_a31_pinctrl_data },
+	{ .compatible = "allwinner,sun7i-a20-pinctrl", .data = (void *)&sun7i_a20_pinctrl_data },
 	{}
 };
 MODULE_DEVICE_TABLE(of, sunxi_pinctrl_match);

Some files were not shown because too many files changed in this diff