From patchwork Wed Mar 11 07:20:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 11071 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2B7UHF8003548 for ; Wed, 11 Mar 2009 07:30:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752167AbZCKH2z (ORCPT ); Wed, 11 Mar 2009 03:28:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751959AbZCKH2z (ORCPT ); Wed, 11 Mar 2009 03:28:55 -0400 Received: from mail.renesas.com ([202.234.163.13]:37092 "EHLO mail01.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752167AbZCKH2y (ORCPT ); Wed, 11 Mar 2009 03:28:54 -0400 X-AuditID: ac140384-0000000b000004f6-4c-49b7682d0311 Received: from guardian02.idc.renesas.com ([172.20.8.201]) by mail01.idc.renesas.com (sendmail) with ESMTP id n2B7Si1F026722; Wed, 11 Mar 2009 16:28:44 +0900 (JST) Received: (from root@localhost) by guardian02.idc.renesas.com with id n2B7SiZ6013220; Wed, 11 Mar 2009 16:28:44 +0900 (JST) Received: from mta03.idc.renesas.com (localhost [127.0.0.1]) by mta03.idc.renesas.com with ESMTP id n2B7SjCw008379; Wed, 11 Mar 2009 16:28:45 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0KGB00HMHZFVAA@ims05.idc.renesas.com>; Wed, 11 Mar 2009 16:28:44 +0900 (JST) Date: Wed, 11 Mar 2009 16:20:32 +0900 From: Kuninori Morimoto Subject: [PATCH] sh: ap325 and Migo-R use new sh_mobile_ceu_info flags To: Paul Mundt Cc: SH-Linux Message-id: MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.1 (i386-mingw-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.00-dev (KIKU) X-Brightmail-Tracker: AAAAAA== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Signed-off-by: Kuninori Morimoto --- > 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[] = {