]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mailbox: mtk-cmdq: Add driver data to support for MT8196
authorJason-JH Lin <jason-jh.lin@mediatek.com>
Fri, 31 Oct 2025 15:56:33 +0000 (23:56 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 19 Jan 2026 11:57:45 +0000 (12:57 +0100)
commit5ea617e818333a2078dadc11e5734886e39901d0
treeca43c272f8eb428a17ba1a2e9f3b7b15003b1a3b
parent1c1874843bc43d9f333d441af00f61ece2373e5d
mailbox: mtk-cmdq: Add driver data to support for MT8196

MT8196 has 2 new hardware configuration compared with the previous SoC,
which correspond to the 2 new driver data:

1. mminfra_offset: For GCE data path control
   Since GCE has been moved into mminfra, GCE needs to append the
   mminfra offset to the DRAM address when accessing the DRAM.

2. gce_vm: For GCE hardware virtualization control
   Currently, the first version of the mt8196 mailbox controller only
   requires setting the VM-related registers to enable the permissions
   of a host VM.

Signed-off-by: Jason-JH Lin <jason-jh.lin@mediatek.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
drivers/mailbox/mtk-cmdq-mailbox.c