remoteproc: mediatek: Add IMGSYS IPI command
authorOlivia Wen <olivia.wen@mediatek.com>
Tue, 30 Apr 2024 01:15:34 +0000 (09:15 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 30 Apr 2024 16:44:53 +0000 (10:44 -0600)
Add an IPI command definition for communication with IMGSYS through
SCP mailbox.

Signed-off-by: Olivia Wen <olivia.wen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240430011534.9587-5-olivia.wen@mediatek.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
include/linux/remoteproc/mtk_scp.h

index 7c2b7cc9fe6c122f3d4e6cb409ff462ec2844aaf..344ff41c22c70a3e9e3d0a95a6b07b74097e3b19 100644 (file)
@@ -43,6 +43,7 @@ enum scp_ipi_id {
        SCP_IPI_CROS_HOST_CMD,
        SCP_IPI_VDEC_LAT,
        SCP_IPI_VDEC_CORE,
+       SCP_IPI_IMGSYS_CMD,
        SCP_IPI_NS_SERVICE = 0xFF,
        SCP_IPI_MAX = 0x100,
 };