Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc: mediatek: mtk-mutex: Add DPI1 SOF/EOF to MT8188 mutex tables

MT8188 uses DPI1 to output to the HDMI controller: add the
Start of Frame and End of Frame configuration for the DPI1
IP to the tables to unblock generation and sending of these
signals to the GCE.

Link: https://lore.kernel.org/r/20250212100012.33001-2-angelogioacchino.delregno@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

+6
+6
drivers/soc/mediatek/mtk-mutex.c
··· 155 155 #define MT8188_MUTEX_MOD_DISP1_VPP_MERGE3 23 156 156 #define MT8188_MUTEX_MOD_DISP1_VPP_MERGE4 24 157 157 #define MT8188_MUTEX_MOD_DISP1_DISP_MIXER 30 158 + #define MT8188_MUTEX_MOD_DISP1_DPI1 38 158 159 #define MT8188_MUTEX_MOD_DISP1_DP_INTF1 39 159 160 160 161 #define MT8195_MUTEX_MOD_DISP_OVL0 0 ··· 290 289 #define MT8188_MUTEX_SOF_DSI0 1 291 290 #define MT8188_MUTEX_SOF_DP_INTF0 3 292 291 #define MT8188_MUTEX_SOF_DP_INTF1 4 292 + #define MT8188_MUTEX_SOF_DPI1 5 293 293 #define MT8195_MUTEX_SOF_DSI0 1 294 294 #define MT8195_MUTEX_SOF_DSI1 2 295 295 #define MT8195_MUTEX_SOF_DP_INTF0 3 ··· 303 301 #define MT8188_MUTEX_EOF_DSI0 (MT8188_MUTEX_SOF_DSI0 << 7) 304 302 #define MT8188_MUTEX_EOF_DP_INTF0 (MT8188_MUTEX_SOF_DP_INTF0 << 7) 305 303 #define MT8188_MUTEX_EOF_DP_INTF1 (MT8188_MUTEX_SOF_DP_INTF1 << 7) 304 + #define MT8188_MUTEX_EOF_DPI1 (MT8188_MUTEX_SOF_DPI1 << 7) 306 305 #define MT8195_MUTEX_EOF_DSI0 (MT8195_MUTEX_SOF_DSI0 << 7) 307 306 #define MT8195_MUTEX_EOF_DSI1 (MT8195_MUTEX_SOF_DSI1 << 7) 308 307 #define MT8195_MUTEX_EOF_DP_INTF0 (MT8195_MUTEX_SOF_DP_INTF0 << 7) ··· 475 472 [DDP_COMPONENT_PWM0] = MT8188_MUTEX_MOD2_DISP_PWM0, 476 473 [DDP_COMPONENT_DP_INTF0] = MT8188_MUTEX_MOD_DISP_DP_INTF0, 477 474 [DDP_COMPONENT_DP_INTF1] = MT8188_MUTEX_MOD_DISP1_DP_INTF1, 475 + [DDP_COMPONENT_DPI1] = MT8188_MUTEX_MOD_DISP1_DPI1, 478 476 [DDP_COMPONENT_ETHDR_MIXER] = MT8188_MUTEX_MOD_DISP1_DISP_MIXER, 479 477 [DDP_COMPONENT_MDP_RDMA0] = MT8188_MUTEX_MOD_DISP1_MDP_RDMA0, 480 478 [DDP_COMPONENT_MDP_RDMA1] = MT8188_MUTEX_MOD_DISP1_MDP_RDMA1, ··· 690 686 [MUTEX_SOF_SINGLE_MODE] = MUTEX_SOF_SINGLE_MODE, 691 687 [MUTEX_SOF_DSI0] = 692 688 MT8188_MUTEX_SOF_DSI0 | MT8188_MUTEX_EOF_DSI0, 689 + [MUTEX_SOF_DPI1] = 690 + MT8188_MUTEX_SOF_DPI1 | MT8188_MUTEX_EOF_DPI1, 693 691 [MUTEX_SOF_DP_INTF0] = 694 692 MT8188_MUTEX_SOF_DP_INTF0 | MT8188_MUTEX_EOF_DP_INTF0, 695 693 [MUTEX_SOF_DP_INTF1] =