Skip to content

Commit 90c0af2

Browse files
KATE-WANG-NXPkartben
authored andcommitted
drivers: clock_control: update clock_control_mcux_syscon driver for RT700
Update pixel clock control to support RT700. Signed-off-by: Kate Wang <[email protected]>
1 parent d628bfc commit 90c0af2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/clock_control/clock_control_mcux_syscon.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,11 @@ static int mcux_lpc_syscon_clock_control_get_subsys_rate(const struct device *de
402402
*rate = CLOCK_GetMipiDphyEscTxClkFreq();
403403
break;
404404
case MCUX_LCDIF_PIXEL_CLK:
405+
#if defined(CONFIG_SOC_SERIES_IMXRT7XX) && defined(CONFIG_SOC_FAMILY_NXP_IMXRT)
406+
*rate = CLOCK_GetLcdifClkFreq();
407+
#else
405408
*rate = CLOCK_GetDcPixelClkFreq();
409+
#endif
406410
break;
407411
#endif
408412
#if defined(CONFIG_AUDIO_DMIC_MCUX)

0 commit comments

Comments
 (0)