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

Commit 32fef629 authored by Amit Nischal's avatar Amit Nischal
Browse files

clk: msm: gcc: Add support for clocks for SDM632



Both SDM632 and MSM8953 will use same base file for GCC, GPU
and RPM clocks implementation so add new compatible flags to
support clocks for SDM632.

Change-Id: I46437cc99efbf15db6cef42528d949e726a89fee
Signed-off-by: default avatarAmit Nischal <anischal@codeaurora.org>
parent 0c094f0f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -12,10 +12,14 @@ the compatible string to indicate the revision.
Required properties:
- compatible:           Must be one of following,
			"qcom,gcc-8953"
			"qcom,gcc-sdm632"
			"qcom,cc-debug-8953"
			"qcom,cc-debug-sdm632"
			"qcom,gcc-mdss-8953"
			"qcom,gcc-mdss-sdm632"
                        "qcom,gcc-gfx-8953"
                        "qcom,gcc-gfx-sdm450"
                        "qcom,gcc-gfx-sdm632"

- reg:                  Pairs of physical base addresses and region sizes of
                        memory mapped registers.
+4 −0
Original line number Diff line number Diff line
@@ -3822,6 +3822,7 @@ static int msm_gcc_probe(struct platform_device *pdev)

static const struct of_device_id msm_clock_gcc_match_table[] = {
	{ .compatible = "qcom,gcc-8953" },
	{ .compatible = "qcom,gcc-sdm632" },
	{},
};

@@ -3871,6 +3872,7 @@ static int msm_clock_debug_probe(struct platform_device *pdev)

static const struct of_device_id msm_clock_debug_match_table[] = {
	{ .compatible = "qcom,cc-debug-8953" },
	{ .compatible = "qcom,cc-debug-sdm632" },
	{}
};

@@ -3983,6 +3985,7 @@ static int msm_gcc_mdss_probe(struct platform_device *pdev)

static const struct of_device_id msm_clock_mdss_match_table[] = {
	{ .compatible = "qcom,gcc-mdss-8953" },
	{ .compatible = "qcom,gcc-mdss-sdm632" },
	{}
};

@@ -4131,6 +4134,7 @@ static int msm_gcc_gfx_probe(struct platform_device *pdev)
static const struct of_device_id msm_clock_gfx_match_table[] = {
	{ .compatible = "qcom,gcc-gfx-8953" },
	{ .compatible = "qcom,gcc-gfx-sdm450" },
	{ .compatible = "qcom,gcc-gfx-sdm632" },
	{}
};