Skip to content

Commit 3ec0e1e

Browse files
amergnatkrzk
authored andcommitted
memory: mtk-smi: mt8365: Add SMI Support
Add MT8365 SMI common support. Reviewed-by: Yong Wu <[email protected]> Signed-off-by: Alexandre Mergnat <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 4ad9a80 commit 3ec0e1e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/memory/mtk-smi.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,11 @@ static const struct mtk_smi_common_plat mtk_smi_sub_common_mt8195 = {
713713
.has_gals = true,
714714
};
715715

716+
static const struct mtk_smi_common_plat mtk_smi_common_mt8365 = {
717+
.type = MTK_SMI_GEN2,
718+
.bus_sel = F_MMU1_LARB(2) | F_MMU1_LARB(4),
719+
};
720+
716721
static const struct of_device_id mtk_smi_common_of_ids[] = {
717722
{.compatible = "mediatek,mt2701-smi-common", .data = &mtk_smi_common_gen1},
718723
{.compatible = "mediatek,mt2712-smi-common", .data = &mtk_smi_common_gen2},
@@ -728,6 +733,7 @@ static const struct of_device_id mtk_smi_common_of_ids[] = {
728733
{.compatible = "mediatek,mt8195-smi-common-vdo", .data = &mtk_smi_common_mt8195_vdo},
729734
{.compatible = "mediatek,mt8195-smi-common-vpp", .data = &mtk_smi_common_mt8195_vpp},
730735
{.compatible = "mediatek,mt8195-smi-sub-common", .data = &mtk_smi_sub_common_mt8195},
736+
{.compatible = "mediatek,mt8365-smi-common", .data = &mtk_smi_common_mt8365},
731737
{}
732738
};
733739

0 commit comments

Comments
 (0)