diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-02-23 10:12:58 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:52 -0400 |
commit | 2d9329f3a551b50350a15d19edd9ab3df6c6bad0 (patch) | |
tree | 0e387e6878685f62d642a4f1130bb8c172ab161b /arch | |
parent | 8420fa7ee22c1d681549ff7ab0466ceda5a911c2 (diff) |
V4L/DVB (10665): soc-camera: add data signal polarity flags to drivers
All soc-camera camera and host drivers must specify supported data signal
polarity, after all drivers are fixed, we'll add a suitable test to
soc_camera_bus_param_compatible().
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/boards/board-ap325rxa.c | 3 | ||||
-rw-r--r-- | arch/sh/boards/mach-migor/setup.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index a64e38841c49..e27655b8a98d 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c | |||
@@ -310,7 +310,8 @@ static struct platform_device camera_device = { | |||
310 | 310 | ||
311 | static struct sh_mobile_ceu_info sh_mobile_ceu_info = { | 311 | static struct sh_mobile_ceu_info sh_mobile_ceu_info = { |
312 | .flags = SOCAM_PCLK_SAMPLE_RISING | SOCAM_HSYNC_ACTIVE_HIGH | | 312 | .flags = SOCAM_PCLK_SAMPLE_RISING | SOCAM_HSYNC_ACTIVE_HIGH | |
313 | SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_MASTER | SOCAM_DATAWIDTH_8, | 313 | SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_DATA_ACTIVE_HIGH | SOCAM_MASTER | |
314 | SOCAM_DATAWIDTH_8, | ||
314 | }; | 315 | }; |
315 | 316 | ||
316 | static struct resource ceu_resources[] = { | 317 | static struct resource ceu_resources[] = { |
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index bc35b4cae6b3..4fd6a727873c 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c | |||
@@ -352,8 +352,9 @@ static int tw9910_power(struct device *dev, int mode) | |||
352 | } | 352 | } |
353 | 353 | ||
354 | static struct sh_mobile_ceu_info sh_mobile_ceu_info = { | 354 | static struct sh_mobile_ceu_info sh_mobile_ceu_info = { |
355 | .flags = SOCAM_MASTER | SOCAM_DATAWIDTH_8 | SOCAM_PCLK_SAMPLE_RISING \ | 355 | .flags = SOCAM_MASTER | SOCAM_DATAWIDTH_8 | SOCAM_PCLK_SAMPLE_RISING |
356 | | SOCAM_HSYNC_ACTIVE_HIGH | SOCAM_VSYNC_ACTIVE_HIGH, | 356 | | SOCAM_HSYNC_ACTIVE_HIGH | SOCAM_VSYNC_ACTIVE_HIGH |
357 | | SOCAM_DATA_ACTIVE_HIGH, | ||
357 | }; | 358 | }; |
358 | 359 | ||
359 | static struct resource migor_ceu_resources[] = { | 360 | static struct resource migor_ceu_resources[] = { |