kernel: bump 5.4 to 5.4.109
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 814-qe-0006-config-qe-add-irq-qeic-support.patch
1 From 69673b5ab6f814cf679285f0c45baa318ab9e0d7 Mon Sep 17 00:00:00 2001
2 From: Zhao Qiang <qiang.zhao@nxp.com>
3 Date: Thu, 27 Apr 2017 10:22:12 +0800
4 Subject: [PATCH] config/qe: add irq-qeic support.
5
6 Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
7 ---
8 MAINTAINERS | 6 ++++++
9 drivers/irqchip/Makefile | 1 +
10 drivers/net/ethernet/freescale/Kconfig | 11 ++++++-----
11 3 files changed, 13 insertions(+), 5 deletions(-)
12
13 --- a/MAINTAINERS
14 +++ b/MAINTAINERS
15 @@ -6597,6 +6597,12 @@ F: drivers/soc/fsl/qe/
16 F: include/soc/fsl/*qe*.h
17 F: include/soc/fsl/*ucc*.h
18
19 +FREESCALE QEIC DRIVERS
20 +M: Qiang Zhao <qiang.zhao@nxp.com>
21 +L: linux-kernel@vger.kernel.org
22 +S: Maintained
23 +F: drivers/irqchip/irq-qeic.c
24 +
25 FREESCALE QUICC ENGINE UCC ETHERNET DRIVER
26 M: Li Yang <leoyang.li@nxp.com>
27 L: netdev@vger.kernel.org
28 --- a/drivers/irqchip/Makefile
29 +++ b/drivers/irqchip/Makefile
30 @@ -103,3 +103,4 @@ obj-$(CONFIG_MADERA_IRQ) += irq-madera.
31 obj-$(CONFIG_LS1X_IRQ) += irq-ls1x.o
32 obj-$(CONFIG_TI_SCI_INTR_IRQCHIP) += irq-ti-sci-intr.o
33 obj-$(CONFIG_TI_SCI_INTA_IRQCHIP) += irq-ti-sci-inta.o
34 +obj-$(CONFIG_QUICC_ENGINE) += irq-qeic.o
35 --- a/drivers/net/ethernet/freescale/Kconfig
36 +++ b/drivers/net/ethernet/freescale/Kconfig
37 @@ -6,10 +6,11 @@
38 config NET_VENDOR_FREESCALE
39 bool "Freescale devices"
40 default y
41 - depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \
42 - M523x || M527x || M5272 || M528x || M520x || M532x || \
43 - ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM) || \
44 - ARCH_LAYERSCAPE || COMPILE_TEST
45 + depends on FSL_SOC || (QUICC_ENGINE && PPC32) || CPM1 || CPM2 || \
46 + PPC_MPC512x || M523x || M527x || M5272 || M528x || M520x || \
47 + M532x || ARCH_MXC || ARCH_MXS || \
48 + (PPC_MPC52xx && PPC_BESTCOMM) || ARCH_LAYERSCAPE || \
49 + COMPILE_TEST
50 ---help---
51 If you have a network (Ethernet) card belonging to this class, say Y.
52
53 @@ -74,7 +75,7 @@ config FSL_XGMAC_MDIO
54
55 config UCC_GETH
56 tristate "Freescale QE Gigabit Ethernet"
57 - depends on QUICC_ENGINE
58 + depends on QUICC_ENGINE && FSL_SOC && PPC32
59 select FSL_PQ_MDIO
60 select PHYLIB
61 select FIXED_PHY