From 5fa28a5404fc17ca666181124cb8a6a707a09b56 Mon Sep 17 00:00:00 2001 From: Taniya Das Date: Thu, 24 Feb 2022 23:17:06 +0530 Subject: [PATCH] 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 Change-Id: Ibf4f11d02b0edf83461dbb7af99fda5f33cd5b71 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62371 Reviewed-by: Shelley Chen Tested-by: build bot (Jenkins) --- src/soc/qualcomm/sc7280/clock.c | 5 +++++ 1 file changed, 5 insertions(+) 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] = {