diff options
author | Nicolas Frattaroli <nicolas.frattaroli@collabora.com> | 2025-10-03 22:15:06 +0200 |
---|---|---|
committer | Jassi Brar <jassisinghbrar@gmail.com> | 2025-10-06 18:14:01 -0500 |
commit | dbca0eabb821a6278925712a7bb263d0997e9c8f (patch) | |
tree | fa02764f21a4a279980358f7bce143cc5136e9da /lib/mpi | |
parent | d3e35a151a84ee607c817c08692dfd71568b3e0c (diff) |
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>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions