From: Jason-jh Lin <jason-jh.lin@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> This patch series adds support for the MediaTek MT8196 SoC in the CMDQ driver and related subsystems. The changes include adding compatible names and properties, updating driver data to accommodate hardware changes, and modifying the usage of CMDQ API to support non-subsys ID hardware. --- Change in v2: 1. Remove the constant and fix warning in dt-bindings. 2. Remove the pa_base parameter of CMDQ APIs and related modification. 3. Move subsys checking to client drivers and use 2 alternative CMDQ APIs to achieve the same functionality. --- Jason-JH.Lin (8): dt-bindings: mailbox: mediatek: Add GCE header file for MT8196 dt-bindings: mailbox: mediatek: Add MT8196 support for gce-mailbox mailbox: mtk-cmdq: Add driver data to support for MT8196 soc: mediatek: mtk-cmdq: Add pa_base parsing for unsupported subsys ID hardware soc: mediatek: mtk-cmdq: Add mminfra_offset compatibility for DRAM address soc: mediatek: Add programming flow for unsupported subsys ID hardware drm/mediatek: Add programming flow for unsupported subsys ID hardware media: mediatek: mdp3: Add programming flow for unsupported subsys ID hardware .../mailbox/mediatek,gce-mailbox.yaml | 4 + drivers/gpu/drm/mediatek/mtk_ddp_comp.c | 34 +- drivers/mailbox/mtk-cmdq-mailbox.c | 107 +- .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 26 +- .../platform/mediatek/mdp3/mtk-mdp3-comp.h | 41 +- drivers/soc/mediatek/mtk-cmdq-helper.c | 53 +- drivers/soc/mediatek/mtk-mmsys.c | 16 +- drivers/soc/mediatek/mtk-mutex.c | 12 +- .../dt-bindings/mailbox/mediatek,mt8196-gce.h | 1439 +++++++++++++++++ include/linux/mailbox/mtk-cmdq-mailbox.h | 3 + include/linux/soc/mediatek/mtk-cmdq.h | 1 + 11 files changed, 1701 insertions(+), 35 deletions(-) create mode 100644 include/dt-bindings/mailbox/mediatek,mt8196-gce.h -- 2.43.0