]> www.infradead.org Git - users/willy/xarray.git/commit
soc: fsl: cpm1: tsa: Introduce tsa_setup() and its CPM1 compatible version
authorHerve Codina <herve.codina@bootlin.com>
Thu, 8 Aug 2024 07:11:04 +0000 (09:11 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 3 Sep 2024 05:49:18 +0000 (07:49 +0200)
commit8d600cc337adb0573f2e6622568104ef8e1d1034
treed474164f8f8171b9d4ed30ae96e288d0ed2f4249
parent8c8e1ba3e98c29e3bee1c7c0f19ff1ecd89f197f
soc: fsl: cpm1: tsa: Introduce tsa_setup() and its CPM1 compatible version

Current code handles the CPM1 version of TSA. Setting up TSA consists in
handling SIMODE and SIGMR registers. These registers are CPM1 specific.

Setting up the QUICC Engine (QE) version of TSA is slightly different.

In order to prepare the support for QE version, clearly identify these
registers as CPM1 compatible and isolate their handling in a CPM1
specific function.

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-12-herve.codina@bootlin.com
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
drivers/soc/fsl/qe/tsa.c