From patchwork Wed May 2 13:52:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajeshwari Shinde X-Patchwork-Id: 8352 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id E5D4623E42 for ; Wed, 2 May 2012 13:51:57 +0000 (UTC) Received: from mail-gy0-f180.google.com (mail-gy0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id B5DC2A18440 for ; Wed, 2 May 2012 13:51:57 +0000 (UTC) Received: by mail-gy0-f180.google.com with SMTP id z12so844905ghb.11 for ; Wed, 02 May 2012 06:51:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:x-auditid :from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-brightmail-tracker:x-tm-as-mml:x-gm-message-state; bh=Z/Dk/+o/DCpjiHW2ORXwSyjfW0Y6pkdc3N81fj8PDoA=; b=FGgnH5WiEWsYZIf1icREjxicoIAHpjw2qpLBv4u0jZhhRZ6G7Fg5FMlpyBV2NzXQ/v glC8z+l9cienpZRfWSbUfl9NcbVMojE0UZ6SsRoeCGmEEiQXcRLr8Mhg1qRzgua3EZZB AbDsBvmlOawAnjLgzv8eySV0/VhSnEKKEC8UHUPT6QXM+YIVssvkhohNSDALUpXzLfSp oTAutV3UR0gzhVHaBBNIDnJh/W408ObnMW9KYUmcQQ/ycJGwb8sKZRjonZAZbruwyqMJ U31zzYALCHt9To+9+tcWJhiXph4SMn8maPM9ME1LL0DOZuP7+1PsusHKfkLzoPyvJbPX 5Ovw== Received: by 10.50.217.230 with SMTP id pb6mr5204206igc.1.1335966716935; Wed, 02 May 2012 06:51:56 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.137.198 with SMTP id x6csp252996ibt; Wed, 2 May 2012 06:51:56 -0700 (PDT) Received: by 10.68.228.132 with SMTP id si4mr11459154pbc.86.1335966716096; Wed, 02 May 2012 06:51:56 -0700 (PDT) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id s4si1907338pbn.79.2012.05.02.06.51.55; Wed, 02 May 2012 06:51:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.25 as permitted sender) client-ip=203.254.224.25; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of rajeshwari.s@samsung.com designates 203.254.224.25 as permitted sender) smtp.mail=rajeshwari.s@samsung.com Received: from epcpsbgm1.samsung.com (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M3E00K0EEIBJ0J0@mailout2.samsung.com> for patches@linaro.org; Wed, 02 May 2012 22:51:54 +0900 (KST) X-AuditID: cbfee61a-b7bfeae0000070f7-bf-4fa13bfab657 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (MMPCPMTA) with SMTP id 21.D2.28919.AFB31AF4; Wed, 02 May 2012 22:51:54 +0900 (KST) Received: from rajeshwari-linux.sisodomain.com ([107.108.215.115]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M3E007JQEG9E710@mmp2.samsung.com> for patches@linaro.org; Wed, 02 May 2012 22:51:54 +0900 (KST) From: Rajeshwari Shinde To: u-boot@lists.denx.de Cc: patches@linaro.org, marex@denx.de, l.majewski@samsung.com, sjg@chromium.org, clchiou@chromium.org, waihong@chromium.org, k.chander@samsung.com Subject: [PATCH 1/5] exynos5: Add system register structure Date: Wed, 02 May 2012 19:22:38 +0530 Message-id: <1335966762-9769-2-git-send-email-rajeshwari.s@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1335966762-9769-1-git-send-email-rajeshwari.s@samsung.com> References: <1335966762-9769-1-git-send-email-rajeshwari.s@samsung.com> X-Brightmail-Tracker: AAAAAA== X-TM-AS-MML: No X-Gm-Message-State: ALoCoQml4KZO0DcbSRM6XCQmvmQhUrqjaMhwOmzCqLm8ZHNZ/ZqXEUBMWxFIqZbCbYPsk87ZcaTQ This patch add structure for SYSREG. Signed-off-by: Che-Liang Chiou Signed-off-by: Rajeshwari Shinde Reviewed-by: Vivek Gautam Reviewed-by: Simon Glass Acked-by: Chander kashyap --- arch/arm/include/asm/arch-exynos/sysreg.h | 43 +++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) create mode 100644 arch/arm/include/asm/arch-exynos/sysreg.h diff --git a/arch/arm/include/asm/arch-exynos/sysreg.h b/arch/arm/include/asm/arch-exynos/sysreg.h new file mode 100644 index 0000000..aca4b2b --- /dev/null +++ b/arch/arm/include/asm/arch-exynos/sysreg.h @@ -0,0 +1,43 @@ +/* + * (C) Copyright 2012 Samsung Electronics + * Register map for sysreg + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + */ + +#ifndef __EXYNOS5_SYSREG_H__ +#define __EXYNOS5_SYSREG_H__ + +#ifndef __ASSEMBLY__ +/* sysreg map */ +struct exynos5_sysreg { + /* Add registers as and when required */ + unsigned char res1[0x214]; + unsigned int disp1blk_cfg; + unsigned int dispblk_cfg2; + unsigned int hdcp_e_fuse_mem_cfg; + unsigned int gsclblk_cfg0; + unsigned int gsclblk_cfg1; + unsigned int ispblk_cfg; + unsigned int usb20_phy_cfg; + unsigned char res2[0x29c]; + unsigned int mipi_dphy; + unsigned int dptx_phy; + unsigned int phyclk_sel; +}; +#endif + +#endif