From patchwork Mon May 27 12:41:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Begnic X-Patchwork-Id: 2619831 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 4C527DF215 for ; Mon, 27 May 2013 12:45:47 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UgwmB-00081y-PW; Mon, 27 May 2013 12:43:50 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UgwlW-0007c9-Ve; Mon, 27 May 2013 12:43:07 +0000 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ugwl5-0007Xl-Ew for linux-arm-kernel@lists.infradead.org; Mon, 27 May 2013 12:42:40 +0000 Received: by mail-we0-f182.google.com with SMTP id q57so4161608wes.13 for ; Mon, 27 May 2013 05:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=gcmIaeJ/r96khXkk7s8CfIGCHhJ5R3kNz5juJQpQjCc=; b=yRqTK7zVrvAa2Udbt5bCK7BVNbdGFPE9SB1Z8CimcQScOnc1S1dbEdMUS9TgheN14o 2x7aOX9/yLGqW27xV7M4FJGRqR2O2+X6UVCD1KwPJwNP0V0cL42dm4EcQUv+0iz/C6uM K3jqEJvOrKO35jwnAue2x3xpbQ3tQax+N3IFk1u29zA8i1UgKTFG39IK1z5CkKQ1UeSW lBG58FK6OgvaR8dm3GRApteUjjeUgP3cJTB6EHQkGjiX1jVfj7HfXt9Lax7ZoI+aW1fy wGjNjZD/eMn6eoDoTfts8+6OA6LXf/+SaI91htFXRNU0i4TTha858l9oSebgFZvEQCtv c7Wg== X-Received: by 10.194.11.72 with SMTP id o8mr8668089wjb.0.1369658536964; Mon, 27 May 2013 05:42:16 -0700 (PDT) Received: from localhost.localdomain (LPuteaux-156-14-44-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPSA id e5sm17186212wiy.5.2013.05.27.05.42.15 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 May 2013 05:42:16 -0700 (PDT) From: Philippe Begnic To: Ulf Hansson , Linus Walleij , Srinidhi Kasagar , Mike Turquette Subject: [PATCH 3/4] mfd: db8500: Update BML clock register for db8580 Date: Mon, 27 May 2013 14:41:31 +0200 Message-Id: <1369658492-31358-4-git-send-email-philippe.begnic.st@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369658492-31358-1-git-send-email-philippe.begnic.st@gmail.com> References: <1369658492-31358-1-git-send-email-philippe.begnic.st@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130527_084239_639287_D7FA03CF X-CRM114-Status: GOOD ( 10.36 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (philippe.begnic.st[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: olivier.clergeaud@st.com, Philippe Begnic , philippe.begnic.st@gmail.com, Fabio Baltieri , linux-kernel@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Philippe Begnic BML clock register address in DB8580 has changed.Defined a new address under different name for DB8580. Signed-off-by: Philippe Begnic --- drivers/mfd/db8500-prcmu.c | 1 + drivers/mfd/dbx500-prcmu-regs.h | 1 + include/linux/mfd/dbx500-prcmu.h | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 66f8097..a292a1d 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -480,6 +480,7 @@ struct clk_mgt clk_mgt[PRCMU_NUM_REG_CLOCKS] = { CLK_MGT_ENTRY(PER6CLK, PLL_DIV, true), CLK_MGT_ENTRY(PER7CLK, PLL_DIV, true), CLK_MGT_ENTRY(LCDCLK, PLL_FIX, true), + CLK_MGT_ENTRY(BML8580CLK, PLL_DIV, true), CLK_MGT_ENTRY(BMLCLK, PLL_DIV, true), CLK_MGT_ENTRY(HSITXCLK, PLL_DIV, true), CLK_MGT_ENTRY(HSIRXCLK, PLL_DIV, true), diff --git a/drivers/mfd/dbx500-prcmu-regs.h b/drivers/mfd/dbx500-prcmu-regs.h index d14836e..ca355dd 100644 --- a/drivers/mfd/dbx500-prcmu-regs.h +++ b/drivers/mfd/dbx500-prcmu-regs.h @@ -32,6 +32,7 @@ #define PRCM_PER7CLK_MGT (0x040) #define PRCM_LCDCLK_MGT (0x044) #define PRCM_BMLCLK_MGT (0x04C) +#define PRCM_BML8580CLK_MGT (0x108) #define PRCM_HSITXCLK_MGT (0x050) #define PRCM_HSIRXCLK_MGT (0x054) #define PRCM_HDMICLK_MGT (0x058) diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h index d0ba355..ca0790f 100644 --- a/include/linux/mfd/dbx500-prcmu.h +++ b/include/linux/mfd/dbx500-prcmu.h @@ -138,6 +138,7 @@ enum prcmu_clock { PRCMU_G1CLK, /* Ux540 only */ PRCMU_SDMMCHCLK, PRCMU_CAMCLK, + PRCMU_BML8580CLK, PRCMU_NUM_REG_CLOCKS, PRCMU_SYSCLK = PRCMU_NUM_REG_CLOCKS, PRCMU_CDCLK,