From patchwork Fri Apr 20 11:01:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timo Ketola X-Patchwork-Id: 154019 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id BA672B7019 for ; Fri, 20 Apr 2012 21:02:55 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C27F22817F; Fri, 20 Apr 2012 13:02:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c8CtXkZGjYf3; Fri, 20 Apr 2012 13:02:46 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CE15028180; Fri, 20 Apr 2012 13:02:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C914028152 for ; Fri, 20 Apr 2012 13:02:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bXH0-trMLWRM for ; Fri, 20 Apr 2012 13:02:38 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from exertus.fi (unknown [193.210.47.2]) by theia.denx.de (Postfix) with ESMTP id 5EA592815F for ; Fri, 20 Apr 2012 13:02:36 +0200 (CEST) Received: from timo-CELSIUS ([10.3.1.192]) by exertus.fi with Microsoft SMTPSVC(6.0.3790.4675); Fri, 20 Apr 2012 14:02:35 +0300 Received: by timo-CELSIUS (sSMTP sendmail emulation); Fri, 20 Apr 2012 14:02:32 +0300 From: "Timo Ketola" To: u-boot@lists.denx.de Date: Fri, 20 Apr 2012 14:01:49 +0300 Message-Id: <1334919709-5870-2-git-send-email-timo@exertus.fi> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1334919709-5870-1-git-send-email-timo@exertus.fi> References: <4F8E9BD9.9090107@denx.de> <1334919709-5870-1-git-send-email-timo@exertus.fi> X-OriginalArrivalTime: 20 Apr 2012 11:02:35.0422 (UTC) FILETIME=[177FFBE0:01CD1EE5] X-MS-Exchange-Organization-SCL: 1 Cc: scottwood@freescale.com Subject: [U-Boot] [PATCH] i.MX25: lcdc: Add register definitions X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Timo Ketola --- arch/arm/include/asm/arch-mx25/imx-regs.h | 32 +++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx25/imx-regs.h b/arch/arm/include/asm/arch-mx25/imx-regs.h index cf925d7..751a518 100644 --- a/arch/arm/include/asm/arch-mx25/imx-regs.h +++ b/arch/arm/include/asm/arch-mx25/imx-regs.h @@ -170,6 +170,38 @@ struct aips_regs { u32 mpr_8_15; }; +struct lcdc_regs { + u32 lssar; + u32 lsr; + u32 lvpwr; + u32 lcpr; + u32 lcwhb; + u32 lccmr; + u32 lpcr; + u32 lhcr; + u32 lvcr; + u32 lpor; + u32 lscr; + u32 lpccr; + u32 ldcr; + u32 lrmcr; + u32 licr; + u32 lier; + u32 lisr; + u32 pad0[3]; + u32 lgwsar; + u32 lgwsr; + u32 lgwvpwr; + u32 lgwpor; + u32 lgwpr; + + /* bglut starts at 0x800 or at word 0x200 and at this point we have + * defined 25 registers */ + u32 pad1[0x200 - 25]; + u32 bglut[0x100]; + u32 gwlut[0x100]; +}; + #endif /* AIPS 1 */