xref: /linux/drivers/soc/fsl/qe/Kconfig (revision 7ac947021d9d002d207ba9c376b4fe498926ea8d)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
27aa1aa6eSZhao Qiang#
37aa1aa6eSZhao Qiang# QE Communication options
47aa1aa6eSZhao Qiang#
57aa1aa6eSZhao Qiang
67aa1aa6eSZhao Qiangconfig QUICC_ENGINE
746252108SLi Yang	bool "QUICC Engine (QE) framework support"
85a35435eSRasmus Villemoes	depends on OF && HAS_IOMEM
95a35435eSRasmus Villemoes	depends on PPC || ARM || ARM64 || COMPILE_TEST
107aa1aa6eSZhao Qiang	select GENERIC_ALLOCATOR
117aa1aa6eSZhao Qiang	select CRC32
127aa1aa6eSZhao Qiang	help
137aa1aa6eSZhao Qiang	  The QUICC Engine (QE) is a new generation of communications
147aa1aa6eSZhao Qiang	  coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
157aa1aa6eSZhao Qiang	  Selecting this option means that you wish to build a kernel
167aa1aa6eSZhao Qiang	  for a machine with a QE coprocessor.
177aa1aa6eSZhao Qiang
187aa1aa6eSZhao Qiangconfig UCC_SLOW
197aa1aa6eSZhao Qiang	bool
207aa1aa6eSZhao Qiang	default y if SERIAL_QE
217aa1aa6eSZhao Qiang	help
227aa1aa6eSZhao Qiang	  This option provides qe_lib support to UCC slow
237aa1aa6eSZhao Qiang	  protocols: UART, BISYNC, QMC
247aa1aa6eSZhao Qiang
257aa1aa6eSZhao Qiangconfig UCC_FAST
267aa1aa6eSZhao Qiang	bool
2735ef1c20SZhao Qiang	default y if UCC_GETH || QE_TDM
287aa1aa6eSZhao Qiang	help
297aa1aa6eSZhao Qiang	  This option provides qe_lib support to UCC fast
307aa1aa6eSZhao Qiang	  protocols: HDLC, Ethernet, ATM, transparent
317aa1aa6eSZhao Qiang
327aa1aa6eSZhao Qiangconfig UCC
337aa1aa6eSZhao Qiang	bool
34*7ac94702SHerve Codina	default y if UCC_FAST || UCC_SLOW || (CPM_TSA && QUICC_ENGINE)
357aa1aa6eSZhao Qiang
361d4ba0b8SHerve Codinaconfig CPM_TSA
37*7ac94702SHerve Codina	tristate "CPM/QE TSA support"
381d4ba0b8SHerve Codina	depends on OF && HAS_IOMEM
39*7ac94702SHerve Codina	depends on CPM1 || QUICC_ENGINE || \
40*7ac94702SHerve Codina		   ((CPM || QUICC_ENGINE) && COMPILE_TEST)
411d4ba0b8SHerve Codina	help
42*7ac94702SHerve Codina	  Freescale CPM/QE Time Slot Assigner (TSA)
431d4ba0b8SHerve Codina	  controller.
441d4ba0b8SHerve Codina
451d4ba0b8SHerve Codina	  This option enables support for this
461d4ba0b8SHerve Codina	  controller
471d4ba0b8SHerve Codina
483178d58eSHerve Codinaconfig CPM_QMC
493178d58eSHerve Codina	tristate "CPM QMC support"
503178d58eSHerve Codina	depends on OF && HAS_IOMEM
51192d43e9SHerve Codina	depends on CPM1 || (FSL_SOC && CPM && COMPILE_TEST)
523178d58eSHerve Codina	depends on CPM_TSA
533178d58eSHerve Codina	help
543178d58eSHerve Codina	  Freescale CPM QUICC Multichannel Controller
553178d58eSHerve Codina	  (QMC)
563178d58eSHerve Codina
573178d58eSHerve Codina	  This option enables support for this
583178d58eSHerve Codina	  controller
593178d58eSHerve Codina
6035ef1c20SZhao Qiangconfig QE_TDM
6135ef1c20SZhao Qiang	bool
6235ef1c20SZhao Qiang	default y if FSL_UCC_HDLC
6335ef1c20SZhao Qiang
647aa1aa6eSZhao Qiangconfig QE_USB
657aa1aa6eSZhao Qiang	bool
667b1a78baSRandy Dunlap	depends on QUICC_ENGINE
677aa1aa6eSZhao Qiang	default y if USB_FSL_QE
687aa1aa6eSZhao Qiang	help
697aa1aa6eSZhao Qiang	  QE USB Controller support
70