Skip to content

Commit

Permalink
pinctrl: add driver for Amlogic Meson SoCs
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
bengal authored and linusw committed Jan 26, 2015
1 parent 40b9e4f commit 6ac7309
Show file tree
Hide file tree
Showing 7 changed files with 2,227 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/pinctrl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions drivers/pinctrl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions drivers/pinctrl/meson/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
obj-y += pinctrl-meson8.o
obj-y += pinctrl-meson.o
Loading

0 comments on commit 6ac7309

Please sign in to comment.