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:
parent
0d64506130
commit
b47a8a428f
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2020-22, NXP
|
||||
* Copyright 2020-2022, NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
@ -23,6 +23,7 @@
|
|||
#define MCUX_FLEXCOMM13_CLK 13
|
||||
#define MCUX_HS_SPI_CLK 14
|
||||
#define MCUX_PMIC_I2C_CLK 15
|
||||
#define MCUX_HS_SPI1_CLK 16
|
||||
|
||||
#define MCUX_USDHC1_CLK 20
|
||||
#define MCUX_USDHC2_CLK 21
|
||||
|
|
Loading…
Reference in New Issue