]> git.ipfire.org Git - thirdparty/linux.git/commit
soc: fsl: cpm1: tsa: Introduce tsa_serial_get_num()
authorHerve Codina <herve.codina@bootlin.com>
Thu, 8 Aug 2024 07:11:09 +0000 (09:11 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 3 Sep 2024 05:49:19 +0000 (07:49 +0200)
commit3825890981e615bf6a69310390490c099443c324
treeebc7f382e732e1740a74412b2402d4d728520dc2
parent2a2b83aca0839a904699fdcb3557037681239708
soc: fsl: cpm1: tsa: Introduce tsa_serial_get_num()

TSA consumers in CPM1 implementation don't need to know about the serial
device number used by the TSA component. In QUICC Engine implementation,
this information is needed.

Improve the TSA API with tsa_serial_get_num() in order to provide this
information.

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