memory: mtk-smi: mt8365: Add SMI Support
Add MT8365 SMI common support. Reviewed-by: Yong Wu <yong.wu@mediatek.com> Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> Link: https://lore.kernel.org/r/20230407-smi-driver-v2-1-8da6683cdb5c@baylibre.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
parent
4ad9a801a3
commit
3ec0e1ea47
@ -713,6 +713,11 @@ static const struct mtk_smi_common_plat mtk_smi_sub_common_mt8195 = {
|
|||||||
.has_gals = true,
|
.has_gals = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct mtk_smi_common_plat mtk_smi_common_mt8365 = {
|
||||||
|
.type = MTK_SMI_GEN2,
|
||||||
|
.bus_sel = F_MMU1_LARB(2) | F_MMU1_LARB(4),
|
||||||
|
};
|
||||||
|
|
||||||
static const struct of_device_id mtk_smi_common_of_ids[] = {
|
static const struct of_device_id mtk_smi_common_of_ids[] = {
|
||||||
{.compatible = "mediatek,mt2701-smi-common", .data = &mtk_smi_common_gen1},
|
{.compatible = "mediatek,mt2701-smi-common", .data = &mtk_smi_common_gen1},
|
||||||
{.compatible = "mediatek,mt2712-smi-common", .data = &mtk_smi_common_gen2},
|
{.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[] = {
|
|||||||
{.compatible = "mediatek,mt8195-smi-common-vdo", .data = &mtk_smi_common_mt8195_vdo},
|
{.compatible = "mediatek,mt8195-smi-common-vdo", .data = &mtk_smi_common_mt8195_vdo},
|
||||||
{.compatible = "mediatek,mt8195-smi-common-vpp", .data = &mtk_smi_common_mt8195_vpp},
|
{.compatible = "mediatek,mt8195-smi-common-vpp", .data = &mtk_smi_common_mt8195_vpp},
|
||||||
{.compatible = "mediatek,mt8195-smi-sub-common", .data = &mtk_smi_sub_common_mt8195},
|
{.compatible = "mediatek,mt8195-smi-sub-common", .data = &mtk_smi_sub_common_mt8195},
|
||||||
|
{.compatible = "mediatek,mt8365-smi-common", .data = &mtk_smi_common_mt8365},
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user