xref: /linux/drivers/soc/fsl/qe/Kconfig (revision 5a35435ef4e6e4bd2aabd6706b146b298a9cffe5)
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"
8*5a35435eSRasmus Villemoes	depends on OF && HAS_IOMEM
9*5a35435eSRasmus 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
347aa1aa6eSZhao Qiang	default y if UCC_FAST || UCC_SLOW
357aa1aa6eSZhao Qiang
3635ef1c20SZhao Qiangconfig QE_TDM
3735ef1c20SZhao Qiang	bool
3835ef1c20SZhao Qiang	default y if FSL_UCC_HDLC
3935ef1c20SZhao Qiang
407aa1aa6eSZhao Qiangconfig QE_USB
417aa1aa6eSZhao Qiang	bool
427aa1aa6eSZhao Qiang	default y if USB_FSL_QE
437aa1aa6eSZhao Qiang	help
447aa1aa6eSZhao Qiang	  QE USB Controller support
45