Skip to content

Commit 6ac7309

Browse files
bengallinusw
authored andcommittedJan 26, 2015
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: Beniamino Galvani <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 40b9e4f commit 6ac7309

File tree

7 files changed

+2227
-0
lines changed

7 files changed

+2227
-0
lines changed
 

‎drivers/pinctrl/Kconfig

+8
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ config PINCTRL_FALCON
9696
depends on SOC_FALCON
9797
depends on PINCTRL_LANTIQ
9898

99+
config PINCTRL_MESON
100+
bool
101+
select PINMUX
102+
select PINCONF
103+
select GENERIC_PINCONF
104+
select OF_GPIO
105+
select REGMAP_MMIO
106+
99107
config PINCTRL_ROCKCHIP
100108
bool
101109
select PINMUX

‎drivers/pinctrl/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ obj-$(CONFIG_PINCTRL_AT91) += pinctrl-at91.o
1717
obj-$(CONFIG_PINCTRL_BCM2835) += pinctrl-bcm2835.o
1818
obj-$(CONFIG_PINCTRL_BCM281XX) += pinctrl-bcm281xx.o
1919
obj-$(CONFIG_PINCTRL_FALCON) += pinctrl-falcon.o
20+
obj-$(CONFIG_PINCTRL_MESON) += meson/
2021
obj-$(CONFIG_PINCTRL_PALMAS) += pinctrl-palmas.o
2122
obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o
2223
obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o

‎drivers/pinctrl/meson/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
obj-y += pinctrl-meson8.o
2+
obj-y += pinctrl-meson.o

0 commit comments

Comments
 (0)