clock_control: add EDMA clock support
add clock rate for RT series from ipg Kinetis does not need additional clock added Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
This commit is contained in:
parent
77c4015082
commit
6bb555ce83
1 changed files with 6 additions and 0 deletions
|
@ -89,6 +89,12 @@ static int mcux_ccm_get_subsys_rate(struct device *dev,
|
|||
(CLOCK_GetDiv(kCLOCK_Usdhc2Div) + 1U);
|
||||
break;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DMA_MCUX_EDMA
|
||||
case IMX_CCM_EDMA_CLK:
|
||||
*rate = CLOCK_GetIpgFreq();
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue