Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4fc72ed authored by Archit Taneja's avatar Archit Taneja Committed by Rob Clark
Browse files

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: default avatarArchit Taneja <architt@codeaurora.org>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent e9fbdaf2
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1092,7 +1092,9 @@ 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,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 */
	{}
};