linux_dsm_epyc7002/drivers/soc/mediatek
Enric Balletbo i Serra 667c769246 soc / drm: mediatek: Fix mediatek-drm device probing
In the actual implementation the same compatible string
"mediatek,<chip>-mmsys" is used to bind the clock drivers
(drivers/soc/mediatek) as well as to the gpu driver
(drivers/gpu/drm/mediatek/mtk_drm_drv.c). This ends with the problem
that the only probed driver is the clock driver and there is no display
at all.

In any case having the same compatible string for two drivers is not
correct and should be fixed. To fix this, and maintain backward
compatibility, we can consider that the mmsys driver is the top-level
entry point for the multimedia subsystem, so is not a pure clock
controller but a system controller, and the drm driver is instantiated
by that MMSYS driver.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Acked-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2020-04-13 13:01:16 +02:00
..
Kconfig clk / soc: mediatek: Move mt8173 MMSYS to platform driver 2020-04-13 13:01:16 +02:00
Makefile clk / soc: mediatek: Move mt8173 MMSYS to platform driver 2020-04-13 13:01:16 +02:00
mtk-cmdq-helper.c soc: mediatek: knows_txdone needs to be set in Mediatek CMDQ helper 2020-02-14 11:13:25 +01:00
mtk-infracfg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk-mmsys.c soc / drm: mediatek: Fix mediatek-drm device probing 2020-04-13 13:01:16 +02:00
mtk-pmic-wrap.c soc: mediatek: pwrap: add support for MT6359 PMIC 2020-02-17 11:07:25 +01:00
mtk-scpsys.c soc: mediatek: Refactor bus protection control 2019-11-07 10:11:04 +01:00