soc: nxp: rt: Add CSI video support
Add CSI node to generic nxp rt dtsi. Add corresponding dts binding. Add CSI capability for rt MCUs. Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
This commit is contained in:
parent
43e58aed34
commit
a019e92d23
7 changed files with 62 additions and 0 deletions
|
@ -199,6 +199,11 @@ static ALWAYS_INLINE void clock_init(void)
|
|||
CLOCK_SetMux(kCLOCK_Usdhc2Mux, 1U);
|
||||
CLOCK_EnableClock(kCLOCK_Usdhc2);
|
||||
#endif
|
||||
#endif
|
||||
#ifdef CONFIG_VIDEO_MCUX_CSI
|
||||
CLOCK_EnableClock(kCLOCK_Csi); /* Disable CSI clock gate */
|
||||
CLOCK_SetDiv(kCLOCK_CsiDiv, 0); /* Set CSI divider to 1 */
|
||||
CLOCK_SetMux(kCLOCK_CsiMux, 0); /* Set CSI source to OSC 24M */
|
||||
#endif
|
||||
|
||||
/* Keep the system clock running so SYSTICK can wake up the system from
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue