Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e87623cb authored by Jens Kuske's avatar Jens Kuske Committed by Linus Walleij
Browse files

pinctrl: sunxi: Add H3 PIO controller support



The H3 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: default avatarJens Kuske <jenskuske@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 652da824
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ Required properties:
  "allwinner,sun8i-a23-r-pinctrl"
  "allwinner,sun8i-a33-pinctrl"
  "allwinner,sun8i-a83t-pinctrl"
  "allwinner,sun8i-h3-pinctrl"

- reg: Should contain the register physical address and length for the
  pin controller.
+4 −0
Original line number Diff line number Diff line
@@ -51,6 +51,10 @@ config PINCTRL_SUN8I_A23_R
	depends on RESET_CONTROLLER
	select PINCTRL_SUNXI_COMMON

config PINCTRL_SUN8I_H3
	def_bool MACH_SUN8I
	select PINCTRL_SUNXI_COMMON

config PINCTRL_SUN9I_A80
	def_bool MACH_SUN9I
	select PINCTRL_SUNXI_COMMON
+1 −0
Original line number Diff line number Diff line
@@ -13,4 +13,5 @@ obj-$(CONFIG_PINCTRL_SUN8I_A23) += pinctrl-sun8i-a23.o
obj-$(CONFIG_PINCTRL_SUN8I_A23_R)	+= pinctrl-sun8i-a23-r.o
obj-$(CONFIG_PINCTRL_SUN8I_A33)		+= pinctrl-sun8i-a33.o
obj-$(CONFIG_PINCTRL_SUN8I_A83T)	+= pinctrl-sun8i-a83t.o
obj-$(CONFIG_PINCTRL_SUN8I_H3)		+= pinctrl-sun8i-h3.o
obj-$(CONFIG_PINCTRL_SUN9I_A80)		+= pinctrl-sun9i-a80.o
+515 −0

File added.

Preview size limit exceeded, changes collapsed.