f87313bf0f
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>
45 lines
869 B
Plaintext
45 lines
869 B
Plaintext
# 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 pool’s 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
|