Browse Source

ARM: mach-shmobile: sh7372 CEU supports up to 8188x8188 images

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: Simon Horman <horms@verge.net.au>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Guennadi Liakhovetski 13 years ago
parent
commit
ef8f41ff0c
2 changed files with 4 additions and 0 deletions
  1. 2 0
      arch/arm/mach-shmobile/board-ap4evb.c
  2. 2 0
      arch/arm/mach-shmobile/board-mackerel.c

+ 2 - 0
arch/arm/mach-shmobile/board-ap4evb.c

@@ -997,6 +997,8 @@ static struct sh_mobile_ceu_companion csi2 = {
 
 static struct sh_mobile_ceu_info sh_mobile_ceu_info = {
 	.flags = SH_CEU_FLAG_USE_8BIT_BUS,
+	.max_width = 8188,
+	.max_height = 8188,
 	.csi2 = &csi2,
 };
 

+ 2 - 0
arch/arm/mach-shmobile/board-mackerel.c

@@ -1252,6 +1252,8 @@ static void mackerel_camera_del(struct soc_camera_device *icd)
 
 static struct sh_mobile_ceu_info sh_mobile_ceu_info = {
 	.flags = SH_CEU_FLAG_USE_8BIT_BUS,
+	.max_width = 8188,
+	.max_height = 8188,
 };
 
 static struct resource ceu_resources[] = {