aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/soc_camera/Kconfig
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-04-25 08:18:45 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-28 15:03:16 -0300
commit22e0099ac9a968a4a67fc681864a9ff453bd929f (patch)
tree33427ab1f10c5f59accfa49899df98a89169efac /drivers/media/platform/soc_camera/Kconfig
parent[media] V4L2: sh_mobile_ceu_camera: remove CEU specific data from generic functions (diff)
downloadlinux-dev-22e0099ac9a968a4a67fc681864a9ff453bd929f.tar.xz
linux-dev-22e0099ac9a968a4a67fc681864a9ff453bd929f.zip
[media] V4L2: soc-camera: move generic functions into a separate file
The sh_mobile_ceu_camera driver implements a generic algorithm for setting up an optimal client and host scaling and cropping configuration. This patch makes those functions available for all drivers. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/soc_camera/Kconfig')
-rw-r--r--drivers/media/platform/soc_camera/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/platform/soc_camera/Kconfig b/drivers/media/platform/soc_camera/Kconfig
index ffd00106b205..626dcccc37da 100644
--- a/drivers/media/platform/soc_camera/Kconfig
+++ b/drivers/media/platform/soc_camera/Kconfig
@@ -8,6 +8,9 @@ config SOC_CAMERA
over a bus like PCI or USB. For example some i2c camera connected
directly to the data bus of an SoC.
+config SOC_CAMERA_SCALE_CROP
+ tristate
+
config SOC_CAMERA_PLATFORM
tristate "platform camera support"
depends on SOC_CAMERA
@@ -51,6 +54,7 @@ config VIDEO_SH_MOBILE_CEU
tristate "SuperH Mobile CEU Interface driver"
depends on VIDEO_DEV && SOC_CAMERA && HAS_DMA && HAVE_CLK
select VIDEOBUF2_DMA_CONTIG
+ select SOC_CAMERA_SCALE_CROP
---help---
This is a v4l2 driver for the SuperH Mobile CEU Interface