]> git.ipfire.org Git - thirdparty/linux.git/commit
soc: fsl: cpm1: tsa: Isolate specific CPM1 part from tsa_serial_{dis}connect()
authorHerve Codina <herve.codina@bootlin.com>
Thu, 8 Aug 2024 07:11:05 +0000 (09:11 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 3 Sep 2024 05:49:18 +0000 (07:49 +0200)
commit9c6c022d1c3ce6e343722b0b7569a00f5b75f0bc
tree9fd3713a3dbc3304415b236359ca915f5802f86b
parent8d600cc337adb0573f2e6622568104ef8e1d1034
soc: fsl: cpm1: tsa: Isolate specific CPM1 part from tsa_serial_{dis}connect()

Current code handles the CPM1 version of TSA. Connecting and
disconnecting the SCC to/from the TSA consists in handling SICR register
which is CPM1 specific. The connection and disconnection operation in
the QUICC Engine (QE) version are slightly different.

In order to prepare the support for the QE version, clearly identify
SICR register as specific to CPM1 and isolate its handling done in
connect and disconnect functions.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20240808071132.149251-13-herve.codina@bootlin.com
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
drivers/soc/fsl/qe/tsa.c