diff mbox series

[v2,33/36] soc: fsl: qe: Add missing PUSHSCHED command

Message ID 20240808071132.149251-34-herve.codina@bootlin.com (mailing list archive)
State Accepted
Delegated to: Christophe Leroy
Headers show
Series soc: fsl: Add support for QUICC Engine TSA and QMC | expand

Commit Message

Herve Codina Aug. 8, 2024, 7:11 a.m. UTC
The PUSHSCHED command is missing in the QE header file.

This command is supported on MPC8321 and is used to modify the start
address for the task running on a given peripheral. It is needed for the
QMC in order to perform the re-initialization procedure and so, ensure
the correct UCC setup in that case.

Simply add the missing command in the commands list available in the QE
header file.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
---
 include/soc/fsl/qe/qe.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Christophe Leroy Aug. 23, 2024, 8:14 a.m. UTC | #1
Le 08/08/2024 à 09:11, Herve Codina a écrit :
> The PUSHSCHED command is missing in the QE header file.
> 
> This command is supported on MPC8321 and is used to modify the start
> address for the task running on a given peripheral. It is needed for the
> QMC in order to perform the re-initialization procedure and so, ensure
> the correct UCC setup in that case.
> 
> Simply add the missing command in the commands list available in the QE
> header file.
> 
> Signed-off-by: Herve Codina <herve.codina@bootlin.com>

Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>

> ---
>   include/soc/fsl/qe/qe.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/include/soc/fsl/qe/qe.h b/include/soc/fsl/qe/qe.h
> index 629835b6c71d..8f967d15e479 100644
> --- a/include/soc/fsl/qe/qe.h
> +++ b/include/soc/fsl/qe/qe.h
> @@ -469,6 +469,7 @@ enum comm_dir {
>   #define QE_QMC_STOP_TX			0x0000000c
>   #define QE_QMC_STOP_RX			0x0000000d
>   #define QE_SS7_SU_FIL_RESET		0x0000000e
> +#define QE_PUSHSCHED			0x0000000f
>   /* jonathbr added from here down for 83xx */
>   #define QE_RESET_BCS			0x0000000a
>   #define QE_MCC_INIT_TX_RX_16		0x00000003
diff mbox series

Patch

diff --git a/include/soc/fsl/qe/qe.h b/include/soc/fsl/qe/qe.h
index 629835b6c71d..8f967d15e479 100644
--- a/include/soc/fsl/qe/qe.h
+++ b/include/soc/fsl/qe/qe.h
@@ -469,6 +469,7 @@  enum comm_dir {
 #define QE_QMC_STOP_TX			0x0000000c
 #define QE_QMC_STOP_RX			0x0000000d
 #define QE_SS7_SU_FIL_RESET		0x0000000e
+#define QE_PUSHSCHED			0x0000000f
 /* jonathbr added from here down for 83xx */
 #define QE_RESET_BCS			0x0000000a
 #define QE_MCC_INIT_TX_RX_16		0x00000003