drivers: clock_control: mcux_lpc_syscon_clock: Add flexcomm16 suppport

Added FlexCOMM16(HS SPI1) clock for MIMXRT5xx.

Signed-off-by: Chay Guo <changyi.guo@nxp.com>
This commit is contained in:
Chay Guo 2022-05-16 16:23:23 +08:00 committed by Carles Cufí
commit b47a8a428f
2 changed files with 4 additions and 1 deletions

View file

@ -98,6 +98,8 @@ static int mcux_lpc_syscon_clock_control_get_subsys_rate(
#else
*rate = CLOCK_GetFlexCommClkFreq(14);
#endif
case MCUX_HS_SPI1_CLK:
*rate = CLOCK_GetFlexCommClkFreq(16);
break;
#endif