diff options
author | Sven Eckelmann <sven.eckelmann@open-mesh.com> | 2016-05-19 20:20:55 +0200 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2016-09-21 18:16:54 +0200 |
commit | 601462ea2f9fda11e13a67bd9160c554e4c3565b (patch) | |
tree | a5515f370d813ca1b630074b8f3ce73c5b1d2b86 /target/linux | |
parent | 1702e3b2a9e84cb811531bd80a6cbb15a2511438 (diff) | |
download | upstream-601462ea2f9fda11e13a67bd9160c554e4c3565b.tar.gz upstream-601462ea2f9fda11e13a67bd9160c554e4c3565b.tar.bz2 upstream-601462ea2f9fda11e13a67bd9160c554e4c3565b.zip |
ar71xx: Add support for ath79_gpio_function_* on QCA955X
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Backport of r49074
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch index 24ce7d83c5..076a4a1bac 100644 --- a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch +++ b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch @@ -1,6 +1,16 @@ --- a/arch/mips/ath79/gpio.c +++ b/arch/mips/ath79/gpio.c -@@ -185,15 +185,27 @@ void __init ath79_gpio_output_select(uns +@@ -146,7 +146,8 @@ static void __iomem *ath79_gpio_get_func + if (soc_is_ar71xx() || + soc_is_ar724x() || + soc_is_ar913x() || +- soc_is_ar933x()) ++ soc_is_ar933x() || ++ soc_is_qca955x()) + reg = AR71XX_GPIO_REG_FUNC; + else if (soc_is_ar934x() || + soc_is_qca953x() || soc_is_qca956x()) +@@ -185,15 +186,27 @@ void __init ath79_gpio_output_select(uns { void __iomem *base = ath79_gpio_base; unsigned long flags; |