zephyr/drivers/video/Kconfig
Lucas Tamborrino 43cc36f4bc drivers: video: Add SMH option for video buffer
This commit enables the user to choose whether to
allocate the video buffer from the video heap pool
or use a memory region with specific extra capabilities,
such as being cacheable/non-cacheable or using external
memory.

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2024-09-23 18:12:20 -04:00

76 lines
1.6 KiB
Plaintext
Raw 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
module = VIDEO
module-str = video
source "subsys/logging/Kconfig.template.log_config"
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
config VIDEO_BUFFER_USE_SHARED_MULTI_HEAP
bool "Use shared multi heap for video buffer"
default n
config VIDEO_BUFFER_SMH_ATTRIBUTE
int "Shared multi heap attribute for video buffer"
depends on VIDEO_BUFFER_USE_SHARED_MULTI_HEAP
default 0
range 0 2
help
Shared multi heap attribute for video buffer:
0: SMH_REG_ATTR_CACHEABLE
1: SMH_REG_ATTR_NON_CACHEABLE
2: SMH_REG_ATTR_EXTERNAL
source "drivers/video/Kconfig.esp32_dvp"
source "drivers/video/Kconfig.mcux_csi"
source "drivers/video/Kconfig.mcux_mipi_csi2rx"
source "drivers/video/Kconfig.sw_generator"
source "drivers/video/Kconfig.mt9m114"
source "drivers/video/Kconfig.ov7725"
source "drivers/video/Kconfig.ov2640"
source "drivers/video/Kconfig.stm32_dcmi"
source "drivers/video/Kconfig.ov5640"
source "drivers/video/Kconfig.ov7670"
source "drivers/video/Kconfig.gc2145"
endif # VIDEO