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

Commit 6ac73095 authored by Beniamino Galvani's avatar Beniamino Galvani Committed by Linus Walleij
Browse files

pinctrl: add driver for Amlogic Meson SoCs



This is a driver for the pinmux and GPIO controller available in
Amlogic Meson SoCs. It currently supports only Meson8, however the
common code should be generic enough to work also for other SoCs after
having defined the proper set of functions and groups.

GPIO interrupts are not supported at the moment due to lack of
documentation.

Signed-off-by: default avatarBeniamino Galvani <b.galvani@gmail.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 40b9e4fa
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -96,6 +96,14 @@ config PINCTRL_FALCON
	depends on SOC_FALCON
	depends on PINCTRL_LANTIQ

config PINCTRL_MESON
	bool
	select PINMUX
	select PINCONF
	select GENERIC_PINCONF
	select OF_GPIO
	select REGMAP_MMIO

config PINCTRL_ROCKCHIP
	bool
	select PINMUX
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ obj-$(CONFIG_PINCTRL_AT91) += pinctrl-at91.o
obj-$(CONFIG_PINCTRL_BCM2835)	+= pinctrl-bcm2835.o
obj-$(CONFIG_PINCTRL_BCM281XX)	+= pinctrl-bcm281xx.o
obj-$(CONFIG_PINCTRL_FALCON)	+= pinctrl-falcon.o
obj-$(CONFIG_PINCTRL_MESON)	+= meson/
obj-$(CONFIG_PINCTRL_PALMAS)	+= pinctrl-palmas.o
obj-$(CONFIG_PINCTRL_ROCKCHIP)	+= pinctrl-rockchip.o
obj-$(CONFIG_PINCTRL_SINGLE)	+= pinctrl-single.o
+2 −0
Original line number Diff line number Diff line
obj-y	+= pinctrl-meson8.o
obj-y	+= pinctrl-meson.o
+761 −0

File added.

Preview size limit exceeded, changes collapsed.

+209 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading