]> git.ipfire.org Git - thirdparty/linux.git/commit
soc: fsl: cpm1: qmc: Handle RPACK initialization
authorHerve Codina <herve.codina@bootlin.com>
Thu, 8 Aug 2024 07:11:22 +0000 (09:11 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 3 Sep 2024 05:49:20 +0000 (07:49 +0200)
commit278d799caa2e89fcb0a1b729954345eb3576b6ec
tree664a6ba31f4032e1ea87d31edaee14d7952b8463
parentef0878a5ba1cc4f5b4716991a02c6f44db48e2ca
soc: fsl: cpm1: qmc: Handle RPACK initialization

Current code handles the CPM1 version of QMC, RPACK does not need to
be initialized. This is not the case in the QUICC Engine (QE) version.

In preparation of the support for QE, initialize the RPACK register
when the receiver is initialized and each time it is restarted.

This additional RPACK initialization has no impact in the CPM1 version
of QMC.

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