* [PATCH] sh: ap325 and Migo-R use new sh_mobile_ceu_info flags
@ 2009-03-11 7:20 Kuninori Morimoto
2009-03-11 8:27 ` Paul Mundt
2009-03-11 9:32 ` morimoto.kuninori
0 siblings, 2 replies; 3+ messages in thread
From: Kuninori Morimoto @ 2009-03-11 7:20 UTC (permalink / raw)
To: linux-sh
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
---
> Paul
this patch is for linux 2.6.30
arch/sh/boards/board-ap325rxa.c | 4 +---
arch/sh/boards/mach-migor/setup.c | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c
index 3bdf199..f1e8eb4 100644
--- a/arch/sh/boards/board-ap325rxa.c
+++ b/arch/sh/boards/board-ap325rxa.c
@@ -297,9 +297,7 @@ static struct platform_device camera_device = {
#endif /* CONFIG_I2C */
static struct sh_mobile_ceu_info sh_mobile_ceu_info = {
- .flags = SOCAM_PCLK_SAMPLE_RISING | SOCAM_HSYNC_ACTIVE_HIGH |
- SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_DATA_ACTIVE_HIGH | SOCAM_MASTER |
- SOCAM_DATAWIDTH_8,
+ .flags = SH_CEU_FLAG_USE_8BIT_BUS,
};
static struct resource ceu_resources[] = {
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c
index 6d63959..6e7cbcf 100644
--- a/arch/sh/boards/mach-migor/setup.c
+++ b/arch/sh/boards/mach-migor/setup.c
@@ -352,9 +352,7 @@ static int tw9910_power(struct device *dev, int mode)
}
static struct sh_mobile_ceu_info sh_mobile_ceu_info = {
- .flags = SOCAM_MASTER | SOCAM_DATAWIDTH_8 | SOCAM_PCLK_SAMPLE_RISING
- | SOCAM_HSYNC_ACTIVE_HIGH | SOCAM_VSYNC_ACTIVE_HIGH
- | SOCAM_DATA_ACTIVE_HIGH,
+ .flags = SH_CEU_FLAG_USE_8BIT_BUS,
};
static struct resource migor_ceu_resources[] = {
--
1.5.6.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] sh: ap325 and Migo-R use new sh_mobile_ceu_info flags
2009-03-11 7:20 [PATCH] sh: ap325 and Migo-R use new sh_mobile_ceu_info flags Kuninori Morimoto
@ 2009-03-11 8:27 ` Paul Mundt
2009-03-11 9:32 ` morimoto.kuninori
1 sibling, 0 replies; 3+ messages in thread
From: Paul Mundt @ 2009-03-11 8:27 UTC (permalink / raw)
To: linux-sh
On Wed, Mar 11, 2009 at 04:20:32PM +0900, Kuninori Morimoto wrote:
>
> Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> ---
> > Paul
> this patch is for linux 2.6.30
>
> arch/sh/boards/board-ap325rxa.c | 4 +---
> arch/sh/boards/mach-migor/setup.c | 4 +---
> 2 files changed, 2 insertions(+), 6 deletions(-)
>
This seems to depend on some stuff in the v4l tree that well presumably
be merged during the merge window, so I'll apply this once those changes
hit mainline.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sh: ap325 and Migo-R use new sh_mobile_ceu_info flags
2009-03-11 7:20 [PATCH] sh: ap325 and Migo-R use new sh_mobile_ceu_info flags Kuninori Morimoto
2009-03-11 8:27 ` Paul Mundt
@ 2009-03-11 9:32 ` morimoto.kuninori
1 sibling, 0 replies; 3+ messages in thread
From: morimoto.kuninori @ 2009-03-11 9:32 UTC (permalink / raw)
To: linux-sh
Dear Paul
> This seems to depend on some stuff in the v4l tree that well presumably
> be merged during the merge window, so I'll apply this once those changes
> hit mainline.
Yes. This patch needs
http://git.kernel.org/?p=linux/kernel/git/mchehab/linux-next.git;a=commit;h\x0173d07a2579eca98159a3ac71a3d0bd7e81cc47
------------------
Author: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Date: Mon Feb 23 12:12:58 2009 -0300
V4L/DVB (10671): sh_mobile_ceu: SOCAM flags are not platform dependent
sh_mobile_ceu_camera.c support for signal polarity flags isn't platform
dependent, provide them locally. Only the bus width is implementation
specific.
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Acked-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
------------------
Best regards
--
Kuninori Morimoto
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-11 9:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11 7:20 [PATCH] sh: ap325 and Migo-R use new sh_mobile_ceu_info flags Kuninori Morimoto
2009-03-11 8:27 ` Paul Mundt
2009-03-11 9:32 ` morimoto.kuninori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox