Skip to content

Commit 838adb5

Browse files
Icenowylinusw
authored andcommitted
drivers: pinctrl: add driver for Allwinner H5 SoC
Based on the Allwinner H5 datasheet and the pinctrl driver of the backward-compatible H3 this introduces the pin multiplex assignments for the H5 SoC. H5 introduced some more pin functions (e.g. three more groups of TS pins, and one more groups of SIM pins) than H3. Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 6693f9f commit 838adb5

File tree

4 files changed

+564
-0
lines changed

4 files changed

+564
-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
@@ -23,6 +23,7 @@ Required properties:
2323
"allwinner,sun8i-h3-pinctrl"
2424
"allwinner,sun8i-h3-r-pinctrl"
2525
"allwinner,sun50i-a64-pinctrl"
26+
"allwinner,sun50i-h5-r-pinctrl"
2627
"nextthing,gr8-pinctrl"
2728

2829
- reg: Should contain the register physical address and length for the

drivers/pinctrl/sunxi/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,8 @@ config PINCTRL_SUN50I_A64
7272
bool
7373
select PINCTRL_SUNXI
7474

75+
config PINCTRL_SUN50I_H5
76+
bool
77+
select PINCTRL_SUNXI
78+
7579
endif

drivers/pinctrl/sunxi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ obj-$(CONFIG_PINCTRL_SUN8I_A83T) += pinctrl-sun8i-a83t.o
1616
obj-$(CONFIG_PINCTRL_SUN8I_H3) += pinctrl-sun8i-h3.o
1717
obj-$(CONFIG_PINCTRL_SUN8I_H3_R) += pinctrl-sun8i-h3-r.o
1818
obj-$(CONFIG_PINCTRL_SUN8I_V3S) += pinctrl-sun8i-v3s.o
19+
obj-$(CONFIG_PINCTRL_SUN50I_H5) += pinctrl-sun50i-h5.o
1920
obj-$(CONFIG_PINCTRL_SUN9I_A80) += pinctrl-sun9i-a80.o
2021
obj-$(CONFIG_PINCTRL_SUN9I_A80_R) += pinctrl-sun9i-a80-r.o

0 commit comments

Comments
 (0)