From patchwork Fri Dec 30 02:56:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhao X-Patchwork-Id: 6002 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 043DF23E0E for ; Fri, 30 Dec 2011 02:57:08 +0000 (UTC) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by fiordland.canonical.com (Postfix) with ESMTP id E8878A1804B for ; Fri, 30 Dec 2011 02:57:07 +0000 (UTC) Received: by mail-ey0-f180.google.com with SMTP id c11so12267378eaa.11 for ; Thu, 29 Dec 2011 18:57:07 -0800 (PST) Received: by 10.204.156.219 with SMTP id y27mr8230592bkw.71.1325213827711; Thu, 29 Dec 2011 18:57:07 -0800 (PST) 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.205.82.144 with SMTP id ac16cs243594bkc; Thu, 29 Dec 2011 18:57:07 -0800 (PST) Received: by 10.180.19.74 with SMTP id c10mr82837925wie.8.1325213826170; Thu, 29 Dec 2011 18:57:06 -0800 (PST) Received: from DB3EHSOBE003.bigfish.com (db3ehsobe003.messaging.microsoft.com. [213.199.154.141]) by mx.google.com with ESMTPS id u2si16630316weq.44.2011.12.29.18.57.05 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Dec 2011 18:57:06 -0800 (PST) Received-SPF: neutral (google.com: 213.199.154.141 is neither permitted nor denied by best guess record for domain of richard.zhao@linaro.org) client-ip=213.199.154.141; Authentication-Results: mx.google.com; spf=neutral (google.com: 213.199.154.141 is neither permitted nor denied by best guess record for domain of richard.zhao@linaro.org) smtp.mail=richard.zhao@linaro.org Received: from mail106-db3-R.bigfish.com (10.3.81.245) by DB3EHSOBE003.bigfish.com (10.3.84.23) with Microsoft SMTP Server id 14.1.225.23; Fri, 30 Dec 2011 02:56:41 +0000 Received: from mail106-db3 (localhost [127.0.0.1]) by mail106-db3-R.bigfish.com (Postfix) with ESMTP id 716113400E4; Fri, 30 Dec 2011 02:56:40 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275dhz2dh87h2a8h668h839h) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-FB-SS: 0,13, X-FB-DOMAIN-IP-MATCH: fail Received: from mail106-db3 (localhost.localdomain [127.0.0.1]) by mail106-db3 (MessageSwitch) id 1325213800352762_25983; Fri, 30 Dec 2011 02:56:40 +0000 (UTC) Received: from DB3EHSMHS018.bigfish.com (unknown [10.3.81.252]) by mail106-db3.bigfish.com (Postfix) with ESMTP id 4F5611C0045; Fri, 30 Dec 2011 02:56:40 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by DB3EHSMHS018.bigfish.com (10.3.87.118) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 30 Dec 2011 02:56:40 +0000 Received: from az33smr01.freescale.net (10.64.34.199) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server id 14.1.355.3; Thu, 29 Dec 2011 20:57:02 -0600 Received: from b20223-02.ap.freescale.net (b20223-02.ap.freescale.net [10.192.242.124]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id pBU2uCwg006169; Thu, 29 Dec 2011 20:56:56 -0600 (CST) From: Richard Zhao To: , , CC: , , , , , , , , , , , , , , , , , Richard Zhao Subject: [PATCH V6 6/7] arm/imx6q: register arm_clk as cpu to clkdev Date: Fri, 30 Dec 2011 10:56:08 +0800 Message-ID: <1325213769-11752-7-git-send-email-richard.zhao@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1325213769-11752-1-git-send-email-richard.zhao@linaro.org> References: <1325213769-11752-1-git-send-email-richard.zhao@linaro.org> MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com cpufreq needs cpu clock to change frequency. Signed-off-by: Richard Zhao --- arch/arm/mach-imx/clock-imx6q.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/clock-imx6q.c b/arch/arm/mach-imx/clock-imx6q.c index 039a7ab..72acbc2 100644 --- a/arch/arm/mach-imx/clock-imx6q.c +++ b/arch/arm/mach-imx/clock-imx6q.c @@ -1911,6 +1911,7 @@ static struct clk_lookup lookups[] = { _REGISTER_CLOCK(NULL, "gpmi_io_clk", gpmi_io_clk), _REGISTER_CLOCK(NULL, "usboh3_clk", usboh3_clk), _REGISTER_CLOCK(NULL, "sata_clk", sata_clk), + _REGISTER_CLOCK(NULL, "cpu", arm_clk), }; int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode)