20e7c6db6c
Set a dedicated priority for the video_mcux_csi instead of using the default kernel device init priority. This allows initializing the device in a sequence that matches the devicetree hirearchy compared to mt9m114. Fixes the error: ERROR: /soc/csi@402bc000 POST_KERNEL 50 < /soc/i2c@403f0000/mt9m114@48 POST_KERNEL 60 found using: $ west build -p -b mimxrt1064_evk samples/subsys/video/capture \ -DCONFIG_CHECK_INIT_PRIORITIES=y Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
18 lines
458 B
Plaintext
18 lines
458 B
Plaintext
# NXP MCUX CSI driver configuration options
|
|
|
|
# Copyright (c) 2019, Linaro Limited
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config VIDEO_MCUX_CSI
|
|
bool "NXP MCUX CMOS Sensor Interface (CSI) driver"
|
|
default y
|
|
depends on HAS_MCUX_CSI
|
|
depends on DT_HAS_NXP_IMX_CSI_ENABLED
|
|
|
|
config VIDEO_MCUX_CSI_INIT_PRIORITY
|
|
int "NXP MCUX CSI init priority"
|
|
default 61
|
|
depends on VIDEO_MCUX_CSI
|
|
help
|
|
Initialization priority for the CSI interface on an NXP MCUX device.
|