Skip to content

Commit 926d621

Browse files
Yongqiang NiuJassiBrar
authored andcommitted
mailbox: mtk-cmdq: add MT8186 support
add MT8186 cmdq support Signed-off-by: Yongqiang Niu <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: CK Hu <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent 7abd037 commit 926d621

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

drivers/mailbox/mtk-cmdq-mailbox.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,9 +694,18 @@ static const struct gce_plat gce_plat_v6 = {
694694
.gce_num = 2
695695
};
696696

697+
static const struct gce_plat gce_plat_v7 = {
698+
.thread_nr = 24,
699+
.shift = 3,
700+
.control_by_sw = true,
701+
.sw_ddr_en = true,
702+
.gce_num = 1
703+
};
704+
697705
static const struct of_device_id cmdq_of_ids[] = {
698706
{.compatible = "mediatek,mt8173-gce", .data = (void *)&gce_plat_v2},
699707
{.compatible = "mediatek,mt8183-gce", .data = (void *)&gce_plat_v3},
708+
{.compatible = "mediatek,mt8186-gce", .data = (void *)&gce_plat_v7},
700709
{.compatible = "mediatek,mt6779-gce", .data = (void *)&gce_plat_v4},
701710
{.compatible = "mediatek,mt8192-gce", .data = (void *)&gce_plat_v5},
702711
{.compatible = "mediatek,mt8195-gce", .data = (void *)&gce_plat_v6},

0 commit comments

Comments
 (0)