]> Gentwo Git Trees - linux/.git/commit
mailbox: add MediaTek GPUEB IPI mailbox
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>
Fri, 3 Oct 2025 20:15:06 +0000 (22:15 +0200)
committerJassi Brar <jassisinghbrar@gmail.com>
Mon, 6 Oct 2025 23:14:01 +0000 (18:14 -0500)
commitdbca0eabb821a6278925712a7bb263d0997e9c8f
treefa02764f21a4a279980358f7bce143cc5136e9da
parentd3e35a151a84ee607c817c08692dfd71568b3e0c
mailbox: add MediaTek GPUEB IPI mailbox

The MT8196 SoC uses an embedded MCU to control frequencies and power of
the GPU. This controller is referred to as "GPUEB".

It communicates to the application processor, among other ways, through
a mailbox.

The mailbox exposes one interrupt, which appears to only be fired when a
response is received, rather than a transaction is completed. For us,
this means we unfortunately need to poll for txdone.

The mailbox also requires the EB clock to be on when touching any of the
mailbox registers.

Add a simple driver for it based on the common mailbox framework.

Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/Kconfig
drivers/mailbox/Makefile
drivers/mailbox/mtk-gpueb-mailbox.c [new file with mode: 0644]