aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/patches-4.14/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch
diff options
context:
space:
mode:
authorMagnus Kroken <mkroken@gmail.com>2018-10-06 01:46:22 +0200
committerJohn Crispin <john@phrozen.org>2018-10-11 08:03:56 +0200
commitc83c1804891ac706f2e82f9d6c0aaf6ba290348a (patch)
tree3204894923b23007ea2b2bce988bb8c17cb2a482 /target/linux/mpc85xx/patches-4.14/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch
parentf4b7dfcc4beede9acd8f503b121aed158e38a11d (diff)
downloadupstream-c83c1804891ac706f2e82f9d6c0aaf6ba290348a.tar.gz
upstream-c83c1804891ac706f2e82f9d6c0aaf6ba290348a.tar.bz2
upstream-c83c1804891ac706f2e82f9d6c0aaf6ba290348a.zip
mpc85xx: add kernel 4.14 support
Based on patches previously submitted by Achim Gottinger: http://lists.infradead.org/pipermail/openwrt-devel/2018-June/012719.html Tested on TP-Link TL-WDR4900 v1. Signed-off-by: Magnus Kroken <mkroken@gmail.com>
Diffstat (limited to 'target/linux/mpc85xx/patches-4.14/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch')
-rw-r--r--target/linux/mpc85xx/patches-4.14/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/patches-4.14/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch b/target/linux/mpc85xx/patches-4.14/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch
new file mode 100644
index 0000000000..ee0c4d784d
--- /dev/null
+++ b/target/linux/mpc85xx/patches-4.14/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch
@@ -0,0 +1,10 @@
+--- a/arch/powerpc/platforms/85xx/common.c
++++ b/arch/powerpc/platforms/85xx/common.c
+@@ -33,6 +33,7 @@ static const struct of_device_id mpc85xx
+ { .compatible = "fsl,mpc8548-guts", },
+ /* Probably unnecessary? */
+ { .compatible = "gpio-leds", },
++ { .compatible = "gpio-keys", },
+ /* For all PCI controllers */
+ { .compatible = "fsl,mpc8540-pci", },
+ { .compatible = "fsl,mpc8548-pcie", },