soc: mediatek: Add deprecated compatible to mmsys
authorMatthias Brugger <matthias.bgg@gmail.com>
Fri, 11 Nov 2022 08:29:12 +0000 (09:29 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 21 Nov 2022 18:25:34 +0000 (19:25 +0100)
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>
drivers/soc/mediatek/mtk-mmsys.c

index ba2e79b..f343144 100644 (file)
@@ -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,