Merge "clk: qcom: gpucc: Add support for FREQUENCY LIMITER reset for CROW"

This commit is contained in:
qctecmdr
2023-12-19 21:41:32 -08:00
committed by Gerrit - the friendly Code Review server

View File

@@ -567,6 +567,7 @@ static const struct qcom_reset_map gpu_cc_crow_resets[] = {
[GPUCC_GPU_CC_GX_BCR] = { 0x9058 },
[GPUCC_GPU_CC_RBCPR_BCR] = { 0x91e0 },
[GPUCC_GPU_CC_XO_BCR] = { 0x9000 },
[GPUCC_GPU_CC_FREQUENCY_LIMITER_IRQ_CLEAR] = { 0x9538 },
};
static const struct regmap_config gpu_cc_crow_regmap_config = {
@@ -605,6 +606,9 @@ static int gpu_cc_crow_probe(struct platform_device *pdev)
clk_lucid_ole_pll_configure(&gpu_cc_pll0, regmap, &gpu_cc_pll0_config);
clk_lucid_ole_pll_configure(&gpu_cc_pll1, regmap, &gpu_cc_pll1_config);
/* Enable frequency limiter irq */
regmap_write(regmap, 0x9534, 0x0);
/*
* Keep clocks always enabled:
* gpu_cc_cxo_aon_clk