Skip to content

Commit

Permalink
pinctrl: mvebu: move to its own directory
Browse files Browse the repository at this point in the history
Like the spear platform, the mvebu platform has multiple files: one
core file, and then one file per SoC family. More files will be added
later, as support for mach-orion5x and mach-mv78xx0 SoCs is added to
pinctrl-mvebu. For those reasons, having a separate subdirectory,
drivers/pinctrl/mvebu/ makes sense, and it had already been suggested
by Linus Wallej when the driver was originally submitted.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Thomas Petazzoni authored and Linus Walleij committed Nov 11, 2012
1 parent de1d762 commit 06763c7
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 29 deletions.
25 changes: 1 addition & 24 deletions drivers/pinctrl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -188,30 +188,7 @@ config PINCTRL_EXYNOS4
depends on OF && GPIOLIB
select PINCTRL_SAMSUNG

if PLAT_ORION

config PINCTRL_MVEBU
bool
select PINMUX
select PINCONF

config PINCTRL_DOVE
bool
select PINCTRL_MVEBU

config PINCTRL_KIRKWOOD
bool
select PINCTRL_MVEBU

config PINCTRL_ARMADA_370
bool
select PINCTRL_MVEBU

config PINCTRL_ARMADA_XP
bool
select PINCTRL_MVEBU

endif
source "drivers/pinctrl/mvebu/Kconfig"

source "drivers/pinctrl/spear/Kconfig"

Expand Down
6 changes: 1 addition & 5 deletions drivers/pinctrl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,8 @@ obj-$(CONFIG_PINCTRL_U300) += pinctrl-u300.o
obj-$(CONFIG_PINCTRL_COH901) += pinctrl-coh901.o
obj-$(CONFIG_PINCTRL_SAMSUNG) += pinctrl-samsung.o
obj-$(CONFIG_PINCTRL_EXYNOS4) += pinctrl-exynos.o
obj-$(CONFIG_PINCTRL_MVEBU) += pinctrl-mvebu.o
obj-$(CONFIG_PINCTRL_DOVE) += pinctrl-dove.o
obj-$(CONFIG_PINCTRL_KIRKWOOD) += pinctrl-kirkwood.o
obj-$(CONFIG_PINCTRL_ARMADA_370) += pinctrl-armada-370.o
obj-$(CONFIG_PINCTRL_ARMADA_XP) += pinctrl-armada-xp.o
obj-$(CONFIG_PINCTRL_XWAY) += pinctrl-xway.o
obj-$(CONFIG_PINCTRL_LANTIQ) += pinctrl-lantiq.o

obj-$(CONFIG_PLAT_ORION) += mvebu/
obj-$(CONFIG_PLAT_SPEAR) += spear/
24 changes: 24 additions & 0 deletions drivers/pinctrl/mvebu/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
if PLAT_ORION

config PINCTRL_MVEBU
bool
select PINMUX
select PINCONF

config PINCTRL_DOVE
bool
select PINCTRL_MVEBU

config PINCTRL_KIRKWOOD
bool
select PINCTRL_MVEBU

config PINCTRL_ARMADA_370
bool
select PINCTRL_MVEBU

config PINCTRL_ARMADA_XP
bool
select PINCTRL_MVEBU

endif
5 changes: 5 additions & 0 deletions drivers/pinctrl/mvebu/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
obj-$(CONFIG_PINCTRL_MVEBU) += pinctrl-mvebu.o
obj-$(CONFIG_PINCTRL_DOVE) += pinctrl-dove.o
obj-$(CONFIG_PINCTRL_KIRKWOOD) += pinctrl-kirkwood.o
obj-$(CONFIG_PINCTRL_ARMADA_370) += pinctrl-armada-370.o
obj-$(CONFIG_PINCTRL_ARMADA_XP) += pinctrl-armada-xp.o
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 06763c7

Please sign in to comment.