From patchwork Thu Oct 30 09:15:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Igal.Liberman" X-Patchwork-Id: 404938 X-Patchwork-Delegate: scottwood@freescale.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B66D14007F for ; Thu, 30 Oct 2014 20:27:49 +1100 (AEDT) Received: from ozlabs.org (ozlabs.org [103.22.144.67]) by lists.ozlabs.org (Postfix) with ESMTP id 366191A1AFC for ; Thu, 30 Oct 2014 20:27:49 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org X-Greylist: delayed 954 seconds by postgrey-1.34 at bilbo; Thu, 30 Oct 2014 20:27:11 AEDT Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0101.outbound.protection.outlook.com [207.46.100.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id C88091A01A3 for ; Thu, 30 Oct 2014 20:27:11 +1100 (AEDT) Received: from BN3PR0301CA0037.namprd03.prod.outlook.com (25.160.180.175) by BL2PR03MB369.namprd03.prod.outlook.com (10.141.89.12) with Microsoft SMTP Server (TLS) id 15.1.11.14; Thu, 30 Oct 2014 09:11:08 +0000 Received: from BY2FFO11FD056.protection.gbl (2a01:111:f400:7c0c::178) by BN3PR0301CA0037.outlook.office365.com (2a01:111:e400:4000::47) with Microsoft SMTP Server (TLS) id 15.1.6.9 via Frontend Transport; Thu, 30 Oct 2014 09:11:08 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD056.mail.protection.outlook.com (10.1.15.193) with Microsoft SMTP Server (TLS) id 15.0.1049.20 via Frontend Transport; Thu, 30 Oct 2014 09:11:08 +0000 Received: from b31950-Sun-Ultra-20-Workstation.fil.ea.freescale.net ([10.96.120.70]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s9U9B2Gs004012; Thu, 30 Oct 2014 02:11:05 -0700 From: Igal.Liberman To: Subject: [PATCH] powerpc: Added rcw registers to global utility registers Date: Thu, 30 Oct 2014 11:15:47 +0200 Message-ID: <1414660547-1488-1-git-send-email-igal.liberman@freescale.com> X-Mailer: git-send-email 1.7.9.5 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(26826002)(36756003)(93916002)(102836001)(575784001)(77156001)(85306004)(80022003)(46102003)(21056001)(4396001)(104166001)(84676001)(99396003)(76482002)(120916001)(48376002)(106466001)(19580395003)(6806004)(2351001)(107046002)(89996001)(229853001)(44976005)(88136002)(64706001)(47776003)(20776003)(19580405001)(87286001)(87936001)(105606002)(85852003)(95666004)(110136001)(50466002)(68736004)(97736003)(50226001)(86362001)(62966002)(92566001)(92726001)(31966008)(50986999)(104016003)(33646002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB369; H:tx30smr01.am.freescale.net; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB369; X-Forefront-PRVS: 038002787A Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=Igal.Liberman@freescale.com; X-OriginatorOrg: freescale.com Cc: scottwood@freescale.com, Igal Liberman , Emilian.Medve@freescale.com X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" From: Igal Liberman The RCW registers are required for the future clock binding implementation. Signed-off-by: Igal Liberman Change-Id: Ic36dd8bc2959aa7f97fb6fd7bbb8420822fef0a9 Signed-off-by: Emil Medve --- arch/powerpc/include/asm/fsl_guts.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/fsl_guts.h b/arch/powerpc/include/asm/fsl_guts.h index 193d1f1..38d0b57 100644 --- a/arch/powerpc/include/asm/fsl_guts.h +++ b/arch/powerpc/include/asm/fsl_guts.h @@ -68,7 +68,10 @@ struct ccsr_guts { u8 res0b4[0xc0 - 0xb4]; __be32 iovselsr; /* 0x.00c0 - I/O voltage select status register Called 'elbcvselcr' on 86xx SOCs */ - u8 res0c4[0x224 - 0xc4]; + u8 res0c4[0x100 - 0xc4]; + __be32 rcwsr[16]; /* 0x.0100 - Reset Control Word Status registers + There are 16 registers */ + u8 res140[0x224 - 0x140]; __be32 iodelay1; /* 0x.0224 - IO delay control register 1 */ __be32 iodelay2; /* 0x.0228 - IO delay control register 2 */ u8 res22c[0x604 - 0x22c];