Skip to content

Commit

Permalink
drivers: clock_control:: Update ccm_rev2 clock driver for RT118X
Browse files Browse the repository at this point in the history
flexspi_clock_set_freq can be applied for RT118X series.

Signed-off-by: Lucien Zhao <[email protected]>
  • Loading branch information
lucien-nxp committed Aug 30, 2024
1 parent bb855ab commit d69504c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/clock_control/clock_control_mcux_ccm_rev2.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ static int CCM_SET_FUNC_ATTR mcux_ccm_set_subsys_rate(const struct device *dev,
case IMX_CCM_FLEXSPI_CLK:
__fallthrough;
case IMX_CCM_FLEXSPI2_CLK:
#if defined(CONFIG_SOC_SERIES_IMXRT11XX) && defined(CONFIG_MEMC_MCUX_FLEXSPI)
#if (defined(CONFIG_SOC_SERIES_IMXRT11XX) || defined(CONFIG_SOC_SERIES_IMXRT118X)) \
&& defined(CONFIG_MEMC_MCUX_FLEXSPI)
/* The SOC is using the FlexSPI for XIP. Therefore,
* the FlexSPI itself must be managed within the function,
* which is SOC specific.
Expand Down

0 comments on commit d69504c

Please sign in to comment.