All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-media@vger.kernel.org, linux-omap@vger.kernel.org
Cc: sakari.ailus@maxwell.research.nokia.com
Subject: [PATCH v6 10/10] omap3isp: Kconfig and Makefile
Date: Mon, 14 Feb 2011 13:21:37 +0100	[thread overview]
Message-ID: <1297686097-9804-11-git-send-email-laurent.pinchart@ideasonboard.com> (raw)
In-Reply-To: <1297686097-9804-1-git-send-email-laurent.pinchart@ideasonboard.com>

Add the OMAP3 ISP driver to the kernel build system.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 drivers/media/video/Kconfig            |   13 +++++++++++++
 drivers/media/video/Makefile           |    2 ++
 drivers/media/video/omap3-isp/Makefile |   13 +++++++++++++
 include/linux/Kbuild                   |    1 +
 4 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 drivers/media/video/omap3-isp/Makefile

diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index aa02160..9cf7153 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -718,6 +718,19 @@ config VIDEO_VIA_CAMERA
 	   Chrome9 chipsets.  Currently only tested on OLPC xo-1.5 systems
 	   with ov7670 sensors.
 
+config VIDEO_OMAP3
+	tristate "OMAP 3 Camera support (EXPERIMENTAL)"
+	select OMAP_IOMMU
+	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3 && EXPERIMENTAL
+	---help---
+	  Driver for an OMAP 3 camera controller.
+
+config VIDEO_OMAP3_DEBUG
+	bool "OMAP 3 Camera debug messages"
+	depends on VIDEO_OMAP3
+	---help---
+	  Enable debug messages on OMAP 3 camera controller driver.
+
 config SOC_CAMERA
 	tristate "SoC camera support"
 	depends on VIDEO_V4L2 && HAS_DMA && I2C
diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile
index 35c774d..727b9a8 100644
--- a/drivers/media/video/Makefile
+++ b/drivers/media/video/Makefile
@@ -121,6 +121,8 @@ obj-$(CONFIG_VIDEO_CAFE_CCIC) += cafe_ccic.o
 
 obj-$(CONFIG_VIDEO_VIA_CAMERA) += via-camera.o
 
+obj-$(CONFIG_VIDEO_OMAP3)	+= omap3-isp/
+
 obj-$(CONFIG_USB_ZR364XX)       += zr364xx.o
 obj-$(CONFIG_USB_STKWEBCAM)     += stkwebcam.o
 
diff --git a/drivers/media/video/omap3-isp/Makefile b/drivers/media/video/omap3-isp/Makefile
new file mode 100644
index 0000000..b1b34477
--- /dev/null
+++ b/drivers/media/video/omap3-isp/Makefile
@@ -0,0 +1,13 @@
+# Makefile for OMAP3 ISP driver
+
+ifdef CONFIG_VIDEO_OMAP3_DEBUG
+EXTRA_CFLAGS += -DDEBUG
+endif
+
+omap3-isp-objs += \
+	isp.o ispqueue.o ispvideo.o \
+	ispcsiphy.o ispccp2.o ispcsi2.o \
+	ispccdc.o isppreview.o ispresizer.o \
+	ispstat.o isph3a_aewb.o isph3a_af.o isphist.o
+
+obj-$(CONFIG_VIDEO_OMAP3) += omap3-isp.o
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index 19530c6..e879c1b 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -276,6 +276,7 @@ header-y += nfsacl.h
 header-y += nl80211.h
 header-y += nubus.h
 header-y += nvram.h
+header-y += omap3isp.h
 header-y += omapfb.h
 header-y += oom.h
 header-y += param.h
-- 
1.7.3.4


  parent reply	other threads:[~2011-02-14 12:22 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-14 12:21 [PATCH v6 00/10] OMAP3 ISP driver Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 01/10] ARM: OMAP3: Update Camera ISP definitions for OMAP3630 Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 02/10] omap3: Remove unusued ISP CBUFF resource Laurent Pinchart
2011-02-14 12:31   ` Felipe Balbi
2011-02-14 12:59     ` Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 03/10] omap3: Add function to register omap3isp platform device structure Laurent Pinchart
2011-02-14 12:34   ` Felipe Balbi
2011-02-14 13:07     ` Laurent Pinchart
2011-02-14 13:18       ` Felipe Balbi
2011-02-14 15:15         ` David Cohen
2011-02-14 12:21 ` [PATCH v6 04/10] omap2: Fix camera resources for multiomap Laurent Pinchart
2011-02-14 12:35   ` Felipe Balbi
2011-02-14 13:19     ` Laurent Pinchart
2011-02-14 13:41       ` Felipe Balbi
2011-02-14 13:50         ` Laurent Pinchart
2011-02-14 15:11           ` David Cohen
2011-02-14 12:21 ` [PATCH v6 05/10] omap3isp: OMAP3 ISP core Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 06/10] omap3isp: Video devices and buffers queue Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 07/10] omap3isp: CCP2/CSI2 receivers Laurent Pinchart
2011-02-14 12:37   ` Felipe Balbi
2011-02-14 13:25     ` Laurent Pinchart
2011-02-14 13:32     ` Laurent Pinchart
2011-02-14 12:38   ` Felipe Balbi
2011-02-14 12:21 ` [PATCH v6 08/10] omap3isp: CCDC, preview engine and resizer Laurent Pinchart
2011-02-14 12:21 ` [PATCH v6 09/10] omap3isp: Statistics Laurent Pinchart
2011-02-14 12:21 ` Laurent Pinchart [this message]
2011-02-14 12:56 ` [PATCH v6 00/10] OMAP3 ISP driver Hans Verkuil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1297686097-9804-11-git-send-email-laurent.pinchart@ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=sakari.ailus@maxwell.research.nokia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.