adsp: clk: ace: select ipll if wovrco is unavailable
Selecting Low Power clock has the same result as selecting High Performance clock (now IPLL). Therefore, the LP clock will be removed from the list of available clocks on ACE family platforms. Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
This commit is contained in:
parent
2d835e1b29
commit
cf6d5f95b6
|
@ -84,7 +84,7 @@ void adsp_clock_init(void)
|
|||
if (ACE_DfPMCCU.dfclkctl & ACE_CLKCTL_WOVCRO) {
|
||||
ACE_DfPMCCU.dfclkctl = ACE_DfPMCCU.dfclkctl & ~ACE_CLKCTL_WOVCRO;
|
||||
} else {
|
||||
platform_lowest_freq_idx = ADSP_CPU_CLOCK_FREQ_LPRO;
|
||||
platform_lowest_freq_idx = ADSP_CPU_CLOCK_FREQ_IPLL;
|
||||
}
|
||||
#else
|
||||
CAVS_SHIM.clkctl |= CAVS_CLKCTL_WOVCRO;
|
||||
|
|
|
@ -59,6 +59,8 @@ struct adsp_cpu_clock_info *adsp_cpu_clocks_get(void);
|
|||
#define ADSP_CPU_CLOCK_FREQ_WOVCRO ADSP_CPU_CLOCK_FREQ(wovcro)
|
||||
#endif
|
||||
|
||||
#define ADSP_CPU_CLOCK_FREQ_IPLL ADSP_CPU_CLOCK_FREQ(ipll)
|
||||
|
||||
|
||||
/* Clock sources used by dai */
|
||||
#define ADSP_CLOCK_SOURCE_XTAL_OSC 0
|
||||
|
|
Loading…
Reference in a new issue