From patchwork Wed Feb 23 10:16:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damian Hobson-Garcia X-Patchwork-Id: 583851 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1NAJgIF029310 for ; Wed, 23 Feb 2011 10:19:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752005Ab1BWKTh (ORCPT ); Wed, 23 Feb 2011 05:19:37 -0500 Received: from mailhost.igel.co.jp ([219.106.231.130]:59483 "EHLO mailhost.igel.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751573Ab1BWKTg (ORCPT ); Wed, 23 Feb 2011 05:19:36 -0500 Received: from v400.hq.igel.co.jp (unknown [10.16.150.2]) by mailhost.igel.co.jp (Postfix) with ESMTP id 26A44960503; Wed, 23 Feb 2011 19:19:35 +0900 (JST) From: Damian Hobson-Garcia To: magnus.damm@gmail.com Cc: linux-sh@vger.kernel.org, linux-fbdev@vger.kernel.org, g.liakhovetski@gmx.de, taki@igel.co.jp, matsu@igel.co.jp, Damian Hobson-Garcia Subject: [PATCH 2/2] fbdev: sh_mobile_lcdc: Define additional .nonstd flags for sh7372 Date: Wed, 23 Feb 2011 19:16:50 +0900 Message-Id: <1298456210-26519-3-git-send-email-dhobsong@igel.co.jp> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1298456210-26519-1-git-send-email-dhobsong@igel.co.jp> References: <1298456210-26519-1-git-send-email-dhobsong@igel.co.jp> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@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]); Wed, 23 Feb 2011 10:19:43 +0000 (UTC) diff --git a/arch/arm/mach-shmobile/include/mach/sh7372.h b/arch/arm/mach-shmobile/include/mach/sh7372.h index 5736efc..cdbc2cf 100644 --- a/arch/arm/mach-shmobile/include/mach/sh7372.h +++ b/arch/arm/mach-shmobile/include/mach/sh7372.h @@ -13,6 +13,17 @@ #include +/* LCDC YUV support: + * The following bit flags are used to set the bits 17 and up + * in the MLDDFR. These flags should be used to set the + * .nonstd field in the struct sh_mobile_lcdc_info. + * Bit 16, which is accessible from user space is defined in + * + * The flags have different values for different chips + */ +#define LCDC_YUV_FULL_RANGE ((0x1 << 17) >> 16) +#define LCDC_YUV_BT_709 ((0x1 << 18) >> 16) + /* * Pin Function Controller: * GPIO_FN_xx - GPIO used to select pin function