Commit 7ac94702 authored by Herve Codina's avatar Herve Codina Committed by Christophe Leroy

soc: fsl: cpm1: tsa: Add support for QUICC Engine (QE) implementation

Add support for the time slot assigner (TSA) available in some
PowerQUICC SoC that uses a QUICC Engine (QE) block such as MPC8321.

The QE TSA is similar to the CPM1 TSA except that it uses UCCs (Unified
Communication Controllers) instead of SCCs (Serial Communication
Controllers).
Also, compared against the CPM1 TSA, this QE TSA can handle up to 4 TDMs
instead of 2 and allows to configure the logic level of sync signals.

At a lower level, compared against CPM TSA implementation, some
registers are slightly different even if same features are present.
Signed-off-by: default avatarHerve Codina <herve.codina@bootlin.com>
Reviewed-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20240808071132.149251-15-herve.codina@bootlin.comSigned-off-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
parent 572312a5
...@@ -31,14 +31,15 @@ config UCC_FAST ...@@ -31,14 +31,15 @@ config UCC_FAST
config UCC config UCC
bool bool
default y if UCC_FAST || UCC_SLOW default y if UCC_FAST || UCC_SLOW || (CPM_TSA && QUICC_ENGINE)
config CPM_TSA config CPM_TSA
tristate "CPM TSA support" tristate "CPM/QE TSA support"
depends on OF && HAS_IOMEM depends on OF && HAS_IOMEM
depends on CPM1 || (CPM && COMPILE_TEST) depends on CPM1 || QUICC_ENGINE || \
((CPM || QUICC_ENGINE) && COMPILE_TEST)
help help
Freescale CPM Time Slot Assigner (TSA) Freescale CPM/QE Time Slot Assigner (TSA)
controller. controller.
This option enables support for this This option enables support for this
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment