Skip to content

Commit dcb0f4c

Browse files
Alain Volmathverkuil
authored andcommitted
media: stm32: csi: addition of the STM32 CSI driver
The STM32 CSI controller is tightly coupled with the DCMIPP and act as an input stage to receive data coming from the sensor and transferring them into the DCMIPP. Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent 64ecc79 commit dcb0f4c

File tree

4 files changed

+1160
-0
lines changed

4 files changed

+1160
-0
lines changed

MAINTAINERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14495,6 +14495,14 @@ W: https://linuxtv.org
1449514495
T: git git://linuxtv.org/media.git
1449614496
F: drivers/media/dvb-frontends/stv6111*
1449714497

14498+
MEDIA DRIVERS FOR STM32 - CSI
14499+
M: Alain Volmat <[email protected]>
14500+
14501+
S: Supported
14502+
T: git git://linuxtv.org/media_tree.git
14503+
F: Documentation/devicetree/bindings/media/st,stm32mp25-csi.yaml
14504+
F: drivers/media/platform/stm32/stm32-csi.c
14505+
1449814506
MEDIA DRIVERS FOR STM32 - DCMI / DCMIPP
1449914507
M: Hugues Fruchet <[email protected]>
1450014508
M: Alain Volmat <[email protected]>

drivers/media/platform/st/stm32/Kconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

33
# V4L drivers
4+
config VIDEO_STM32_CSI
5+
tristate "STM32 Camera Serial Interface (CSI) support"
6+
depends on V4L_PLATFORM_DRIVERS
7+
depends on VIDEO_DEV && OF
8+
depends on ARCH_STM32 || COMPILE_TEST
9+
select MEDIA_CONTROLLER
10+
select V4L2_FWNODE
11+
help
12+
This module makes the STM32 Camera Serial Interface (CSI)
13+
available as a v4l2 device.
14+
15+
To compile this driver as a module, choose M here: the module
16+
will be called stm32-csi.
17+
418
config VIDEO_STM32_DCMI
519
tristate "STM32 Digital Camera Memory Interface (DCMI) support"
620
depends on V4L_PLATFORM_DRIVERS

drivers/media/platform/st/stm32/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2+
obj-$(CONFIG_VIDEO_STM32_CSI) += stm32-csi.o
23
obj-$(CONFIG_VIDEO_STM32_DCMI) += stm32-dcmi.o
34
obj-$(CONFIG_VIDEO_STM32_DCMIPP) += stm32-dcmipp/
45
stm32-dma2d-objs := dma2d/dma2d.o dma2d/dma2d-hw.o

0 commit comments

Comments
 (0)