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

Herve Codina posted 36 patches 1 year, 4 months ago
[PATCH v2 33/36] soc: fsl: qe: Add missing PUSHSCHED command
Posted by Herve Codina 1 year, 4 months ago
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(+)

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
-- 
2.45.0
Re: [PATCH v2 33/36] soc: fsl: qe: Add missing PUSHSCHED command
Posted by Christophe Leroy 1 year, 3 months ago

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