From patchwork Mon May 27 12:41:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Begnic X-Patchwork-Id: 2619821 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 F0AA6DF215 for ; Mon, 27 May 2013 12:44:38 +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 1Ugwlg-0007yd-Oi; Mon, 27 May 2013 12:43:18 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UgwlP-0007bl-88; Mon, 27 May 2013 12:42:59 +0000 Received: from mail-we0-x229.google.com ([2a00:1450:400c:c03::229]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ugwl1-0007Xk-CE for linux-arm-kernel@lists.infradead.org; Mon, 27 May 2013 12:42:36 +0000 Received: by mail-we0-f169.google.com with SMTP id q55so4495472wes.0 for ; Mon, 27 May 2013 05:42:13 -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=JlM5qMG33g4V9gDwDIuC7eyyQvz1kV/bRZHTVhM6I1g=; b=YjnqfzfiBT035JHkRpD4Uc1LWhEnkvZfjM3BF/l0fxSSKCHqI7ozZaQQgW4qJ7z9EA uYHLTtuNTb1lGQseNnzGT2XiVuourjvFBtfwI2WjyZ/U/l01N0SJgkqCkXTqEE8SDYbA 0h1hRElANGZ1T42bvv/ZJFnPqutdDLkA6ITRPXXuD4iBF910wecHbZBIFnUnXeBQHeO8 LW5TXcwCmT5aev0ieL3ZwUMj25aiOg80wGJveQ7d4muKn+siASXiDv45yUMIV7Hi+Wof w+jO+i+Q5+uMCffcGcUo8MOkEw3mAdlRtZof71y4sCTyag6V2iI+FiGNAV3Nro/ZnMzz ip9A== X-Received: by 10.194.175.132 with SMTP id ca4mr8761068wjc.11.1369658533626; Mon, 27 May 2013 05:42:13 -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.11 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 May 2013 05:42:13 -0700 (PDT) From: Philippe Begnic To: Ulf Hansson , Linus Walleij , Srinidhi Kasagar , Mike Turquette Subject: [PATCH 2/4] mfd: db8500: Update register definition for u8540 clock Date: Mon, 27 May 2013 14:41:30 +0200 Message-Id: <1369658492-31358-3-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_084235_570612_4AF45976 X-CRM114-Status: GOOD ( 11.98 ) 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 PRCMU and ab8500 registers updated for u8540 Signed-off-by: Philippe Begnic --- include/linux/mfd/abx500/ab8500-sysctrl.h | 4 ++-- include/linux/mfd/dbx500-prcmu.h | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/include/linux/mfd/abx500/ab8500-sysctrl.h b/include/linux/mfd/abx500/ab8500-sysctrl.h index 990bc93..adba89d 100644 --- a/include/linux/mfd/abx500/ab8500-sysctrl.h +++ b/include/linux/mfd/abx500/ab8500-sysctrl.h @@ -278,8 +278,8 @@ struct ab8500_sysctrl_platform_data { #define AB9540_SYSCLK12CONFCTRL_PLL26TO38ENA BIT(0) #define AB9540_SYSCLK12CONFCTRL_SYSCLK12USBMUXSEL BIT(1) -#define AB9540_SYSCLK12CONFCTRL_INT384MHZMUXSEL_MASK 0x0C -#define AB9540_SYSCLK12CONFCTRL_INT384MHZMUXSEL_SHIFT 2 +#define AB9540_SYSCLK12CONFCTRL_INT384MHZMUXSEL0 BIT(2) +#define AB9540_SYSCLK12CONFCTRL_INT384MHZMUXSEL1 BIT(3) #define AB9540_SYSCLK12CONFCTRL_SYSCLK12BUFMUX BIT(4) #define AB9540_SYSCLK12CONFCTRL_SYSCLK12PLLMUX BIT(5) #define AB9540_SYSCLK12CONFCTRL_SYSCLK2MUXVALID BIT(6) diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h index 689e6a0..d0ba355 100644 --- a/include/linux/mfd/dbx500-prcmu.h +++ b/include/linux/mfd/dbx500-prcmu.h @@ -134,6 +134,10 @@ enum prcmu_clock { PRCMU_SIACLK, PRCMU_SVACLK, PRCMU_ACLK, + PRCMU_HVACLK, /* Ux540 only */ + PRCMU_G1CLK, /* Ux540 only */ + PRCMU_SDMMCHCLK, + PRCMU_CAMCLK, PRCMU_NUM_REG_CLOCKS, PRCMU_SYSCLK = PRCMU_NUM_REG_CLOCKS, PRCMU_CDCLK, @@ -148,6 +152,13 @@ enum prcmu_clock { PRCMU_DSI0ESCCLK, PRCMU_DSI1ESCCLK, PRCMU_DSI2ESCCLK, + /* LCD DSI PLL - Ux540 only */ + PRCMU_PLLDSI_LCD, + PRCMU_DSI0CLK_LCD, + PRCMU_DSI1CLK_LCD, + PRCMU_DSI0ESCCLK_LCD, + PRCMU_DSI1ESCCLK_LCD, + PRCMU_DSI2ESCCLK_LCD, }; /**