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

Commit 10b948a8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "clk: msm: gcc: add support for MDSS clocks for SDM439"

parents 29c1fcc0 1853d7fd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -45,6 +45,8 @@ Required properties:
			"qcom,gcc-mdss-8917"
			"qcom,gcc-mdss-8940"
			"qcom,gcc-mdss-8920"
			"qcom,gcc-mdss-sdm429"
			"qcom,gcc-mdss-sdm439"
			"qcom,gcc-gfx-8953"
			"qcom,gcc-gfx-sdm450"
			"qcom,gcc-mdm9607"
+10 −0
Original line number Diff line number Diff line
@@ -4765,6 +4765,14 @@ static int msm_gcc_mdss_probe(struct platform_device *pdev)
		compat_bin = of_device_is_compatible(pdev->dev.of_node,
				"qcom,gcc-mdss-8940");

	if (!compat_bin)
		compat_bin = of_device_is_compatible(pdev->dev.of_node,
				"qcom,gcc-mdss-sdm439");

	if (!compat_bin)
		compat_bin = of_device_is_compatible(pdev->dev.of_node,
				"qcom,gcc-mdss-sdm429");

	curr_p = ext_pclk0_clk_src.c.parent = devm_clk_get(&pdev->dev,
								"pclk0_src");
	if (IS_ERR(curr_p)) {
@@ -4839,6 +4847,8 @@ static const struct of_device_id msm_clock_mdss_match_table[] = {
	{ .compatible = "qcom,gcc-mdss-8917" },
	{ .compatible = "qcom,gcc-mdss-8940" },
	{ .compatible = "qcom,gcc-mdss-8920" },
	{ .compatible = "qcom,gcc-mdss-sdm439" },
	{ .compatible = "qcom,gcc-mdss-sdm429" },
	{}
};