Lines Matching +full:dispcc +full:- +full:sm8150
1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2018-2020, 2022, The Linux Foundation. All rights reserved.
6 #include <linux/clk-provider.h>
11 #include <linux/reset-controller.h>
13 #include <dt-bindings/clock/qcom,dispcc-sm8250.h>
15 #include "clk-alpha-pll.h"
16 #include "clk-branch.h"
17 #include "clk-rcg.h"
18 #include "clk-regmap-divider.h"
1249 { .compatible = "qcom,sc8180x-dispcc" },
1250 { .compatible = "qcom,sm8150-dispcc" },
1251 { .compatible = "qcom,sm8250-dispcc" },
1252 { .compatible = "qcom,sm8350-dispcc" },
1262 ret = devm_pm_runtime_enable(&pdev->dev); in disp_cc_sm8250_probe()
1266 ret = pm_runtime_resume_and_get(&pdev->dev); in disp_cc_sm8250_probe()
1272 pm_runtime_put(&pdev->dev); in disp_cc_sm8250_probe()
1276 /* Apply differences for SM8150 and SM8350 */ in disp_cc_sm8250_probe()
1278 if (of_device_is_compatible(pdev->dev.of_node, "qcom,sc8180x-dispcc") || in disp_cc_sm8250_probe()
1279 of_device_is_compatible(pdev->dev.of_node, "qcom,sm8150-dispcc")) { in disp_cc_sm8250_probe()
1289 disp_cc_mdss_dp_link_intf_clk.clkr.hw.init->parent_hws[0] = in disp_cc_sm8250_probe()
1291 disp_cc_mdss_dp_link1_intf_clk.clkr.hw.init->parent_hws[0] = in disp_cc_sm8250_probe()
1293 disp_cc_mdss_edp_link_intf_clk.clkr.hw.init->parent_hws[0] = in disp_cc_sm8250_probe()
1299 } else if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8350-dispcc")) { in disp_cc_sm8250_probe()
1337 rcgs[i]->cmd_rcgr -= 4; in disp_cc_sm8250_probe()
1340 divs[i]->reg -= 4; in disp_cc_sm8250_probe()
1341 divs[i]->width = 4; in disp_cc_sm8250_probe()
1344 disp_cc_mdss_ahb_clk.halt_reg -= 4; in disp_cc_sm8250_probe()
1345 disp_cc_mdss_ahb_clk.clkr.enable_reg -= 4; in disp_cc_sm8250_probe()
1365 if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8350-dispcc")) { in disp_cc_sm8250_probe()
1376 /* DISP_CC_XO_CLK always-on */ in disp_cc_sm8250_probe()
1381 pm_runtime_put(&pdev->dev); in disp_cc_sm8250_probe()
1389 .name = "disp_cc-sm8250",
1406 MODULE_DESCRIPTION("QTI DISPCC SM8250 Driver");