diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-07-11 08:57:06 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-07-11 09:01:35 -0400 |
commit | 3a19805920f1b07401ea8a3ca00d7568dc2ce5e9 (patch) | |
tree | 87803c33939e0a1ec00586e49eb1a4a93ad59cae /drivers/pinctrl | |
parent | ebe629a39e04db3fe876d34833a2d8a6a6d4c134 (diff) |
pinctrl: nomadik: move all Nomadik drivers to subdir
We have a bunch of Nomadik family pin control drivers, so let's
move them into their own subdirectory.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/Kconfig | 45 | ||||
-rw-r--r-- | drivers/pinctrl/Makefile | 10 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/Kconfig | 51 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/Makefile | 10 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-ab8500.c (renamed from drivers/pinctrl/pinctrl-ab8500.c) | 0 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-ab8505.c (renamed from drivers/pinctrl/pinctrl-ab8505.c) | 0 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-ab8540.c (renamed from drivers/pinctrl/pinctrl-ab8540.c) | 0 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-ab9540.c (renamed from drivers/pinctrl/pinctrl-ab9540.c) | 0 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-abx500.c (renamed from drivers/pinctrl/pinctrl-abx500.c) | 4 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-abx500.h (renamed from drivers/pinctrl/pinctrl-abx500.h) | 0 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c (renamed from drivers/pinctrl/pinctrl-nomadik-db8500.c) | 0 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-nomadik-db8540.c (renamed from drivers/pinctrl/pinctrl-nomadik-db8540.c) | 0 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-nomadik-stn8815.c (renamed from drivers/pinctrl/pinctrl-nomadik-stn8815.c) | 0 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-nomadik.c (renamed from drivers/pinctrl/pinctrl-nomadik.c) | 2 | ||||
-rw-r--r-- | drivers/pinctrl/nomadik/pinctrl-nomadik.h (renamed from drivers/pinctrl/pinctrl-nomadik.h) | 0 |
15 files changed, 66 insertions, 56 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 53e07c70951f..3d94e47546ec 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig | |||
@@ -26,29 +26,6 @@ config DEBUG_PINCTRL | |||
26 | help | 26 | help |
27 | Say Y here to add some extra checks and diagnostics to PINCTRL calls. | 27 | Say Y here to add some extra checks and diagnostics to PINCTRL calls. |
28 | 28 | ||
29 | config PINCTRL_ABX500 | ||
30 | bool "ST-Ericsson ABx500 family Mixed Signal Circuit gpio functions" | ||
31 | depends on AB8500_CORE | ||
32 | select GENERIC_PINCONF | ||
33 | help | ||
34 | Select this to enable the ABx500 family IC GPIO driver | ||
35 | |||
36 | config PINCTRL_AB8500 | ||
37 | bool "AB8500 pin controller driver" | ||
38 | depends on PINCTRL_ABX500 && ARCH_U8500 | ||
39 | |||
40 | config PINCTRL_AB8540 | ||
41 | bool "AB8540 pin controller driver" | ||
42 | depends on PINCTRL_ABX500 && ARCH_U8500 | ||
43 | |||
44 | config PINCTRL_AB9540 | ||
45 | bool "AB9540 pin controller driver" | ||
46 | depends on PINCTRL_ABX500 && ARCH_U8500 | ||
47 | |||
48 | config PINCTRL_AB8505 | ||
49 | bool "AB8505 pin controller driver" | ||
50 | depends on PINCTRL_ABX500 && ARCH_U8500 | ||
51 | |||
52 | config PINCTRL_ADI2 | 29 | config PINCTRL_ADI2 |
53 | bool "ADI pin controller driver" | 30 | bool "ADI pin controller driver" |
54 | depends on BLACKFIN | 31 | depends on BLACKFIN |
@@ -233,27 +210,6 @@ config PINCTRL_IMX28 | |||
233 | bool | 210 | bool |
234 | select PINCTRL_MXS | 211 | select PINCTRL_MXS |
235 | 212 | ||
236 | config PINCTRL_NOMADIK | ||
237 | bool "Nomadik pin controller driver" | ||
238 | depends on ARCH_U8500 || ARCH_NOMADIK | ||
239 | select PINMUX | ||
240 | select PINCONF | ||
241 | select GPIOLIB | ||
242 | select OF_GPIO | ||
243 | select GPIOLIB_IRQCHIP | ||
244 | |||
245 | config PINCTRL_STN8815 | ||
246 | bool "STN8815 pin controller driver" | ||
247 | depends on PINCTRL_NOMADIK && ARCH_NOMADIK | ||
248 | |||
249 | config PINCTRL_DB8500 | ||
250 | bool "DB8500 pin controller driver" | ||
251 | depends on PINCTRL_NOMADIK && ARCH_U8500 | ||
252 | |||
253 | config PINCTRL_DB8540 | ||
254 | bool "DB8540 pin controller driver" | ||
255 | depends on PINCTRL_NOMADIK && ARCH_U8500 | ||
256 | |||
257 | config PINCTRL_ROCKCHIP | 213 | config PINCTRL_ROCKCHIP |
258 | bool | 214 | bool |
259 | select PINMUX | 215 | select PINMUX |
@@ -345,6 +301,7 @@ config PINCTRL_PALMAS | |||
345 | 301 | ||
346 | source "drivers/pinctrl/berlin/Kconfig" | 302 | source "drivers/pinctrl/berlin/Kconfig" |
347 | source "drivers/pinctrl/mvebu/Kconfig" | 303 | source "drivers/pinctrl/mvebu/Kconfig" |
304 | source "drivers/pinctrl/nomadik/Kconfig" | ||
348 | source "drivers/pinctrl/qcom/Kconfig" | 305 | source "drivers/pinctrl/qcom/Kconfig" |
349 | source "drivers/pinctrl/samsung/Kconfig" | 306 | source "drivers/pinctrl/samsung/Kconfig" |
350 | source "drivers/pinctrl/sh-pfc/Kconfig" | 307 | source "drivers/pinctrl/sh-pfc/Kconfig" |
diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile index df6099df7aad..e90817c1f584 100644 --- a/drivers/pinctrl/Makefile +++ b/drivers/pinctrl/Makefile | |||
@@ -9,11 +9,6 @@ ifeq ($(CONFIG_OF),y) | |||
9 | obj-$(CONFIG_PINCTRL) += devicetree.o | 9 | obj-$(CONFIG_PINCTRL) += devicetree.o |
10 | endif | 10 | endif |
11 | obj-$(CONFIG_GENERIC_PINCONF) += pinconf-generic.o | 11 | obj-$(CONFIG_GENERIC_PINCONF) += pinconf-generic.o |
12 | obj-$(CONFIG_PINCTRL_ABX500) += pinctrl-abx500.o | ||
13 | obj-$(CONFIG_PINCTRL_AB8500) += pinctrl-ab8500.o | ||
14 | obj-$(CONFIG_PINCTRL_AB8540) += pinctrl-ab8540.o | ||
15 | obj-$(CONFIG_PINCTRL_AB9540) += pinctrl-ab9540.o | ||
16 | obj-$(CONFIG_PINCTRL_AB8505) += pinctrl-ab8505.o | ||
17 | obj-$(CONFIG_PINCTRL_ADI2) += pinctrl-adi2.o | 12 | obj-$(CONFIG_PINCTRL_ADI2) += pinctrl-adi2.o |
18 | obj-$(CONFIG_PINCTRL_AS3722) += pinctrl-as3722.o | 13 | obj-$(CONFIG_PINCTRL_AS3722) += pinctrl-as3722.o |
19 | obj-$(CONFIG_PINCTRL_BF54x) += pinctrl-adi2-bf54x.o | 14 | obj-$(CONFIG_PINCTRL_BF54x) += pinctrl-adi2-bf54x.o |
@@ -39,10 +34,6 @@ obj-$(CONFIG_PINCTRL_MXS) += pinctrl-mxs.o | |||
39 | obj-$(CONFIG_PINCTRL_IMX23) += pinctrl-imx23.o | 34 | obj-$(CONFIG_PINCTRL_IMX23) += pinctrl-imx23.o |
40 | obj-$(CONFIG_PINCTRL_IMX25) += pinctrl-imx25.o | 35 | obj-$(CONFIG_PINCTRL_IMX25) += pinctrl-imx25.o |
41 | obj-$(CONFIG_PINCTRL_IMX28) += pinctrl-imx28.o | 36 | obj-$(CONFIG_PINCTRL_IMX28) += pinctrl-imx28.o |
42 | obj-$(CONFIG_PINCTRL_NOMADIK) += pinctrl-nomadik.o | ||
43 | obj-$(CONFIG_PINCTRL_STN8815) += pinctrl-nomadik-stn8815.o | ||
44 | obj-$(CONFIG_PINCTRL_DB8500) += pinctrl-nomadik-db8500.o | ||
45 | obj-$(CONFIG_PINCTRL_DB8540) += pinctrl-nomadik-db8540.o | ||
46 | obj-$(CONFIG_PINCTRL_PALMAS) += pinctrl-palmas.o | 37 | obj-$(CONFIG_PINCTRL_PALMAS) += pinctrl-palmas.o |
47 | obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o | 38 | obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o |
48 | obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o | 39 | obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o |
@@ -64,6 +55,7 @@ obj-$(CONFIG_PINCTRL_VF610) += pinctrl-vf610.o | |||
64 | 55 | ||
65 | obj-$(CONFIG_ARCH_BERLIN) += berlin/ | 56 | obj-$(CONFIG_ARCH_BERLIN) += berlin/ |
66 | obj-$(CONFIG_PLAT_ORION) += mvebu/ | 57 | obj-$(CONFIG_PLAT_ORION) += mvebu/ |
58 | obj-y += nomadik/ | ||
67 | obj-$(CONFIG_ARCH_QCOM) += qcom/ | 59 | obj-$(CONFIG_ARCH_QCOM) += qcom/ |
68 | obj-$(CONFIG_PLAT_SAMSUNG) += samsung/ | 60 | obj-$(CONFIG_PLAT_SAMSUNG) += samsung/ |
69 | obj-$(CONFIG_ARCH_SHMOBILE) += sh-pfc/ | 61 | obj-$(CONFIG_ARCH_SHMOBILE) += sh-pfc/ |
diff --git a/drivers/pinctrl/nomadik/Kconfig b/drivers/pinctrl/nomadik/Kconfig new file mode 100644 index 000000000000..d48a5aa24a29 --- /dev/null +++ b/drivers/pinctrl/nomadik/Kconfig | |||
@@ -0,0 +1,51 @@ | |||
1 | if ARCH_U8500 | ||
2 | |||
3 | config PINCTRL_ABX500 | ||
4 | bool "ST-Ericsson ABx500 family Mixed Signal Circuit gpio functions" | ||
5 | depends on AB8500_CORE | ||
6 | select GENERIC_PINCONF | ||
7 | help | ||
8 | Select this to enable the ABx500 family IC GPIO driver | ||
9 | |||
10 | config PINCTRL_AB8500 | ||
11 | bool "AB8500 pin controller driver" | ||
12 | depends on PINCTRL_ABX500 && ARCH_U8500 | ||
13 | |||
14 | config PINCTRL_AB8540 | ||
15 | bool "AB8540 pin controller driver" | ||
16 | depends on PINCTRL_ABX500 && ARCH_U8500 | ||
17 | |||
18 | config PINCTRL_AB9540 | ||
19 | bool "AB9540 pin controller driver" | ||
20 | depends on PINCTRL_ABX500 && ARCH_U8500 | ||
21 | |||
22 | config PINCTRL_AB8505 | ||
23 | bool "AB8505 pin controller driver" | ||
24 | depends on PINCTRL_ABX500 && ARCH_U8500 | ||
25 | |||
26 | endif | ||
27 | |||
28 | if (ARCH_U8500 || ARCH_NOMADIK) | ||
29 | |||
30 | config PINCTRL_NOMADIK | ||
31 | bool "Nomadik pin controller driver" | ||
32 | depends on ARCH_U8500 || ARCH_NOMADIK | ||
33 | select PINMUX | ||
34 | select PINCONF | ||
35 | select GPIOLIB | ||
36 | select OF_GPIO | ||
37 | select GPIOLIB_IRQCHIP | ||
38 | |||
39 | config PINCTRL_STN8815 | ||
40 | bool "STN8815 pin controller driver" | ||
41 | depends on PINCTRL_NOMADIK && ARCH_NOMADIK | ||
42 | |||
43 | config PINCTRL_DB8500 | ||
44 | bool "DB8500 pin controller driver" | ||
45 | depends on PINCTRL_NOMADIK && ARCH_U8500 | ||
46 | |||
47 | config PINCTRL_DB8540 | ||
48 | bool "DB8540 pin controller driver" | ||
49 | depends on PINCTRL_NOMADIK && ARCH_U8500 | ||
50 | |||
51 | endif | ||
diff --git a/drivers/pinctrl/nomadik/Makefile b/drivers/pinctrl/nomadik/Makefile new file mode 100644 index 000000000000..30b27f18cd52 --- /dev/null +++ b/drivers/pinctrl/nomadik/Makefile | |||
@@ -0,0 +1,10 @@ | |||
1 | # Nomadik family pin control drivers | ||
2 | obj-$(CONFIG_PINCTRL_ABX500) += pinctrl-abx500.o | ||
3 | obj-$(CONFIG_PINCTRL_AB8500) += pinctrl-ab8500.o | ||
4 | obj-$(CONFIG_PINCTRL_AB8540) += pinctrl-ab8540.o | ||
5 | obj-$(CONFIG_PINCTRL_AB9540) += pinctrl-ab9540.o | ||
6 | obj-$(CONFIG_PINCTRL_AB8505) += pinctrl-ab8505.o | ||
7 | obj-$(CONFIG_PINCTRL_NOMADIK) += pinctrl-nomadik.o | ||
8 | obj-$(CONFIG_PINCTRL_STN8815) += pinctrl-nomadik-stn8815.o | ||
9 | obj-$(CONFIG_PINCTRL_DB8500) += pinctrl-nomadik-db8500.o | ||
10 | obj-$(CONFIG_PINCTRL_DB8540) += pinctrl-nomadik-db8540.o | ||
diff --git a/drivers/pinctrl/pinctrl-ab8500.c b/drivers/pinctrl/nomadik/pinctrl-ab8500.c index 2ac2d0ad3025..2ac2d0ad3025 100644 --- a/drivers/pinctrl/pinctrl-ab8500.c +++ b/drivers/pinctrl/nomadik/pinctrl-ab8500.c | |||
diff --git a/drivers/pinctrl/pinctrl-ab8505.c b/drivers/pinctrl/nomadik/pinctrl-ab8505.c index bf0ef4ac376f..bf0ef4ac376f 100644 --- a/drivers/pinctrl/pinctrl-ab8505.c +++ b/drivers/pinctrl/nomadik/pinctrl-ab8505.c | |||
diff --git a/drivers/pinctrl/pinctrl-ab8540.c b/drivers/pinctrl/nomadik/pinctrl-ab8540.c index 9867535d49c1..9867535d49c1 100644 --- a/drivers/pinctrl/pinctrl-ab8540.c +++ b/drivers/pinctrl/nomadik/pinctrl-ab8540.c | |||
diff --git a/drivers/pinctrl/pinctrl-ab9540.c b/drivers/pinctrl/nomadik/pinctrl-ab9540.c index 1a281ca95dac..1a281ca95dac 100644 --- a/drivers/pinctrl/pinctrl-ab9540.c +++ b/drivers/pinctrl/nomadik/pinctrl-ab9540.c | |||
diff --git a/drivers/pinctrl/pinctrl-abx500.c b/drivers/pinctrl/nomadik/pinctrl-abx500.c index f3f8b24efe54..a53a689a2bfa 100644 --- a/drivers/pinctrl/pinctrl-abx500.c +++ b/drivers/pinctrl/nomadik/pinctrl-abx500.c | |||
@@ -32,8 +32,8 @@ | |||
32 | #include <linux/pinctrl/machine.h> | 32 | #include <linux/pinctrl/machine.h> |
33 | 33 | ||
34 | #include "pinctrl-abx500.h" | 34 | #include "pinctrl-abx500.h" |
35 | #include "core.h" | 35 | #include "../core.h" |
36 | #include "pinconf.h" | 36 | #include "../pinconf.h" |
37 | 37 | ||
38 | /* | 38 | /* |
39 | * The AB9540 and AB8540 GPIO support are extended versions | 39 | * The AB9540 and AB8540 GPIO support are extended versions |
diff --git a/drivers/pinctrl/pinctrl-abx500.h b/drivers/pinctrl/nomadik/pinctrl-abx500.h index 2beef3bfe9ca..2beef3bfe9ca 100644 --- a/drivers/pinctrl/pinctrl-abx500.h +++ b/drivers/pinctrl/nomadik/pinctrl-abx500.h | |||
diff --git a/drivers/pinctrl/pinctrl-nomadik-db8500.c b/drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c index c74840729648..c74840729648 100644 --- a/drivers/pinctrl/pinctrl-nomadik-db8500.c +++ b/drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c | |||
diff --git a/drivers/pinctrl/pinctrl-nomadik-db8540.c b/drivers/pinctrl/nomadik/pinctrl-nomadik-db8540.c index d7ba5443bae0..d7ba5443bae0 100644 --- a/drivers/pinctrl/pinctrl-nomadik-db8540.c +++ b/drivers/pinctrl/nomadik/pinctrl-nomadik-db8540.c | |||
diff --git a/drivers/pinctrl/pinctrl-nomadik-stn8815.c b/drivers/pinctrl/nomadik/pinctrl-nomadik-stn8815.c index ed39dcafd4f8..ed39dcafd4f8 100644 --- a/drivers/pinctrl/pinctrl-nomadik-stn8815.c +++ b/drivers/pinctrl/nomadik/pinctrl-nomadik-stn8815.c | |||
diff --git a/drivers/pinctrl/pinctrl-nomadik.c b/drivers/pinctrl/nomadik/pinctrl-nomadik.c index a564251fe093..e7cab07eef47 100644 --- a/drivers/pinctrl/pinctrl-nomadik.c +++ b/drivers/pinctrl/nomadik/pinctrl-nomadik.c | |||
@@ -31,7 +31,7 @@ | |||
31 | /* Since we request GPIOs from ourself */ | 31 | /* Since we request GPIOs from ourself */ |
32 | #include <linux/pinctrl/consumer.h> | 32 | #include <linux/pinctrl/consumer.h> |
33 | #include "pinctrl-nomadik.h" | 33 | #include "pinctrl-nomadik.h" |
34 | #include "core.h" | 34 | #include "../core.h" |
35 | 35 | ||
36 | /* | 36 | /* |
37 | * The GPIO module in the Nomadik family of Systems-on-Chip is an | 37 | * The GPIO module in the Nomadik family of Systems-on-Chip is an |
diff --git a/drivers/pinctrl/pinctrl-nomadik.h b/drivers/pinctrl/nomadik/pinctrl-nomadik.h index d8215f1e70c7..d8215f1e70c7 100644 --- a/drivers/pinctrl/pinctrl-nomadik.h +++ b/drivers/pinctrl/nomadik/pinctrl-nomadik.h | |||