From patchwork Thu Aug 25 04:05:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 1095202 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7P45Nxl028124 for ; Thu, 25 Aug 2011 04:05:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750795Ab1HYEFW (ORCPT ); Thu, 25 Aug 2011 00:05:22 -0400 Received: from mail-yw0-f46.google.com ([209.85.213.46]:36616 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750728Ab1HYEFS (ORCPT ); Thu, 25 Aug 2011 00:05:18 -0400 Received: by mail-yw0-f46.google.com with SMTP id 7so1410767ywf.19 for ; Wed, 24 Aug 2011 21:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:sender:message-id:to:cc:in-reply-to:references:from:subject :user-agent:mime-version:content-type; bh=Q5eR/LRqAteRa6kCHgPKl4+M8ydSLiPHgcjrJ6HtAEU=; b=CWOU114puyIi+lfZ1O/LYxCArsryGQt0gUQzL/eFE8MCBaYP1udevvCEh+bCi1T88j E1YgC38nfqCNKdTfXcp6gX6qyLtZM/jPcEpx5el2CCwmOsA37zgNwLMLnBAt4D2mTFKn Y2/lyuSr7QgSGLxvwvDK5J7FyQckHbbsM6/ow= Received: by 10.231.62.202 with SMTP id y10mr11536708ibh.95.1314245117452; Wed, 24 Aug 2011 21:05:17 -0700 (PDT) Received: from morimoto-Dell-XPS420.gmail.com (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id n14sm87468ibi.56.2011.08.24.21.05.15 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Aug 2011 21:05:16 -0700 (PDT) Date: Wed, 24 Aug 2011 21:05:16 -0700 (PDT) Message-ID: <87y5yit9tz.wl%kuninori.morimoto.gx@renesas.com> To: Paul Mundt , Magnus , Guennadi Cc: Linux-SH , Kuninori Morimoto In-Reply-To: <8739gquogt.wl%kuninori.morimoto.gx@renesas.com> References: <8739gquogt.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 3/7] fbdev: sh_mipi_dsi: add SH_MIPI_DSI_HFPBM flag User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-2022-JP-2?B?R29q?= =?ISO-2022-JP-2?B?GyQoRCtXGyhC?=) APEL/10.8 Emacs/23.2 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 25 Aug 2011 04:05:24 +0000 (UTC) Signed-off-by: Kuninori Morimoto --- drivers/video/sh_mipi_dsi.c | 2 ++ include/video/sh_mipi_dsi.h | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/video/sh_mipi_dsi.c b/drivers/video/sh_mipi_dsi.c index 3b408b7..b35454e 100644 --- a/drivers/video/sh_mipi_dsi.c +++ b/drivers/video/sh_mipi_dsi.c @@ -319,6 +319,8 @@ static int __init sh_mipi_setup(struct sh_mipi *mipi, vmctr2 |= 1 << 5; if (pdata->flags & SH_MIPI_DSI_HBPBM) vmctr2 |= 1 << 4; + if (pdata->flags & SH_MIPI_DSI_HFPBM) + vmctr2 |= 1 << 3; iowrite32(vmctr2, mipi->linkbase + VMCTR2); /* diff --git a/include/video/sh_mipi_dsi.h b/include/video/sh_mipi_dsi.h index 4e2bcb5..86a72c0 100644 --- a/include/video/sh_mipi_dsi.h +++ b/include/video/sh_mipi_dsi.h @@ -29,6 +29,7 @@ struct sh_mobile_lcdc_chan_cfg; #define SH_MIPI_DSI_HSABM (1 << 0) #define SH_MIPI_DSI_HBPBM (1 << 1) +#define SH_MIPI_DSI_HFPBM (1 << 2) struct sh_mipi_dsi_info { enum sh_mipi_dsi_data_fmt data_format;