Skip to content

Commit 7e8970e

Browse files
pinchartlMauro Carvalho Chehab
authored andcommitted
[media] omap3isp: Kconfig and Makefile
Add the OMAP3 ISP driver to the kernel build system. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
1 parent 68e342b commit 7e8970e

5 files changed

Lines changed: 35 additions & 0 deletions

File tree

‎MAINTAINERS‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4556,6 +4556,12 @@ L: linux-omap@vger.kernel.org
45564556
S: Maintained
45574557
F: arch/arm/mach-omap2/omap_hwmod_44xx_data.c
45584558

4559+
OMAP IMAGE SIGNAL PROCESSOR (ISP)
4560+
M: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
4561+
L: linux-media@vger.kernel.org
4562+
S: Maintained
4563+
F: drivers/media/video/omap3isp/*
4564+
45594565
OMAP USB SUPPORT
45604566
M: Felipe Balbi <balbi@ti.com>
45614567
M: David Brownell <dbrownell@users.sourceforge.net>

‎drivers/media/video/Kconfig‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,19 @@ config VIDEO_NOON010PC30
746746
---help---
747747
This driver supports NOON010PC30 CIF camera from Siliconfile
748748

749+
config VIDEO_OMAP3
750+
tristate "OMAP 3 Camera support (EXPERIMENTAL)"
751+
select OMAP_IOMMU
752+
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3 && EXPERIMENTAL
753+
---help---
754+
Driver for an OMAP 3 camera controller.
755+
756+
config VIDEO_OMAP3_DEBUG
757+
bool "OMAP 3 Camera debug messages"
758+
depends on VIDEO_OMAP3
759+
---help---
760+
Enable debug messages on OMAP 3 camera controller driver.
761+
749762
config SOC_CAMERA
750763
tristate "SoC camera support"
751764
depends on VIDEO_V4L2 && HAS_DMA && I2C

‎drivers/media/video/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
129129

130130
obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o
131131

132+
obj-$(CONFIG_VIDEO_OMAP3) += omap3isp/
133+
132134
obj-$(CONFIG_USB_ZR364XX) += zr364xx.o
133135
obj-$(CONFIG_USB_STKWEBCAM) += stkwebcam.o
134136

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Makefile for OMAP3 ISP driver
2+
3+
ifdef CONFIG_VIDEO_OMAP3_DEBUG
4+
EXTRA_CFLAGS += -DDEBUG
5+
endif
6+
7+
omap3-isp-objs += \
8+
isp.o ispqueue.o ispvideo.o \
9+
ispcsiphy.o ispccp2.o ispcsi2.o \
10+
ispccdc.o isppreview.o ispresizer.o \
11+
ispstat.o isph3a_aewb.o isph3a_af.o isphist.o
12+
13+
obj-$(CONFIG_VIDEO_OMAP3) += omap3-isp.o

‎include/linux/Kbuild‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ header-y += nfsacl.h
277277
header-y += nl80211.h
278278
header-y += nubus.h
279279
header-y += nvram.h
280+
header-y += omap3isp.h
280281
header-y += omapfb.h
281282
header-y += oom.h
282283
header-y += param.h

0 commit comments

Comments
 (0)