c037d7271de7c67a8f609fb006fb22386539de8e
[openwrt/svn-archive/archive.git] / target / linux / oxnas / patches-4.0 / 330-oxnas-pinctrl.patch
1 Index: linux-4.0-rc4/drivers/pinctrl/Kconfig
2 ===================================================================
3 --- linux-4.0-rc4.orig/drivers/pinctrl/Kconfig
4 +++ linux-4.0-rc4/drivers/pinctrl/Kconfig
5 @@ -188,6 +188,15 @@ config PINCTRL_COH901
6 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
7 ports of 8 GPIO pins each.
8
9 +config PINCTRL_OXNAS
10 + bool "OXNAS pinctrl driver"
11 + depends on OF
12 + depends on ARCH_OXNAS
13 + select PINMUX
14 + select PINCONF
15 + help
16 + Say Y here to enable the oxnas pinctrl driver
17 +
18 config PINCTRL_PALMAS
19 bool "Pinctrl driver for the PALMAS Series MFD devices"
20 depends on OF && MFD_PALMAS
21 Index: linux-4.0-rc4/drivers/pinctrl/Makefile
22 ===================================================================
23 --- linux-4.0-rc4.orig/drivers/pinctrl/Makefile
24 +++ linux-4.0-rc4/drivers/pinctrl/Makefile
25 @@ -18,6 +18,7 @@ obj-$(CONFIG_PINCTRL_BCM2835) += pinctrl
26 obj-$(CONFIG_PINCTRL_BCM281XX) += pinctrl-bcm281xx.o
27 obj-$(CONFIG_PINCTRL_FALCON) += pinctrl-falcon.o
28 obj-$(CONFIG_PINCTRL_MESON) += meson/
29 +obj-$(CONFIG_PINCTRL_OXNAS) += pinctrl-oxnas.o
30 obj-$(CONFIG_PINCTRL_PALMAS) += pinctrl-palmas.o
31 obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o
32 obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o