Skip to content

Commit

Permalink
pinctrl: sunxi: Add A23 PIO controller support
Browse files Browse the repository at this point in the history
The A23 uses the same pin controller as previous SoC's from Allwinner.
Add support for the pins controlled by the main PIO controller.

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>
  • Loading branch information
Chen-Yu Tsai authored and Linus Walleij committed Jul 11, 2014
1 parent d9ff081 commit 4c821d1
Show file tree
Hide file tree
Showing 4 changed files with 599 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Required properties:
"allwinner,sun6i-a31-pinctrl"
"allwinner,sun6i-a31-r-pinctrl"
"allwinner,sun7i-a20-pinctrl"
"allwinner,sun8i-a23-pinctrl"
- reg: Should contain the register physical address and length for the
pin controller.

Expand Down
4 changes: 4 additions & 0 deletions drivers/pinctrl/sunxi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ config PINCTRL_SUN7I_A20
def_bool MACH_SUN7I
select PINCTRL_SUNXI_COMMON

config PINCTRL_SUN8I_A23
def_bool MACH_SUN8I
select PINCTRL_SUNXI_COMMON

endif
1 change: 1 addition & 0 deletions drivers/pinctrl/sunxi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ obj-$(CONFIG_PINCTRL_SUN5I_A13) += pinctrl-sun5i-a13.o
obj-$(CONFIG_PINCTRL_SUN6I_A31) += pinctrl-sun6i-a31.o
obj-$(CONFIG_PINCTRL_SUN6I_A31_R) += pinctrl-sun6i-a31-r.o
obj-$(CONFIG_PINCTRL_SUN7I_A20) += pinctrl-sun7i-a20.o
obj-$(CONFIG_PINCTRL_SUN8I_A23) += pinctrl-sun8i-a23.o
Loading

0 comments on commit 4c821d1

Please sign in to comment.