drivers: clock_control: update clock_control_mcux_syscon driver for RT700

Update pixel clock control to support RT700.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
This commit is contained in:
Kate Wang 2025-01-23 19:21:52 +08:00 committed by Benjamin Cabé
commit 90c0af2018

View file

@ -402,7 +402,11 @@ static int mcux_lpc_syscon_clock_control_get_subsys_rate(const struct device *de
*rate = CLOCK_GetMipiDphyEscTxClkFreq();
break;
case MCUX_LCDIF_PIXEL_CLK:
#if defined(CONFIG_SOC_SERIES_IMXRT7XX) && defined(CONFIG_SOC_FAMILY_NXP_IMXRT)
*rate = CLOCK_GetLcdifClkFreq();
#else
*rate = CLOCK_GetDcPixelClkFreq();
#endif
break;
#endif
#if defined(CONFIG_AUDIO_DMIC_MCUX)