From patchwork Wed Oct 31 13:40:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 12633 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 3EA0223EFB for ; Wed, 31 Oct 2012 13:41:36 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id E5A7DA19201 for ; Wed, 31 Oct 2012 13:41:35 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so1958298iej.11 for ; Wed, 31 Oct 2012 06:41:35 -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:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:x-gm-message-state; bh=BJhek+miUgQH5xyusIA3TgxN4WUMN3Tg0UPPh9VWmZA=; b=RQzglsOOouecUEFMNUUcpjG1/PjtoMY0ugKS7EKWev7QcqfjZtOKU0+AmMAeZSdRxC lAuAXVTiCLGaeNSoskKatui4hiJt7zubctA1+4+QbHUTbAAWyDQ6Otc2CvsBF9p+wimy yGG9UTDo/8bVb/pYj6nD4mSFN+hJEmDhNvC5WO1qhPg60NadZW2/6jsJhAI6owMZNi3J LTRuOf0VAVPbkOgSA+INPN8zO3lleizTj19jFe1cnxD7lLmf3ErbqAPWwdw9zpLK/4Vn JBS5rhU8Whvz1UcFkps3z778iaOyRQMoT4N+2JnO/Gvw4oitH6rsvAMirlu1XFVyTcfi GK8A== Received: by 10.50.88.233 with SMTP id bj9mr1430521igb.70.1351690895706; Wed, 31 Oct 2012 06:41:35 -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.50.67.148 with SMTP id n20csp623634igt; Wed, 31 Oct 2012 06:41:35 -0700 (PDT) Received: by 10.180.99.99 with SMTP id ep3mr2739114wib.15.1351690894473; Wed, 31 Oct 2012 06:41:34 -0700 (PDT) Received: from eu1sys200aog118.obsmtp.com (eu1sys200aog118.obsmtp.com [207.126.144.145]) by mx.google.com with SMTP id v44si3713751een.115.2012.10.31.06.41.26 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 31 Oct 2012 06:41:34 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.145 is neither permitted nor denied by best guess record for domain of ulf.hansson@stericsson.com) client-ip=207.126.144.145; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.145 is neither permitted nor denied by best guess record for domain of ulf.hansson@stericsson.com) smtp.mail=ulf.hansson@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob118.postini.com ([207.126.147.11]) with SMTP ID DSNKUJEqhmNU1bkxN0kiRrl6CV5IsNjmitc2@postini.com; Wed, 31 Oct 2012 13:41:34 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 968F1113; Wed, 31 Oct 2012 13:33:09 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 5C0EAB52; Wed, 31 Oct 2012 13:41:22 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 99A2924C07C; Wed, 31 Oct 2012 14:41:14 +0100 (CET) Received: from steludxu1397.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.3.83.0; Wed, 31 Oct 2012 14:41:21 +0100 From: Ulf Hansson To: , Mike Turquette , Mike Turquette Cc: Linus Walleij , Lee Jones , Philippe Begnic , Ulf Hansson Subject: [PATCH 2/2] clk: ux500: Register nomadik keypad clock lookups for u8500 Date: Wed, 31 Oct 2012 14:40:53 +0100 Message-ID: <1351690853-13021-3-git-send-email-ulf.hansson@stericsson.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1351690853-13021-1-git-send-email-ulf.hansson@stericsson.com> References: <1351690853-13021-1-git-send-email-ulf.hansson@stericsson.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQn1zqKetyDLUt5NIPRfY2y+2KHazF4J60gwUJYS+jJ5P1TyHWJyT+Z2TszvWOjezqsdyOPB From: Ulf Hansson Signed-off-by: Ulf Hansson --- drivers/clk/ux500/u8500_clk.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/clk/ux500/u8500_clk.c b/drivers/clk/ux500/u8500_clk.c index 6390486..8575096 100644 --- a/drivers/clk/ux500/u8500_clk.c +++ b/drivers/clk/ux500/u8500_clk.c @@ -343,6 +343,8 @@ void u8500_clk_init(void) clk = clk_reg_prcc_pclk("p3_pclk5", "per3clk", U8500_CLKRST3_BASE, BIT(5), 0); + clk_register_clkdev(clk, "apb_pclk", "ske"); + clk_register_clkdev(clk, "apb_pclk", "nmk-ske-keypad"); clk = clk_reg_prcc_pclk("p3_pclk6", "per3clk", U8500_CLKRST3_BASE, BIT(6), 0); @@ -503,6 +505,8 @@ void u8500_clk_init(void) clk = clk_reg_prcc_kclk("p3_ske_kclk", "rtc32k", U8500_CLKRST3_BASE, BIT(5), CLK_SET_RATE_GATE); + clk_register_clkdev(clk, NULL, "ske"); + clk_register_clkdev(clk, NULL, "nmk-ske-keypad"); clk = clk_reg_prcc_kclk("p3_uart2_kclk", "uartclk", U8500_CLKRST3_BASE, BIT(6), CLK_SET_RATE_GATE);