summaryrefslogtreecommitdiff
path: root/target/linux/oxnas/patches-4.4/330-oxnas-pinctrl.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-18 23:34:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-18 23:34:59 +0000
commit89d37aaa5c757ef70c75fd3aa2bc5b720c8ae77f (patch)
tree848a9021c421e17836fcedad1b9154e9e7729556 /target/linux/oxnas/patches-4.4/330-oxnas-pinctrl.patch
parentcee6c07cf32302ad71cc8c540f997b552a3ba4aa (diff)
downloadmtk-20170518-89d37aaa5c757ef70c75fd3aa2bc5b720c8ae77f.zip
mtk-20170518-89d37aaa5c757ef70c75fd3aa2bc5b720c8ae77f.tar.gz
mtk-20170518-89d37aaa5c757ef70c75fd3aa2bc5b720c8ae77f.tar.bz2
oxnas: add patches and config for Linux 4.4
Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 48339
Diffstat (limited to 'target/linux/oxnas/patches-4.4/330-oxnas-pinctrl.patch')
-rw-r--r--target/linux/oxnas/patches-4.4/330-oxnas-pinctrl.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/oxnas/patches-4.4/330-oxnas-pinctrl.patch b/target/linux/oxnas/patches-4.4/330-oxnas-pinctrl.patch
new file mode 100644
index 0000000..479bfdd
--- /dev/null
+++ b/target/linux/oxnas/patches-4.4/330-oxnas-pinctrl.patch
@@ -0,0 +1,28 @@
+--- a/drivers/pinctrl/Kconfig
++++ b/drivers/pinctrl/Kconfig
+@@ -227,6 +227,15 @@ config PINCTRL_COH901
+ COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
+ ports of 8 GPIO pins each.
+
++config PINCTRL_OXNAS
++ bool "OXNAS pinctrl driver"
++ depends on OF
++ depends on ARCH_OXNAS
++ select PINMUX
++ select PINCONF
++ help
++ Say Y here to enable the oxnas pinctrl driver
++
+ config PINCTRL_PALMAS
+ bool "Pinctrl driver for the PALMAS Series MFD devices"
+ depends on OF && MFD_PALMAS
+--- a/drivers/pinctrl/Makefile
++++ b/drivers/pinctrl/Makefile
+@@ -17,6 +17,7 @@ obj-$(CONFIG_PINCTRL_AMD) += pinctrl-amd
+ obj-$(CONFIG_PINCTRL_DIGICOLOR) += pinctrl-digicolor.o
+ obj-$(CONFIG_PINCTRL_FALCON) += pinctrl-falcon.o
+ obj-$(CONFIG_PINCTRL_MESON) += meson/
++obj-$(CONFIG_PINCTRL_OXNAS) += pinctrl-oxnas.o
+ obj-$(CONFIG_PINCTRL_PALMAS) += pinctrl-palmas.o
+ obj-$(CONFIG_PINCTRL_PISTACHIO) += pinctrl-pistachio.o
+ obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o