summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMatthias Brugger <matthias.bgg@gmail.com>2022-11-11 11:29:12 +0300
committerMatthias Brugger <matthias.bgg@gmail.com>2022-11-21 21:25:34 +0300
commit7fd731a8264346bbcaed7d47058533a4de686219 (patch)
tree6ce57d1b8b2f4a0802223fbed5ee7dea91a45d6d /drivers
parentba136b5ef5877f9ac2a14295f9007074106f5524 (diff)
downloadlinux-7fd731a8264346bbcaed7d47058533a4de686219.tar.xz
soc: mediatek: Add deprecated compatible to mmsys
For backward compatibility we add the deprecated compatible. Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20221111082912.14557-1-matthias.bgg@kernel.org Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/soc/mediatek/mtk-mmsys.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/mtk-mmsys.c b/drivers/soc/mediatek/mtk-mmsys.c
index ba2e79b26993..f3431448e843 100644
--- a/drivers/soc/mediatek/mtk-mmsys.c
+++ b/drivers/soc/mediatek/mtk-mmsys.c
@@ -303,6 +303,10 @@ static const struct of_device_id of_match_mtk_mmsys[] = {
.compatible = "mediatek,mt8192-mmsys",
.data = &mt8192_mmsys_driver_data,
},
+ { /* deprecated compatible */
+ .compatible = "mediatek,mt8195-mmsys",
+ .data = &mt8195_vdosys0_driver_data,
+ },
{
.compatible = "mediatek,mt8195-vdosys0",
.data = &mt8195_vdosys0_driver_data,