[PATCH 2/2] ARM: mach-shmobile: sh7372 CEU supports up to 8188x8188 images

Guennadi Liakhovetski
2012-03-14T15:02:26Z

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---

This patch we can push some time after the first one in this series gets
in, no breakage is caused.

arch/arm/mach-shmobile/board-ap4evb.c | 2 ++
arch/arm/mach-shmobile/board-mackerel.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index aab0a34..f67aa03 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -1009,6 +1009,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,
};

diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index 9b42fbd..f790772 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
@@ -1270,6 +1270,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[] = {
--
1.7.2.5