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

Commit 049a0a2c authored by David Dai's avatar David Dai
Browse files

clk: qcom: Map cam and gpu cc in debug cc probe



Add additional register mapping to support cam and gpu
cc.

Change-Id: I04b28885c023f3c72033c24da4d6c4561bc44b95
Signed-off-by: default avatarDavid Dai <daidavid1@codeaurora.org>
parent b8dc3c82
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -955,6 +955,14 @@ static int clk_debug_kona_probe(struct platform_device *pdev)
	if (ret)
		return ret;

	ret = map_debug_bases(pdev, "qcom,camcc", CAM_CC);
	if (ret)
		return ret;

	ret = map_debug_bases(pdev, "qcom,gpucc", GPU_CC);
	if (ret)
		return ret;

	clk = devm_clk_register(&pdev->dev, &gcc_debug_mux.hw);
	if (IS_ERR(clk)) {
		dev_err(&pdev->dev, "Unable to register GCC debug mux\n");