From patchwork Fri Jul 29 10:56:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 1019732 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p6TAvLSx012165 for ; Fri, 29 Jul 2011 10:57:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756220Ab1G2K5S (ORCPT ); Fri, 29 Jul 2011 06:57:18 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:50771 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756235Ab1G2K5E (ORCPT ); Fri, 29 Jul 2011 06:57:04 -0400 Received: from axis700.grange (dslb-084-061-105-216.pools.arcor-ip.net [84.61.105.216]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0LcWHu-1RDbVQ0qaU-00jDLW; Fri, 29 Jul 2011 12:57:02 +0200 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id 13644189B6F; Fri, 29 Jul 2011 12:57:01 +0200 (CEST) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1QmkkW-0007oH-Sz; Fri, 29 Jul 2011 12:57:00 +0200 From: Guennadi Liakhovetski To: linux-media@vger.kernel.org Cc: Paul Mundt Subject: [PATCH 27/59] ARM: mach-shmobile: convert mackerel to mediabus flags Date: Fri, 29 Jul 2011 12:56:27 +0200 Message-Id: <1311937019-29914-28-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1311937019-29914-1-git-send-email-g.liakhovetski@gmx.de> References: <1311937019-29914-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:H0Bkc1zy/BGz4Rs+BcYLP+RKAsDDFieh/3EHW1Dl3G9 CnUAx8qkzXI4BAotVePvNPilDkQmvHOV1CoCeYi1/nJ4mTzY5h JSzHIUY8SZ1DIPNG16bZ9WzjvWgWq4a+Yu6w2u8R5NxUGUiPad favJyL7qnVG2wz53xgK+T6K9uqgGyt925lin3X2XC8FklRs92E MsEpNCwCXTEL67TUN6GknpbanOEScWQFx19ogb3enc= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 29 Jul 2011 10:57:21 +0000 (UTC) Prepare the board to switch to the new subdevice media-bus configuration operations. Signed-off-by: Guennadi Liakhovetski Cc: Paul Mundt --- arch/arm/mach-shmobile/board-mackerel.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 1610fbf..409606b 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c @@ -1214,6 +1214,10 @@ static struct soc_camera_platform_info camera_info = { .bus_param = SOCAM_PCLK_SAMPLE_RISING | SOCAM_HSYNC_ACTIVE_HIGH | SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_MASTER | SOCAM_DATAWIDTH_8 | SOCAM_DATA_ACTIVE_HIGH, + .mbus_param = V4L2_MBUS_PCLK_SAMPLE_RISING | V4L2_MBUS_MASTER | + V4L2_MBUS_VSYNC_ACTIVE_HIGH | V4L2_MBUS_HSYNC_ACTIVE_HIGH | + V4L2_MBUS_DATA_ACTIVE_HIGH, + .mbus_type = V4L2_MBUS_PARALLEL, .set_capture = camera_set_capture, };