Skip to content

Commit

Permalink
media: intel-ipu3: cio2: add new MIPI-CSI2 driver
Browse files Browse the repository at this point in the history
This patch adds CIO2 CSI-2 device driver for
Intel's IPU3 camera sub-system support.

Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Signed-off-by: Hyungwoo Yang <hyungwoo.yang@intel.com>
Signed-off-by: Rajmohan Mani <rajmohan.mani@intel.com>
Signed-off-by: Vijaykumar Ramya <ramya.vijaykumar@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
  • Loading branch information
yongzhi1 authored and mchehab committed Dec 29, 2017
1 parent e62f528 commit c2a6a07
Show file tree
Hide file tree
Showing 8 changed files with 2,534 additions and 1 deletion.
8 changes: 8 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -7068,6 +7068,14 @@ R: Dan Williams <dan.j.williams@intel.com>
S: Odd fixes
F: drivers/dma/iop-adma.c

INTEL IPU3 CSI-2 CIO2 DRIVER
M: Yong Zhi <yong.zhi@intel.com>
M: Sakari Ailus <sakari.ailus@linux.intel.com>
L: linux-media@vger.kernel.org
S: Maintained
F: drivers/media/pci/intel/ipu3/
F: Documentation/media/uapi/v4l/pixfmt-srggb10-ipu3.rst

INTEL IXP4XX QMGR, NPE, ETHERNET and HSS SUPPORT
M: Krzysztof Halasa <khalasa@piap.pl>
S: Maintained
Expand Down
2 changes: 2 additions & 0 deletions drivers/media/pci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,7 @@ source "drivers/media/pci/smipcie/Kconfig"
source "drivers/media/pci/netup_unidvb/Kconfig"
endif

source "drivers/media/pci/intel/ipu3/Kconfig"

endif #MEDIA_PCI_SUPPORT
endif #PCI
3 changes: 2 additions & 1 deletion drivers/media/pci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ obj-y += ttpci/ \
ddbridge/ \
saa7146/ \
smipcie/ \
netup_unidvb/
netup_unidvb/ \
intel/

obj-$(CONFIG_VIDEO_IVTV) += ivtv/
obj-$(CONFIG_VIDEO_ZORAN) += zoran/
Expand Down
5 changes: 5 additions & 0 deletions drivers/media/pci/intel/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Makefile for the IPU3 cio2 and ImGU drivers
#

obj-y += ipu3/
19 changes: 19 additions & 0 deletions drivers/media/pci/intel/ipu3/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
config VIDEO_IPU3_CIO2
tristate "Intel ipu3-cio2 driver"
depends on VIDEO_V4L2 && PCI
depends on VIDEO_V4L2_SUBDEV_API
depends on X86 || COMPILE_TEST
depends on MEDIA_CONTROLLER
depends on HAS_DMA
depends on ACPI
select V4L2_FWNODE
select VIDEOBUF2_DMA_SG

---help---
This is the Intel IPU3 CIO2 CSI-2 receiver unit, found in Intel
Skylake and Kaby Lake SoCs and used for capturing images and
video from a camera sensor.

Say Y or M here if you have a Skylake/Kaby Lake SoC with MIPI CSI-2
connected camera.
The module will be called ipu3-cio2.
1 change: 1 addition & 0 deletions drivers/media/pci/intel/ipu3/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_VIDEO_IPU3_CIO2) += ipu3-cio2.o

0 comments on commit c2a6a07

Please sign in to comment.