drivers: migrate includes to <zephyr/...>
In order to bring consistency in-tree, migrate all drivers to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to #45388 for more details. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
cbd31d720b
commit
fb60aab245
|
@ -6,14 +6,14 @@
|
|||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <device.h>
|
||||
#include <devicetree.h>
|
||||
#include <drivers/adc.h>
|
||||
#include <logging/log.h>
|
||||
#include <drivers/i2c.h>
|
||||
#include <zephyr.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <sys/util.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/drivers/i2c.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#define ADC_CONTEXT_USES_KERNEL_TIMER
|
||||
#include "adc_context.h"
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
|
||||
#include <errno.h>
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <device.h>
|
||||
#include <kernel.h>
|
||||
#include <init.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <soc.h>
|
||||
|
||||
/* Driverlib includes */
|
||||
|
@ -28,7 +28,7 @@
|
|||
#include "adc_context.h"
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_cc32xx);
|
||||
|
||||
#define ISR_MASK (ADC_DMA_DONE | ADC_FIFO_OVERFLOW | ADC_FIFO_UNDERFLOW \
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
|
||||
int adc_gain_invert(enum adc_gain gain,
|
||||
int32_t *value)
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
#ifndef ZEPHYR_DRIVERS_ADC_ADC_CONTEXT_H_
|
||||
#define ZEPHYR_DRIVERS_ADC_ADC_CONTEXT_H_
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <sys/atomic.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/sys/atomic.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
|
||||
#define DT_DRV_COMPAT zephyr_adc_emul
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/adc/adc_emul.h>
|
||||
#include <kernel.h>
|
||||
#include <logging/log.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <sys/util.h>
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/adc/adc_emul.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
LOG_MODULE_REGISTER(adc_emul, CONFIG_ADC_LOG_LEVEL);
|
||||
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <syscall_handler.h>
|
||||
#include <kernel.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/syscall_handler.h>
|
||||
#include <zephyr/kernel.h>
|
||||
|
||||
static inline int z_vrfy_adc_channel_setup(const struct device *dev,
|
||||
const struct adc_channel_cfg *user_channel_cfg)
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
#define DT_DRV_COMPAT ite_it8xxx2_adc
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_ite_it8xxx2);
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <soc.h>
|
||||
#include <soc_dt.h>
|
||||
#include <errno.h>
|
||||
|
|
|
@ -9,17 +9,17 @@
|
|||
* @brief ADC driver for the LMP90xxx AFE.
|
||||
*/
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/adc/lmp90xxx.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <drivers/spi.h>
|
||||
#include <kernel.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <sys/crc.h>
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/adc/lmp90xxx.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/drivers/spi.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/crc.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_lmp90xxx);
|
||||
|
||||
#define ADC_CONTEXT_USES_KERNEL_TIMER
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
#define DT_DRV_COMPAT microchip_xec_adc
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_mchp_xec);
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <soc.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
#define DT_DRV_COMPAT microchip_xec_adc_v2
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_mchp_xec);
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/interrupt_controller/intc_mchp_xec_ecia.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/interrupt_controller/intc_mchp_xec_ecia.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <soc.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
* @brief ADC driver for the MCP3204/MCP3208 ADCs.
|
||||
*/
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <drivers/spi.h>
|
||||
#include <kernel.h>
|
||||
#include <logging/log.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <sys/util.h>
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/drivers/spi.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
LOG_MODULE_REGISTER(adc_mcp320x, CONFIG_ADC_LOG_LEVEL);
|
||||
|
||||
|
|
|
@ -10,12 +10,12 @@
|
|||
|
||||
#define DT_DRV_COMPAT nxp_mcux_12b1msps_sar
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <fsl_adc.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_mcux_12b1msps_sar);
|
||||
|
||||
#define ADC_CONTEXT_USES_KERNEL_TIMER
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
|
||||
#define DT_DRV_COMPAT nxp_kinetis_adc12
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <fsl_adc12.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_mcux_adc12);
|
||||
|
||||
#define ADC_CONTEXT_USES_KERNEL_TIMER
|
||||
|
|
|
@ -7,16 +7,16 @@
|
|||
#define DT_DRV_COMPAT nxp_kinetis_adc16
|
||||
|
||||
#include <errno.h>
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#ifdef CONFIG_ADC_MCUX_ADC16_ENABLE_EDMA
|
||||
#include <drivers/dma.h>
|
||||
#include <zephyr/drivers/dma.h>
|
||||
#endif
|
||||
|
||||
#include <fsl_adc16.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_mcux_adc16);
|
||||
|
||||
#define ADC_CONTEXT_USES_KERNEL_TIMER
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
#define DT_DRV_COMPAT nxp_lpc_lpadc
|
||||
|
||||
#include <errno.h>
|
||||
#include <drivers/adc.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <fsl_lpadc.h>
|
||||
|
||||
#if CONFIG_PINCTRL
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#endif
|
||||
|
||||
#if !defined(CONFIG_SOC_SERIES_IMX_RT11XX)
|
||||
|
@ -23,7 +23,7 @@
|
|||
#endif
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(nxp_mcux_lpadc);
|
||||
|
||||
#define ADC_CONTEXT_USES_KERNEL_TIMER
|
||||
|
|
|
@ -7,16 +7,16 @@
|
|||
#define DT_DRV_COMPAT nuvoton_npcx_adc
|
||||
|
||||
#include <assert.h>
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/adc/adc_npcx_threshold.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <kernel.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/adc/adc_npcx_threshold.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <soc.h>
|
||||
|
||||
#define ADC_CONTEXT_USES_KERNEL_TIMER
|
||||
#include "adc_context.h"
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_npcx, CONFIG_ADC_LOG_LEVEL);
|
||||
|
||||
/* ADC speed/delay values during initialization */
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <nrfx_adc.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_nrfx_adc);
|
||||
|
||||
#define DT_DRV_COMPAT nordic_nrf_adc
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <hal/nrf_saadc.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_nrfx_saadc);
|
||||
|
||||
#define DT_DRV_COMPAT nordic_nrf_saadc
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
#define DT_DRV_COMPAT atmel_sam0_adc
|
||||
|
||||
#include <soc.h>
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_sam0, CONFIG_ADC_LOG_LEVEL);
|
||||
|
||||
#define ADC_CONTEXT_USES_KERNEL_TIMER
|
||||
|
|
|
@ -15,19 +15,19 @@
|
|||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/__assert.h>
|
||||
#include <sys/util.h>
|
||||
#include <device.h>
|
||||
#include <init.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <soc.h>
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
|
||||
#define ADC_CONTEXT_USES_KERNEL_TIMER
|
||||
#include "adc_context.h"
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_sam_afec);
|
||||
|
||||
#define NUM_CHANNELS 12
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <shell/shell.h>
|
||||
#include <zephyr/shell/shell.h>
|
||||
#include <stdlib.h>
|
||||
#include <drivers/adc.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <ctype.h>
|
||||
#include <sys/util.h>
|
||||
#include <devicetree.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
|
||||
#if DT_HAS_COMPAT_STATUS_OKAY(atmel_sam_afec)
|
||||
#define DT_DRV_COMPAT atmel_sam_afec
|
||||
|
@ -44,7 +44,7 @@
|
|||
#endif
|
||||
|
||||
#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_shell);
|
||||
|
||||
#define CMD_HELP_ACQ_TIME \
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
|
||||
#include <errno.h>
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <device.h>
|
||||
#include <kernel.h>
|
||||
#include <init.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <soc.h>
|
||||
#include <stm32_ll_adc.h>
|
||||
#if defined(CONFIG_SOC_SERIES_STM32U5X)
|
||||
|
@ -27,10 +27,10 @@
|
|||
#include "adc_context.h"
|
||||
|
||||
#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(adc_stm32);
|
||||
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
|
||||
#if defined(CONFIG_SOC_SERIES_STM32F3X)
|
||||
#if defined(ADC1_V2_5)
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
|
||||
#define DT_DRV_COMPAT vnd_adc
|
||||
|
||||
#include <drivers/adc.h>
|
||||
#include <device.h>
|
||||
#include <kernel.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/kernel.h>
|
||||
|
||||
static int vnd_adc_channel_setup(const struct device *dev,
|
||||
const struct adc_channel_cfg *channel_cfg)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include "pdm_decim_fir.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include "pdm_decim_fir.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include "pdm_decim_fir.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include "pdm_decim_fir.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include "pdm_decim_fir.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include "pdm_decim_fir.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include "pdm_decim_fir.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include "pdm_decim_fir.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
/* PDM decimation FIR filters */
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include "pdm_decim_fir.h"
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <audio/dmic.h>
|
||||
#include <drivers/clock_control/nrf_clock_control.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <zephyr/audio/dmic.h>
|
||||
#include <zephyr/drivers/clock_control/nrf_clock_control.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <soc.h>
|
||||
#include <nrfx_pdm.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(dmic_nrfx_pdm, CONFIG_AUDIO_DMIC_LOG_LEVEL);
|
||||
|
||||
struct dmic_nrfx_pdm_drv_data {
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
#define DT_DRV_COMPAT intel_dmic
|
||||
|
||||
#include <errno.h>
|
||||
#include <zephyr.h>
|
||||
#include <device.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <soc.h>
|
||||
#include <drivers/dma.h>
|
||||
#include <zephyr/drivers/dma.h>
|
||||
|
||||
#include <audio/dmic.h>
|
||||
#include <zephyr/audio/dmic.h>
|
||||
#include "intel_dmic.h"
|
||||
#include "decimation/pdm_decim_fir.h"
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
|||
#define DMA_CHANNEL_DMIC_RXB DT_INST_DMAS_CELL_BY_NAME(0, rx_b, channel)
|
||||
|
||||
#define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(audio_dmic);
|
||||
|
||||
/*
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#ifndef __INTEL_DMIC_H__
|
||||
#define __INTEL_DMIC_H__
|
||||
|
||||
#include <device.h>
|
||||
#include <zephyr/device.h>
|
||||
|
||||
#define DMIC_HW_IOCLK 38400000
|
||||
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
#define DT_DRV_COMPAT st_mpxxdtyy
|
||||
|
||||
#include "mpxxdtyy.h"
|
||||
#include <drivers/i2s.h>
|
||||
#include <zephyr/drivers/i2s.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_DECLARE(mpxxdtyy);
|
||||
|
||||
#if DT_ANY_INST_ON_BUS_STATUS_OKAY(i2s)
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
|
||||
#define DT_DRV_COMPAT st_mpxxdtyy
|
||||
|
||||
#include <devicetree.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
|
||||
#include "mpxxdtyy.h"
|
||||
|
||||
#define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(mpxxdtyy);
|
||||
|
||||
#define CHANNEL_MASK 0x55
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
#ifndef MPXXDTYY_H
|
||||
#define MPXXDTYY_H
|
||||
|
||||
#include <audio/dmic.h>
|
||||
#include <zephyr.h>
|
||||
#include <device.h>
|
||||
#include <zephyr/audio/dmic.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/device.h>
|
||||
#include "OpenPDMFilter.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -8,17 +8,17 @@
|
|||
|
||||
#include <errno.h>
|
||||
|
||||
#include <sys/util.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#include <device.h>
|
||||
#include <drivers/i2c.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/i2c.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
|
||||
#include <audio/codec.h>
|
||||
#include <zephyr/audio/codec.h>
|
||||
#include "tlv320dac310x.h"
|
||||
|
||||
#define LOG_LEVEL CONFIG_AUDIO_CODEC_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(tlv320dac310x);
|
||||
|
||||
#define CODEC_OUTPUT_VOLUME_MAX 0
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
|
||||
#define DT_DRV_COMPAT zephyr_bbram_emul
|
||||
|
||||
#include <drivers/bbram.h>
|
||||
#include <zephyr/drivers/bbram.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL);
|
||||
|
||||
/** Device config */
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
|
||||
#define DT_DRV_COMPAT ite_it8xxx2_bbram
|
||||
|
||||
#include <drivers/bbram.h>
|
||||
#include <zephyr/drivers/bbram.h>
|
||||
#include <errno.h>
|
||||
#include <sys/util.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL);
|
||||
|
||||
#define BRAM_VALID_MAGIC 0x4252414D /* "BRAM" */
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
|
||||
#define DT_DRV_COMPAT nuvoton_npcx_bbram
|
||||
|
||||
#include <drivers/bbram.h>
|
||||
#include <zephyr/drivers/bbram.h>
|
||||
#include <errno.h>
|
||||
#include <sys/util.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL);
|
||||
|
||||
/** Device config */
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
|
||||
#define DT_DRV_COMPAT microchip_xec_bbram
|
||||
|
||||
#include <drivers/bbram.h>
|
||||
#include <zephyr/drivers/bbram.h>
|
||||
#include <errno.h>
|
||||
#include <soc.h>
|
||||
#include <sys/util.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(bbram, CONFIG_BBRAM_LOG_LEVEL);
|
||||
|
||||
/** Device config */
|
||||
|
|
|
@ -9,18 +9,18 @@
|
|||
#include <errno.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
|
||||
#include <init.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <sys/util.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/drivers/uart.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
#include <zephyr/drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
|
||||
#define LOG_MODULE_NAME bt_driver
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
#include <errno.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
|
||||
#include <init.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <sys/util.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <debug/stack.h>
|
||||
#include <sys/printk.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/drivers/uart.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/debug/stack.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
#include <zephyr/drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
|
||||
#define LOG_MODULE_NAME bt_driver
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
#define LOG_MODULE_NAME bt_hci_driver_esp32
|
||||
#include "common/log.h"
|
||||
|
||||
#include <init.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
#include <zephyr/drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#include <esp_bt.h>
|
||||
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <init.h>
|
||||
#include <sys/util.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
#include <zephyr/drivers/bluetooth/hci_driver.h>
|
||||
#include "bluetooth/addr.h"
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
|
||||
#include "app_conf.h"
|
||||
#include "stm32_wpan_common.h"
|
||||
|
|
|
@ -4,15 +4,15 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <init.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
#include <zephyr/drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#include <device.h>
|
||||
#include <ipc/ipc_service.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/ipc/ipc_service.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
|
||||
#define LOG_MODULE_NAME bt_hci_driver
|
||||
|
|
|
@ -8,14 +8,14 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <drivers/gpio.h>
|
||||
#include <init.h>
|
||||
#include <drivers/spi.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <sys/util.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/drivers/spi.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#include <bluetooth/hci.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
#include <zephyr/drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
|
||||
#define LOG_MODULE_NAME bt_driver
|
||||
|
@ -72,7 +72,7 @@ static K_KERNEL_STACK_DEFINE(spi_rx_stack, 512);
|
|||
static struct k_thread spi_rx_thread_data;
|
||||
|
||||
#if defined(CONFIG_BT_DEBUG_HCI_DRIVER)
|
||||
#include <sys/printk.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
static inline void spi_dump_message(const uint8_t *pre, uint8_t *buf,
|
||||
uint8_t size)
|
||||
{
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <device.h>
|
||||
#include <init.h>
|
||||
#include <sys/util.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <stddef.h>
|
||||
|
@ -24,9 +24,9 @@
|
|||
#include "soc.h"
|
||||
#include "cmdline.h" /* native_posix command line options header */
|
||||
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/hci.h>
|
||||
#include <drivers/bluetooth/hci_driver.h>
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
#include <zephyr/bluetooth/hci.h>
|
||||
#include <zephyr/drivers/bluetooth/hci_driver.h>
|
||||
|
||||
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_DEBUG_HCI_DRIVER)
|
||||
#define LOG_MODULE_NAME bt_driver
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <drivers/can.h>
|
||||
#include <kernel.h>
|
||||
#include <sys/util.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
LOG_MODULE_REGISTER(can_common, CONFIG_CAN_LOG_LEVEL);
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <syscall_handler.h>
|
||||
#include <drivers/can.h>
|
||||
#include <zephyr/syscall_handler.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
|
||||
static int z_vrfy_can_calc_timing(const struct device *dev, struct can_timing *res,
|
||||
uint32_t bitrate, uint16_t sample_pnt)
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <drivers/can.h>
|
||||
#include <kernel.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
LOG_MODULE_REGISTER(can_loopback, CONFIG_CAN_LOG_LEVEL);
|
||||
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <sys/util.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <string.h>
|
||||
#include <kernel.h>
|
||||
#include <drivers/can.h>
|
||||
#include <drivers/can/transceiver.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/drivers/can/transceiver.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include "can_mcan.h"
|
||||
#include "can_mcan_priv.h"
|
||||
|
@ -27,7 +27,7 @@ LOG_MODULE_REGISTER(can_mcan, CONFIG_CAN_LOG_LEVEL);
|
|||
#endif
|
||||
|
||||
#if CONFIG_HAS_CMSIS_CORE_M
|
||||
#include <arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
|
||||
#if __DCACHE_PRESENT == 1
|
||||
#define CACHE_INVALIDATE(addr, size) SCB_InvalidateDCache_by_Addr((addr), (size))
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
#ifndef ZEPHYR_DRIVERS_CAN_MCAN_H_
|
||||
#define ZEPHYR_DRIVERS_CAN_MCAN_H_
|
||||
|
||||
#include <kernel.h>
|
||||
#include <devicetree.h>
|
||||
#include <drivers/can.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
|
||||
#include <toolchain.h>
|
||||
#include <zephyr/toolchain.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef CONFIG_CAN_MCUX_MCAN
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#ifndef ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_
|
||||
#define ZEPHYR_DRIVERS_CAN_CAN_MCAN_PRIV_H_
|
||||
|
||||
#include <drivers/can.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
|
||||
/*
|
||||
* Register Masks are taken from the stm32cube library and extended for
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
|
||||
#define DT_DRV_COMPAT microchip_mcp2515
|
||||
|
||||
#include <kernel.h>
|
||||
#include <device.h>
|
||||
#include <drivers/can/transceiver.h>
|
||||
#include <drivers/spi.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/can/transceiver.h>
|
||||
#include <zephyr/drivers/spi.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
LOG_MODULE_REGISTER(can_mcp2515, CONFIG_CAN_LOG_LEVEL);
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
#ifndef _MCP2515_H_
|
||||
#define _MCP2515_H_
|
||||
|
||||
#include <drivers/gpio.h>
|
||||
#include <drivers/can.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
|
||||
#define MCP2515_RX_CNT 2
|
||||
/* Reduce the number of Tx buffers to 1 in order to avoid priority inversion. */
|
||||
|
|
|
@ -6,18 +6,18 @@
|
|||
|
||||
#define DT_DRV_COMPAT nxp_kinetis_flexcan
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <sys/atomic.h>
|
||||
#include <drivers/can.h>
|
||||
#include <drivers/can/transceiver.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <device.h>
|
||||
#include <sys/byteorder.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/sys/atomic.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/drivers/can/transceiver.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <fsl_flexcan.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#ifdef CONFIG_PINCTRL
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#endif
|
||||
|
||||
LOG_MODULE_REGISTER(can_mcux_flexcan, CONFIG_CAN_LOG_LEVEL);
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <device.h>
|
||||
#include <drivers/can.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include "can_mcan.h"
|
||||
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
|
||||
#define DT_DRV_COMPAT renesas_rcar_can
|
||||
|
||||
#include <kernel.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <errno.h>
|
||||
#include <drivers/can.h>
|
||||
#include <drivers/can/transceiver.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <drivers/clock_control/rcar_clock_control.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/drivers/can/transceiver.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/drivers/clock_control/rcar_clock_control.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
LOG_MODULE_REGISTER(can_rcar, CONFIG_CAN_LOG_LEVEL);
|
||||
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <drivers/can.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <soc.h>
|
||||
#include <kernel.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include "can_mcan.h"
|
||||
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <sys/printk.h>
|
||||
#include <shell/shell.h>
|
||||
#include <drivers/can.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/shell/shell.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <net/net_pkt.h>
|
||||
#include <net/socket_can.h>
|
||||
#include <drivers/can.h>
|
||||
#include <devicetree.h>
|
||||
#include <device.h>
|
||||
#include <zephyr/net/net_pkt.h>
|
||||
#include <zephyr/net/socket_can.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/device.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(can_socketcan, CONFIG_CAN_LOG_LEVEL);
|
||||
|
||||
#define SEND_TIMEOUT K_MSEC(100)
|
||||
|
|
|
@ -4,18 +4,18 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <drivers/can/transceiver.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <sys/util.h>
|
||||
#include <zephyr/drivers/can/transceiver.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <string.h>
|
||||
#include <kernel.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <soc.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <drivers/can.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include "can_stm32.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#ifndef ZEPHYR_DRIVERS_CAN_STM32_CAN_H_
|
||||
#define ZEPHYR_DRIVERS_CAN_STM32_CAN_H_
|
||||
|
||||
#include <drivers/can.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
|
||||
#define BIT_SEG_LENGTH(cfg) ((cfg)->prop_ts1 + (cfg)->ts2 + 1)
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <drivers/can.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <kernel.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <soc.h>
|
||||
#include <stm32_ll_rcc.h>
|
||||
#include <stm32_ll_bus.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include "can_mcan.h"
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <drivers/can.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <drivers/pinctrl.h>
|
||||
#include <kernel.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <stm32_ll_rcc.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include "can_mcan.h"
|
||||
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
|
||||
#define DT_DRV_COMPAT can_transceiver_gpio
|
||||
|
||||
#include <device.h>
|
||||
#include <drivers/can/transceiver.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/can/transceiver.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
LOG_MODULE_REGISTER(can_transceiver_gpio, CONFIG_CAN_LOG_LEVEL);
|
||||
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
*/
|
||||
|
||||
#include <soc.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <sys/util.h>
|
||||
#include <drivers/clock_control/arm_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/clock_control/arm_clock_control.h>
|
||||
|
||||
#define MAINCLK_BASE_FREQ 24000000
|
||||
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <drivers/clock_control.h>
|
||||
#include <drivers/clock_control/clock_agilex_ll.h>
|
||||
#include <dt-bindings/clock/intel_socfpga_clock.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/drivers/clock_control/clock_agilex_ll.h>
|
||||
#include <zephyr/dt-bindings/clock/intel_socfpga_clock.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <soc.h>
|
||||
|
||||
LOG_MODULE_REGISTER(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL);
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <arch/cpu.h>
|
||||
#include <arch/common/sys_bitops.h>
|
||||
#include <drivers/clock_control/clock_agilex_ll.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/arch/common/sys_bitops.h>
|
||||
#include <zephyr/drivers/clock_control/clock_agilex_ll.h>
|
||||
#include <socfpga_system_manager.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -13,16 +13,16 @@
|
|||
#define DT_CPU_COMPAT cdns_tensilica_xtensa_lx6
|
||||
#undef CPU_RESET_REASON
|
||||
#define CPU_RESET_REASON SW_CPU_RESET
|
||||
#include <dt-bindings/clock/esp32_clock.h>
|
||||
#include <zephyr/dt-bindings/clock/esp32_clock.h>
|
||||
#include "esp32/rom/rtc.h"
|
||||
#include "soc/dport_reg.h"
|
||||
#elif defined(CONFIG_SOC_ESP32S2)
|
||||
#define DT_CPU_COMPAT cdns_tensilica_xtensa_lx7
|
||||
#include <dt-bindings/clock/esp32s2_clock.h>
|
||||
#include <zephyr/dt-bindings/clock/esp32s2_clock.h>
|
||||
#include "esp32s2/rom/rtc.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32C3
|
||||
#define DT_CPU_COMPAT espressif_riscv
|
||||
#include <dt-bindings/clock/esp32c3_clock.h>
|
||||
#include <zephyr/dt-bindings/clock/esp32c3_clock.h>
|
||||
#include "esp32c3/rom/rtc.h"
|
||||
#include <soc/soc_caps.h>
|
||||
#include <soc/soc.h>
|
||||
|
@ -34,7 +34,7 @@
|
|||
#include <soc/timer_group_reg.h>
|
||||
#include <hal/clk_gate_ll.h>
|
||||
#include <soc.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <driver/periph_ctrl.h>
|
||||
#include <hal/cpu_hal.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#define DT_DRV_COMPAT espressif_esp32_rtc
|
||||
|
||||
#include <dt-bindings/clock/esp32c3_clock.h>
|
||||
#include <zephyr/dt-bindings/clock/esp32c3_clock.h>
|
||||
#include <hal/clk_gate_ll.h>
|
||||
#include <soc/soc_caps.h>
|
||||
#include <soc/soc.h>
|
||||
|
@ -14,7 +14,7 @@
|
|||
#include <rtc_clk_common.h>
|
||||
|
||||
#include <soc.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <driver/periph_ctrl.h>
|
||||
|
||||
static int clock_control_esp32_on(const struct device *dev,
|
||||
|
|
|
@ -5,18 +5,18 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/types.h>
|
||||
#include <device.h>
|
||||
#include <devicetree.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <drivers/clock_control/clock_control_litex.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/drivers/clock_control/clock_control_litex.h>
|
||||
#include "clock_control_litex.h"
|
||||
#include <logging/log.h>
|
||||
#include <logging/log_ctrl.h>
|
||||
#include <sys/util.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/logging/log_ctrl.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <kernel.h>
|
||||
#include <zephyr/kernel.h>
|
||||
|
||||
LOG_MODULE_REGISTER(CLK_CTRL_LITEX, CONFIG_CLOCK_CONTROL_LOG_LEVEL);
|
||||
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
|
||||
#define DT_DRV_COMPAT nxp_lpc11u6x_syscon
|
||||
|
||||
#include <devicetree.h>
|
||||
#include <device.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/device.h>
|
||||
|
||||
#include <drivers/clock_control/lpc11u6x_clock_control.h>
|
||||
#include <drivers/pinmux.h>
|
||||
#include <zephyr/drivers/clock_control/lpc11u6x_clock_control.h>
|
||||
#include <zephyr/drivers/pinmux.h>
|
||||
|
||||
#include "clock_control_lpc11u6x.h"
|
||||
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
#define DT_DRV_COMPAT microchip_xec_pcr
|
||||
|
||||
#include <soc.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <drivers/clock_control/mchp_xec_clock_control.h>
|
||||
#include <dt-bindings/clock/mchp_xec_pcr.h>
|
||||
#include <zephyr/arch/cpu.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/drivers/clock_control/mchp_xec_clock_control.h>
|
||||
#include <zephyr/dt-bindings/clock/mchp_xec_pcr.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(clock_control_xec, LOG_LEVEL_ERR);
|
||||
|
||||
#define CLK32K_SIL_OSC_DELAY 256
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
#define DT_DRV_COMPAT nxp_imx_ccm
|
||||
#include <errno.h>
|
||||
#include <soc.h>
|
||||
#include <sys/util.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <dt-bindings/clock/imx_ccm.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/dt-bindings/clock/imx_ccm.h>
|
||||
#include <fsl_clock.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(clock_control);
|
||||
|
||||
#ifdef CONFIG_SPI_MCUX_LPSPI
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
#define DT_DRV_COMPAT nxp_imx_ccm_rev2
|
||||
#include <errno.h>
|
||||
#include <soc.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <dt-bindings/clock/imx_ccm_rev2.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/dt-bindings/clock/imx_ccm_rev2.h>
|
||||
#include <fsl_clock.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(clock_control);
|
||||
|
||||
static int mcux_ccm_on(const struct device *dev,
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
#define DT_DRV_COMPAT nxp_kinetis_mcg
|
||||
|
||||
#include <drivers/clock_control.h>
|
||||
#include <dt-bindings/clock/kinetis_mcg.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/dt-bindings/clock/kinetis_mcg.h>
|
||||
#include <soc.h>
|
||||
#include <fsl_clock.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(clock_control_mcg);
|
||||
|
||||
static int mcux_mcg_on(const struct device *dev,
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <soc.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <fsl_clock.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(clock_control_mcux_pcc);
|
||||
|
||||
struct mcux_pcc_config {
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
#define DT_DRV_COMPAT nxp_kinetis_scg
|
||||
|
||||
#include <drivers/clock_control.h>
|
||||
#include <dt-bindings/clock/kinetis_scg.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/dt-bindings/clock/kinetis_scg.h>
|
||||
#include <soc.h>
|
||||
#include <fsl_clock.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(clock_control_scg);
|
||||
|
||||
#define MCUX_SCG_CLOCK_NODE(name) DT_CHILD(DT_DRV_INST(0), name)
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
#define DT_DRV_COMPAT nxp_kinetis_sim
|
||||
#include <errno.h>
|
||||
#include <soc.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <dt-bindings/clock/kinetis_sim.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/dt-bindings/clock/kinetis_sim.h>
|
||||
#include <fsl_clock.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(clock_control);
|
||||
|
||||
static int mcux_sim_on(const struct device *dev,
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
#define DT_DRV_COMPAT nxp_lpc_syscon
|
||||
#include <errno.h>
|
||||
#include <soc.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <dt-bindings/clock/mcux_lpc_syscon_clock.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h>
|
||||
#include <fsl_clock.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(clock_control);
|
||||
|
||||
static int mcux_lpc_syscon_clock_control_on(const struct device *dev,
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
#define DT_DRV_COMPAT nuvoton_npcx_pcc
|
||||
|
||||
#include <soc.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <dt-bindings/clock/npcx_clock.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/dt-bindings/clock/npcx_clock.h>
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(clock_control_npcx, LOG_LEVEL_ERR);
|
||||
|
||||
/* Driver config */
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
*/
|
||||
|
||||
#include <soc.h>
|
||||
#include <sys/onoff.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <drivers/clock_control/nrf_clock_control.h>
|
||||
#include <zephyr/sys/onoff.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/drivers/clock_control/nrf_clock_control.h>
|
||||
#include "nrf_clock_calibration.h"
|
||||
#include <nrfx_clock.h>
|
||||
#include <logging/log.h>
|
||||
#include <shell/shell.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <zephyr/shell/shell.h>
|
||||
|
||||
LOG_MODULE_REGISTER(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL);
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
#define DT_DRV_COMPAT renesas_rcar_cpg_mssr
|
||||
#include <errno.h>
|
||||
#include <soc.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <drivers/clock_control/rcar_clock_control.h>
|
||||
#include <dt-bindings/clock/renesas_rcar_cpg.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/drivers/clock_control/rcar_clock_control.h>
|
||||
#include <zephyr/dt-bindings/clock/renesas_rcar_cpg.h>
|
||||
|
||||
struct rcar_mssr_config {
|
||||
uint32_t base_address;
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
#define DT_DRV_COMPAT openisa_rv32m1_pcc
|
||||
#include <errno.h>
|
||||
#include <soc.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <fsl_clock.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_CLOCK_CONTROL_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(clock_control);
|
||||
|
||||
struct rv32m1_pcc_config {
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
#include <stm32_ll_rcc.h>
|
||||
#include <stm32_ll_system.h>
|
||||
#include <stm32_ll_utils.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <sys/util.h>
|
||||
#include <sys/__assert.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
#include "clock_stm32_ll_common.h"
|
||||
|
||||
/* Macros to fill up prescaler values */
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
#include <stm32_ll_pwr.h>
|
||||
#include <stm32_ll_rcc.h>
|
||||
#include <stm32_ll_utils.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <sys/util.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
#include "stm32_hsem.h"
|
||||
|
||||
/* Macros to fill up prescaler values */
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
#include <soc.h>
|
||||
#include <stm32_ll_bus.h>
|
||||
#include <stm32_ll_rcc.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <sys/util.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
|
||||
/**
|
||||
* @brief fill in AHB/APB buses configuration structure
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
#include <stm32_ll_rcc.h>
|
||||
#include <stm32_ll_utils.h>
|
||||
#include <stm32_ll_system.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <sys/util.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <stm32_ll_utils.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
|
||||
/* Macros to fill up prescaler values */
|
||||
#define z_ahb_prescaler(v) LL_RCC_SYSCLK_DIV_ ## v
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
#include <stm32_ll_bus.h>
|
||||
#include <stm32_ll_rcc.h>
|
||||
#include <stm32_ll_utils.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <sys/util.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
#include "clock_stm32_ll_common.h"
|
||||
|
||||
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
#include <stm32_ll_bus.h>
|
||||
#include <stm32_ll_rcc.h>
|
||||
#include <stm32_ll_utils.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <sys/util.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
#include "clock_stm32_ll_common.h"
|
||||
|
||||
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
#include <stm32_ll_bus.h>
|
||||
#include <stm32_ll_rcc.h>
|
||||
#include <stm32_ll_utils.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <sys/util.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
#include "clock_stm32_ll_common.h"
|
||||
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
#include <stm32_ll_bus.h>
|
||||
#include <stm32_ll_rcc.h>
|
||||
#include <stm32_ll_utils.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <sys/util.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
#include "clock_stm32_ll_common.h"
|
||||
|
||||
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
#include <stm32_ll_pwr.h>
|
||||
#include <stm32_ll_rcc.h>
|
||||
#include <stm32_ll_utils.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <sys/util.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
#include "clock_stm32_ll_common.h"
|
||||
|
||||
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
#include <stm32_ll_bus.h>
|
||||
#include <stm32_ll_rcc.h>
|
||||
#include <stm32_ll_utils.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <sys/util.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
#include "clock_stm32_ll_common.h"
|
||||
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
#include <stm32_ll_pwr.h>
|
||||
#include <stm32_ll_rcc.h>
|
||||
#include <stm32_ll_utils.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <sys/util.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
|
||||
#include "clock_stm32_ll_common.h"
|
||||
#include "stm32_hsem.h"
|
||||
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#include <drivers/sensor.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include "nrf_clock_calibration.h"
|
||||
#include <drivers/clock_control/nrf_clock_control.h>
|
||||
#include <zephyr/drivers/clock_control/nrf_clock_control.h>
|
||||
#include <nrfx_clock.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
LOG_MODULE_DECLARE(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue