diff options
author | Archit Taneja <architt@codeaurora.org> | 2015-11-18 06:58:39 (GMT) |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2015-12-14 15:38:38 (GMT) |
commit | d4fc72ed15ce9612cf4124214fb13c3b9792b3d3 (patch) | |
tree | a0349266e5f1825f815fb66986e97dd0c0754b2d /drivers/gpu/drm/msm | |
parent | e9fbdaf25cee78049cefb877e1d2fd36ffbf4af1 (diff) | |
download | linux-d4fc72ed15ce9612cf4124214fb13c3b9792b3d3.tar.xz |
drm/msm: Update compatible strings for mdp
Create distinct compatible strings for mdp4 and mdp5. Keep "qcom,mdss_mdp"
as is to support downstream kernels.
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 06df8aa..9a30807 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -1092,8 +1092,10 @@ static const struct platform_device_id msm_id[] = { }; static const struct of_device_id dt_match[] = { - { .compatible = "qcom,mdp", .data = (void *) 4 }, /* mdp4 */ - { .compatible = "qcom,mdss_mdp", .data = (void *) 5 }, /* mdp5 */ + { .compatible = "qcom,mdp4", .data = (void *) 4 }, /* mdp4 */ + { .compatible = "qcom,mdp5", .data = (void *) 5 }, /* mdp5 */ + /* to support downstream DT files */ + { .compatible = "qcom,mdss_mdp", .data = (void *) 5 }, /* mdp5 */ {} }; MODULE_DEVICE_TABLE(of, dt_match); |