summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sc7280
diff options
context:
space:
mode:
authorTaniya Das <quic_tdas@quicinc.com>2022-02-24 23:17:06 +0530
committerFelix Held <felix-coreboot@felixheld.de>2022-03-17 14:36:24 +0000
commit5fa28a5404fc17ca666181124cb8a6a707a09b56 (patch)
treedcd56bffa9d3bb781b91387bf956044c62238654 /src/soc/qualcomm/sc7280
parentaf2c89c46343c396df8c651969c530fc12f5d42d (diff)
qualcomm/sc7280: Add mdp clock support to turbo in coreboot
This change supports the configuration and enablement of mdp clock to vote for turbo and supports different display panel resolutions and framerates. BUG=b:182963902 TEST=Validated on qualcomm sc7280 development board. Signed-off-by: Taniya Das <quic_tdas@quicinc.com> Change-Id: Ibf4f11d02b0edf83461dbb7af99fda5f33cd5b71 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62371 Reviewed-by: Shelley Chen <shchen@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/qualcomm/sc7280')
-rw-r--r--src/soc/qualcomm/sc7280/clock.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/qualcomm/sc7280/clock.c b/src/soc/qualcomm/sc7280/clock.c
index 434eeeea8b..746035cdb7 100644
--- a/src/soc/qualcomm/sc7280/clock.c
+++ b/src/soc/qualcomm/sc7280/clock.c
@@ -201,6 +201,11 @@ static struct clock_freq_config mdss_mdp_cfg[] = {
.src = SRC_GCC_DISP_GPLL0_CLK,
.div = QCOM_CLOCK_DIV(2),
},
+ {
+ .hz = 400 * MHz,
+ .src = SRC_GCC_DISP_GPLL0_CLK,
+ .div = QCOM_CLOCK_DIV(1.5),
+ },
};
static struct clock_rcg *mdss_clock[MDSS_CLK_COUNT] = {