zephyr/drivers/video/Kconfig
Michele Balistreri f87313bf0f drivers: video: change initialization order of CSI and cameras
video_mcux_csi_init, which setups the CSI pins (i.e: calls
pinctrl_apply_state) was called after mt9m114_init which tries to do i2c
communication with the camera to read the chip id. But since one of the
CSI pins is the camera master clock, doing things in this order won't
work. This PR inverts the order in which the devices are initialized.

Signed-off-by: Michele Balistreri <michele@bitgamma.com>
2023-05-17 15:08:31 -05:00

45 lines
869 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# VIDEO driver configuration options
# Copyright (c) 2019 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
#
# VIDEO Drivers
#
menuconfig VIDEO
bool "Video drivers"
help
Enable support for the VIDEO.
if VIDEO
config VIDEO_INIT_PRIORITY
int "Video initialization priority"
default 60
help
System initialization priority for video drivers.
config VIDEO_BUFFER_POOL_SZ_MAX
int "Size of the largest buffer in the video pool"
default 1048576
config VIDEO_BUFFER_POOL_NUM_MAX
int "Number of maximum sized buffer in the video pool"
default 2
config VIDEO_BUFFER_POOL_ALIGN
int "Alignment of the video pools buffer"
default 64
source "drivers/video/Kconfig.mcux_csi"
source "drivers/video/Kconfig.sw_generator"
source "drivers/video/Kconfig.mt9m114"
source "drivers/video/Kconfig.ov7725"
source "drivers/video/Kconfig.ov2640"
endif # VIDEO