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>
This commit is contained in:
Taniya Das 2022-02-24 23:17:06 +05:30 committed by Felix Held
parent af2c89c463
commit 5fa28a5404
1 changed files with 5 additions and 0 deletions

View File

@ -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] = {