summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/common/include
diff options
context:
space:
mode:
authorTaniya Das <tdas@codeaurora.org>2021-02-11 15:58:29 +0530
committerMartin Roth <martinroth@google.com>2021-09-03 16:45:37 +0000
commit3fe6c03a393453ba9670f1055279c89c78d01e49 (patch)
tree4261df1525aa94e2fcdbf3d814058ac7aa63972e /src/soc/qualcomm/common/include
parent6239e1b2520c4083813c041500c109bf46bdd110 (diff)
qualcomm/sc7280: Move to use common clock driver for sc7280
It supports the clock consumers for QUP, SDCC, PCIE, Display to be able to configure & enable the desired clocks. The clock driver also supports reset of subsystems like AOP and SHRM. Also add support for Zonda PLL enable for CPU in common clock driver. Refactor the SC7280 clock driver to use the common clock driver APIs. BUG=b:182963902 TEST=Validated on qualcomm sc7280 development board Change-Id: I590a93cda0d6eccb51b54692b620d43ccacede77 Signed-off-by: Taniya Das <tdas@codeaurora.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50580 Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Shelley Chen <shchen@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/qualcomm/common/include')
-rw-r--r--src/soc/qualcomm/common/include/soc/clock_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/qualcomm/common/include/soc/clock_common.h b/src/soc/qualcomm/common/include/soc/clock_common.h
index b9241944c2..0911827149 100644
--- a/src/soc/qualcomm/common/include/soc/clock_common.h
+++ b/src/soc/qualcomm/common/include/soc/clock_common.h
@@ -155,6 +155,8 @@ enum cb_err clock_configure_enable_gpll(struct alpha_pll_reg_val_config *cfg,
bool enable, int br_enable);
enum cb_err agera_pll_enable(struct alpha_pll_reg_val_config *cfg);
+enum cb_err zonda_pll_enable(struct alpha_pll_reg_val_config *cfg);
+
struct aoss {
u8 _res0[0x50020];
u32 aoss_cc_reset_status;