Skip to content

Commit a78e18a

Browse files
josuahalanridelAlain Volmat
committed
drivers: video: introduction of IMX219 sensor driver
Add support for the Sony IMX219 CSI sensor. This sensor supports resolution of 3280x2464 in RGGB bayer format either 8 or 10 bits and using 2 or 4 CSI lanes. Only 10 bits on 2 CSI lanes is currently supported, and only in 1920x1080 pixel resolution using cropping. Signed-off-by: Josuah Demangeon <me@josuah.net> Co-authored-by: Alan Shaju <alanshaju@rideltech.com> Co-authored-by: Alain Volmat <alain.volmat@foss.st.com>
1 parent 32f22bd commit a78e18a

File tree

5 files changed

+597
-0
lines changed

5 files changed

+597
-0
lines changed

drivers/video/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ zephyr_library_sources_ifdef(CONFIG_VIDEO_EMUL_IMAGER video_emul_imager.c)
1111
zephyr_library_sources_ifdef(CONFIG_VIDEO_EMUL_RX video_emul_rx.c)
1212
zephyr_library_sources_ifdef(CONFIG_VIDEO_ESP32 video_esp32_dvp.c)
1313
zephyr_library_sources_ifdef(CONFIG_VIDEO_GC2145 gc2145.c)
14+
zephyr_library_sources_ifdef(CONFIG_VIDEO_IMX219 imx219.c)
1415
zephyr_library_sources_ifdef(CONFIG_VIDEO_IMX335 imx335.c)
1516
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_CSI video_mcux_csi.c)
1617
zephyr_library_sources_ifdef(CONFIG_VIDEO_MCUX_MIPI_CSI2RX video_mcux_mipi_csi2rx.c)

drivers/video/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ source "drivers/video/Kconfig.emul_imager"
6363
source "drivers/video/Kconfig.emul_rx"
6464
source "drivers/video/Kconfig.esp32_dvp"
6565
source "drivers/video/Kconfig.gc2145"
66+
source "drivers/video/Kconfig.imx219"
6667
source "drivers/video/Kconfig.imx335"
6768
source "drivers/video/Kconfig.mcux_csi"
6869
source "drivers/video/Kconfig.mcux_mipi_csi2rx"

drivers/video/Kconfig.imx219

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) 2024 tinyVision.ai Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config VIDEO_IMX219
5+
bool "IMX219 8 Mega-Pixel CMOS image sensor"
6+
select I2C
7+
depends on DT_HAS_SONY_IMX219_ENABLED
8+
default y
9+
help
10+
Enable driver for IMX219 8 Mega-Pixel CMOS image sensor

0 commit comments

Comments
 (0)