Skip to content

Commit

Permalink
drivers: pinctrl: add driver for Allwinner H5 SoC
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Icenowy Zheng authored and Linus Walleij committed Jan 30, 2017
1 parent 6693f9f commit 838adb5
Show file tree
Hide file tree
Showing 4 changed files with 564 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Required properties:
"allwinner,sun8i-h3-pinctrl"
"allwinner,sun8i-h3-r-pinctrl"
"allwinner,sun50i-a64-pinctrl"
"allwinner,sun50i-h5-r-pinctrl"
"nextthing,gr8-pinctrl"

- reg: Should contain the register physical address and length for the
Expand Down
4 changes: 4 additions & 0 deletions drivers/pinctrl/sunxi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,8 @@ config PINCTRL_SUN50I_A64
bool
select PINCTRL_SUNXI

config PINCTRL_SUN50I_H5
bool
select PINCTRL_SUNXI

endif
1 change: 1 addition & 0 deletions drivers/pinctrl/sunxi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ obj-$(CONFIG_PINCTRL_SUN8I_A83T) += pinctrl-sun8i-a83t.o
obj-$(CONFIG_PINCTRL_SUN8I_H3) += pinctrl-sun8i-h3.o
obj-$(CONFIG_PINCTRL_SUN8I_H3_R) += pinctrl-sun8i-h3-r.o
obj-$(CONFIG_PINCTRL_SUN8I_V3S) += pinctrl-sun8i-v3s.o
obj-$(CONFIG_PINCTRL_SUN50I_H5) += pinctrl-sun50i-h5.o
obj-$(CONFIG_PINCTRL_SUN9I_A80) += pinctrl-sun9i-a80.o
obj-$(CONFIG_PINCTRL_SUN9I_A80_R) += pinctrl-sun9i-a80-r.o
Loading

0 comments on commit 838adb5

Please sign in to comment.