diff options
author | Matthias Brugger <matthias.bgg@gmail.com> | 2020-05-18 14:31:55 +0300 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2020-05-20 13:49:35 +0300 |
commit | 32956dda97577f0960eb3d9d9aff7338d0cf4cc4 (patch) | |
tree | 0565c229e6dfa6132627d3f77ebf42ce636f4a68 /drivers/soc | |
parent | cad4e3790a987867c3779b59521f19ff75b8d8b6 (diff) | |
download | linux-32956dda97577f0960eb3d9d9aff7338d0cf4cc4.tar.xz |
clk/soc: mediatek: mt6779: Bind clock driver from platform device
The mmsys driver is now the top level entry point for the multimedia
system (mmsys), we bind the clock driver by creating a platform device.
We also bind the MediaTek DRM driver which is not yet implement and
therefor will errror out for now.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20200518113156.25009-3-matthias.bgg@kernel.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/mediatek/mtk-mmsys.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/mtk-mmsys.c b/drivers/soc/mediatek/mtk-mmsys.c index e13dfda8b43b..a55f25511173 100644 --- a/drivers/soc/mediatek/mtk-mmsys.c +++ b/drivers/soc/mediatek/mtk-mmsys.c @@ -87,6 +87,10 @@ static const struct mtk_mmsys_driver_data mt2712_mmsys_driver_data = { .clk_driver = "clk-mt2712-mm", }; +static const struct mtk_mmsys_driver_data mt6779_mmsys_driver_data = { + .clk_driver = "clk-mt6779-mm", +}; + static const struct mtk_mmsys_driver_data mt6797_mmsys_driver_data = { .clk_driver = "clk-mt6797-mm", }; @@ -345,6 +349,10 @@ static const struct of_device_id of_match_mtk_mmsys[] = { .data = &mt2712_mmsys_driver_data, }, { + .compatible = "mediatek,mt6779-mmsys", + .data = &mt6779_mmsys_driver_data, + }, + { .compatible = "mediatek,mt6797-mmsys", .data = &mt6797_mmsys_driver_data, }, |