soc: fsl: cpm1: tsa: Introduce tsa_version
authorHerve Codina <herve.codina@bootlin.com>
Thu, 8 Aug 2024 07:11:06 +0000 (09:11 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 3 Sep 2024 05:49:18 +0000 (07:49 +0200)
commit572312a5bb49885a6bda4652810bab0319ba89c3
treeffdde6eea4ecad8667adf5425b9f515e0c0c75bb
parent9c6c022d1c3ce6e343722b0b7569a00f5b75f0bc
soc: fsl: cpm1: tsa: Introduce tsa_version

Current code handles CPM1 version of TSA.

In order to prepare the support for the QUICC Engine (QE) version of
TSA, introduce tsa_version to identify versions. This will enable the
code to make the distinction between several TSA implementations.

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