diff options
author | John Crispin <john@openwrt.org> | 2014-09-12 06:54:10 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-09-12 06:54:10 +0000 |
commit | cb5902d6034413c3f82197e2d3a75d16e739aa12 (patch) | |
tree | 49e54876777495792c9ae3884899ae2a7ada31ea /target/linux/atheros/patches-3.14/105-ar2315_pci.patch | |
parent | a8799105d77032d2e448bd0d05486a3dc3cee24a (diff) | |
download | mtk-20170518-cb5902d6034413c3f82197e2d3a75d16e739aa12.zip mtk-20170518-cb5902d6034413c3f82197e2d3a75d16e739aa12.tar.gz mtk-20170518-cb5902d6034413c3f82197e2d3a75d16e739aa12.tar.bz2 |
atheros: convert AR2315 GPIO code to platform driver
Convert gpiolib realization to platform driver and move to the
appropriate subdirectory. Misc GPIO interrupt acknowledgement placed
to the MISC IRQ handler since in fact we can detect only one GPIO state
change.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42512
Diffstat (limited to 'target/linux/atheros/patches-3.14/105-ar2315_pci.patch')
-rw-r--r-- | target/linux/atheros/patches-3.14/105-ar2315_pci.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/atheros/patches-3.14/105-ar2315_pci.patch b/target/linux/atheros/patches-3.14/105-ar2315_pci.patch index 7630e94..95d00a3 100644 --- a/target/linux/atheros/patches-3.14/105-ar2315_pci.patch +++ b/target/linux/atheros/patches-3.14/105-ar2315_pci.patch @@ -358,9 +358,9 @@ +} --- a/arch/mips/ar231x/Kconfig +++ b/arch/mips/ar231x/Kconfig -@@ -8,3 +8,10 @@ config SOC_AR2315 - bool "Atheros 2315+ support" +@@ -9,3 +9,10 @@ config SOC_AR2315 depends on ATHEROS_AR231X + select GPIO_AR2315 default y + +config PCI_AR2315 @@ -371,7 +371,7 @@ + default y --- a/arch/mips/ar231x/ar2315.c +++ b/arch/mips/ar231x/ar2315.c -@@ -104,6 +104,10 @@ ar2315_irq_dispatch(void) +@@ -77,6 +77,10 @@ ar2315_irq_dispatch(void) do_IRQ(AR2315_IRQ_WLAN0_INTRS); else if (pending & CAUSEF_IP4) do_IRQ(AR2315_IRQ_ENET0_INTRS); @@ -382,7 +382,7 @@ else if (pending & CAUSEF_IP2) do_IRQ(AR2315_IRQ_MISC_INTRS); else if (pending & CAUSEF_IP7) -@@ -568,3 +572,18 @@ ar2315_plat_setup(void) +@@ -458,3 +462,18 @@ ar2315_plat_setup(void) ar231x_serial_setup(AR2315_UART0, AR2315_MISC_IRQ_UART0, ar2315_apb_frequency()); } |