| /* |
| * Copyright (c) 2017, NXP |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| #ifndef _SOC__H_ |
| #define _SOC__H_ |
| |
| #include <zephyr/sys/util.h> |
| |
| #ifndef _ASMLANGUAGE |
| |
| #include <fsl_common.h> |
| |
| /* Add include for DTS generated information */ |
| #include <zephyr/devicetree.h> |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| #if CONFIG_I2S_MCUX_SAI |
| void imxrt_audio_codec_pll_init(uint32_t clock_name, uint32_t clk_src, |
| uint32_t clk_pre_div, uint32_t clk_src_div); |
| |
| #endif |
| |
| #if CONFIG_MIPI_DSI |
| void imxrt_pre_init_display_interface(void); |
| |
| void imxrt_post_init_display_interface(void); |
| #endif |
| |
| #if CONFIG_VIDEO_MCUX_MIPI_CSI2RX |
| int mipi_csi2rx_clock_set_freq(clock_root_t clock_root, uint32_t rate); |
| #endif |
| |
| void flexspi_clock_set_div(uint32_t value); |
| uint32_t flexspi_clock_get_freq(void); |
| |
| #ifdef CONFIG_MEMC |
| uint32_t flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate); |
| #endif |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif /* !_ASMLANGUAGE */ |
| |
| #endif /* _SOC__H_ */ |