814-qe-0006-config-qe-add-irq-qeic-support.patch 2.1 KB

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