summaryrefslogtreecommitdiffstats
path: root/include/media/sh_mobile_ceu.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2012-03-14 12:37:03 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-20 02:11:06 +0100
commit48e971cd7fc2440d49159786ecc8786298f98cec (patch)
tree4921cb8c5c365f49155dfa680cf675bb597890ab /include/media/sh_mobile_ceu.h
parent[media] V4L: soc-camera: call soc_camera_power_on() after adding the client t... (diff)
downloadlinux-48e971cd7fc2440d49159786ecc8786298f98cec.tar.xz
linux-48e971cd7fc2440d49159786ecc8786298f98cec.zip
[media] V4L: sh_mobile_ceu_camera: maximum image size depends on the hardware version
Newer CEU versions, e.g., the one, used on sh7372, support image sizes larger than 2560x1920. Retrieve maximum sizes from platform properties. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/sh_mobile_ceu.h')
-rw-r--r--include/media/sh_mobile_ceu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/sh_mobile_ceu.h b/include/media/sh_mobile_ceu.h
index 48413b410f15..a90a765f18da 100644
--- a/include/media/sh_mobile_ceu.h
+++ b/include/media/sh_mobile_ceu.h
@@ -18,6 +18,8 @@ struct sh_mobile_ceu_companion {
struct sh_mobile_ceu_info {
unsigned long flags;
+ int max_width;
+ int max_height;
struct sh_mobile_ceu_companion *csi2;
};