18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# QE Communication options
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig QUICC_ENGINE
78c2ecf20Sopenharmony_ci	bool "QUICC Engine (QE) framework support"
88c2ecf20Sopenharmony_ci	depends on OF && HAS_IOMEM
98c2ecf20Sopenharmony_ci	depends on PPC || ARM || ARM64 || COMPILE_TEST
108c2ecf20Sopenharmony_ci	select GENERIC_ALLOCATOR
118c2ecf20Sopenharmony_ci	select CRC32
128c2ecf20Sopenharmony_ci	help
138c2ecf20Sopenharmony_ci	  The QUICC Engine (QE) is a new generation of communications
148c2ecf20Sopenharmony_ci	  coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
158c2ecf20Sopenharmony_ci	  Selecting this option means that you wish to build a kernel
168c2ecf20Sopenharmony_ci	  for a machine with a QE coprocessor.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciconfig UCC_SLOW
198c2ecf20Sopenharmony_ci	bool
208c2ecf20Sopenharmony_ci	default y if SERIAL_QE
218c2ecf20Sopenharmony_ci	help
228c2ecf20Sopenharmony_ci	  This option provides qe_lib support to UCC slow
238c2ecf20Sopenharmony_ci	  protocols: UART, BISYNC, QMC
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciconfig UCC_FAST
268c2ecf20Sopenharmony_ci	bool
278c2ecf20Sopenharmony_ci	default y if UCC_GETH || QE_TDM
288c2ecf20Sopenharmony_ci	help
298c2ecf20Sopenharmony_ci	  This option provides qe_lib support to UCC fast
308c2ecf20Sopenharmony_ci	  protocols: HDLC, Ethernet, ATM, transparent
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciconfig UCC
338c2ecf20Sopenharmony_ci	bool
348c2ecf20Sopenharmony_ci	default y if UCC_FAST || UCC_SLOW
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciconfig QE_TDM
378c2ecf20Sopenharmony_ci	bool
388c2ecf20Sopenharmony_ci	default y if FSL_UCC_HDLC
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ciconfig QE_USB
418c2ecf20Sopenharmony_ci	bool
428c2ecf20Sopenharmony_ci	depends on QUICC_ENGINE
438c2ecf20Sopenharmony_ci	default y if USB_FSL_QE
448c2ecf20Sopenharmony_ci	help
458c2ecf20Sopenharmony_ci	  QE USB Controller support
46