Skip to content

Commit 4730f33

Browse files
vishnupatekarlinusw
authored andcommitted
pinctrl: sunxi: add allwinner A83T PIO controller support
Allwinner A83T soc port controller has 8 ports. It has 3 IRQ banks namely PB, PG, PH. Pinmuxing are different for some pins as compared to sun8i A23 and A33. Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent e86c620 commit 4730f33

File tree

4 files changed

+609
-0
lines changed

4 files changed

+609
-0
lines changed

Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Required properties:
1717
"allwinner,sun8i-a23-pinctrl"
1818
"allwinner,sun8i-a23-r-pinctrl"
1919
"allwinner,sun8i-a33-pinctrl"
20+
"allwinner,sun8i-a83t-pinctrl"
2021

2122
- reg: Should contain the register physical address and length for the
2223
pin controller.

drivers/pinctrl/sunxi/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ config PINCTRL_SUN8I_A33
4242
def_bool MACH_SUN8I
4343
select PINCTRL_SUNXI_COMMON
4444

45+
config PINCTRL_SUN8I_A83T
46+
def_bool MACH_SUN8I
47+
select PINCTRL_SUNXI_COMMON
48+
4549
config PINCTRL_SUN8I_A23_R
4650
def_bool MACH_SUN8I
4751
depends on RESET_CONTROLLER

drivers/pinctrl/sunxi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ obj-$(CONFIG_PINCTRL_SUN7I_A20) += pinctrl-sun7i-a20.o
1212
obj-$(CONFIG_PINCTRL_SUN8I_A23) += pinctrl-sun8i-a23.o
1313
obj-$(CONFIG_PINCTRL_SUN8I_A23_R) += pinctrl-sun8i-a23-r.o
1414
obj-$(CONFIG_PINCTRL_SUN8I_A33) += pinctrl-sun8i-a33.o
15+
obj-$(CONFIG_PINCTRL_SUN8I_A83T) += pinctrl-sun8i-a83t.o
1516
obj-$(CONFIG_PINCTRL_SUN9I_A80) += pinctrl-sun9i-a80.o

0 commit comments

Comments
 (0)