1 /*
2  * Copyright (c) 2017, NXP
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef _SOC__H_
8 #define _SOC__H_
9 
10 #include <zephyr/sys/util.h>
11 
12 #ifndef _ASMLANGUAGE
13 
14 #include <fsl_common.h>
15 
16 /* Add include for DTS generated information */
17 #include <zephyr/devicetree.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 #if CONFIG_I2S_MCUX_SAI
24 void imxrt_audio_codec_pll_init(uint32_t clock_name, uint32_t clk_src,
25 					uint32_t clk_pre_div, uint32_t clk_src_div);
26 
27 #endif
28 
29 #if CONFIG_MIPI_DSI
30 void imxrt_pre_init_display_interface(void);
31 
32 void imxrt_post_init_display_interface(void);
33 #endif
34 
35 void flexspi_clock_set_div(uint32_t value);
36 uint32_t flexspi_clock_get_freq(void);
37 
38 #ifdef CONFIG_MEMC
39 uint32_t flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate);
40 #endif
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
46 #endif /* !_ASMLANGUAGE */
47 
48 #endif /* _SOC__H_ */
49