Lines Matching +full:dispcc +full:- +full:sc8280xp

1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/clk-provider.h>
14 #include <linux/reset-controller.h>
16 #include <dt-bindings/clock/qcom,dispcc-sc8280xp.h>
18 #include "clk-alpha-pll.h"
19 #include "clk-branch.h"
20 #include "clk-rcg.h"
21 #include "clk-regmap-divider.h"
3145 desc = device_get_match_data(&pdev->dev); in disp_cc_sc8280xp_probe()
3147 ret = devm_pm_runtime_enable(&pdev->dev); in disp_cc_sc8280xp_probe()
3151 ret = devm_pm_clk_create(&pdev->dev); in disp_cc_sc8280xp_probe()
3155 ret = pm_clk_add(&pdev->dev, NULL); in disp_cc_sc8280xp_probe()
3157 dev_err(&pdev->dev, "failed to acquire ahb clock\n"); in disp_cc_sc8280xp_probe()
3161 ret = pm_runtime_resume_and_get(&pdev->dev); in disp_cc_sc8280xp_probe()
3171 …clk_lucid_pll_configure(clkr_to_alpha_clk_pll(desc->clks[DISP_CC_PLL0]), regmap, &disp_cc_pll0_con… in disp_cc_sc8280xp_probe()
3172 …clk_lucid_pll_configure(clkr_to_alpha_clk_pll(desc->clks[DISP_CC_PLL1]), regmap, &disp_cc_pll1_con… in disp_cc_sc8280xp_probe()
3173 …clk_lucid_pll_configure(clkr_to_alpha_clk_pll(desc->clks[DISP_CC_PLL2]), regmap, &disp_cc_pll2_con… in disp_cc_sc8280xp_probe()
3175 ret = qcom_cc_really_probe(&pdev->dev, desc, regmap); in disp_cc_sc8280xp_probe()
3177 dev_err(&pdev->dev, "Failed to register display clock controller\n"); in disp_cc_sc8280xp_probe()
3181 /* Keep some clocks always-on */ in disp_cc_sc8280xp_probe()
3185 pm_runtime_put_sync(&pdev->dev); in disp_cc_sc8280xp_probe()
3191 { .compatible = "qcom,sc8280xp-dispcc0", .data = &disp0_cc_sc8280xp_desc },
3192 { .compatible = "qcom,sc8280xp-dispcc1", .data = &disp1_cc_sc8280xp_desc },
3200 .name = "disp_cc-sc8280xp",
3207 MODULE_DESCRIPTION("Qualcomm SC8280XP dispcc driver");