Skip to content

Commit

Permalink
drivers: video: esp32s3: add support for cam interface
Browse files Browse the repository at this point in the history
Adding support for the esp32s3 LCD_CAM peripheral.

Signed-off-by: Armin Kessler <[email protected]>
  • Loading branch information
epc-ake authored and nashif committed Sep 6, 2024
1 parent 78674cc commit 576fc20
Show file tree
Hide file tree
Showing 6 changed files with 503 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ zephyr_library_sources_ifdef(CONFIG_VIDEO_OV2640 ov2640.c)
zephyr_library_sources_ifdef(CONFIG_VIDEO_STM32_DCMI video_stm32_dcmi.c)
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV5640 ov5640.c)
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7670 ov7670.c)
zephyr_library_sources_ifdef(CONFIG_VIDEO_ESP32 video_esp32_dvp.c)
2 changes: 2 additions & 0 deletions drivers/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ config VIDEO_BUFFER_POOL_ALIGN
int "Alignment of the video pool’s buffer"
default 64

source "drivers/video/Kconfig.esp32_dvp"

source "drivers/video/Kconfig.mcux_csi"

source "drivers/video/Kconfig.mcux_mipi_csi2rx"
Expand Down
10 changes: 10 additions & 0 deletions drivers/video/Kconfig.esp32_dvp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0

config VIDEO_ESP32
bool "Video interface driver"
select DMA
depends on DT_HAS_ESPRESSIF_ESP32_LCD_CAM_ENABLED
default y
help
This option enables the video interface for the esp32s3.
Loading

0 comments on commit 576fc20

Please sign in to comment.