From patchwork Tue Nov 8 01:59:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhao X-Patchwork-Id: 4950 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 CF97C23EE8 for ; Tue, 8 Nov 2011 02:01:04 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id BE3E2A1860F for ; Tue, 8 Nov 2011 02:01:04 +0000 (UTC) Received: by faan26 with SMTP id n26so52073faa.11 for ; Mon, 07 Nov 2011 18:01:04 -0800 (PST) Received: by 10.152.122.34 with SMTP id lp2mr1627866lab.20.1320717664493; Mon, 07 Nov 2011 18:01:04 -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.152.14.103 with SMTP id o7cs76136lac; Mon, 7 Nov 2011 18:01:03 -0800 (PST) Received: by 10.216.88.72 with SMTP id z50mr4269733wee.81.1320717661889; Mon, 07 Nov 2011 18:01:01 -0800 (PST) Received: from AM1EHSOBE001.bigfish.com (am1ehsobe001.messaging.microsoft.com. [213.199.154.204]) by mx.google.com with ESMTPS id z51si13309219weq.39.2011.11.07.18.01.01 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Nov 2011 18:01:01 -0800 (PST) Received-SPF: neutral (google.com: 213.199.154.204 is neither permitted nor denied by best guess record for domain of richard.zhao@linaro.org) client-ip=213.199.154.204; Authentication-Results: mx.google.com; spf=neutral (google.com: 213.199.154.204 is neither permitted nor denied by best guess record for domain of richard.zhao@linaro.org) smtp.mail=richard.zhao@linaro.org Received: from mail116-am1-R.bigfish.com (10.3.201.253) by AM1EHSOBE001.bigfish.com (10.3.204.21) with Microsoft SMTP Server id 14.1.225.22; Tue, 8 Nov 2011 02:00:39 +0000 Received: from mail116-am1 (localhost.localdomain [127.0.0.1]) by mail116-am1-R.bigfish.com (Postfix) with ESMTP id 1F6E81280365; Tue, 8 Nov 2011 02:00:52 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275dhz2dh87h2a8h668h839h62h) X-Spam-TCS-SCL: 1:0 X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPVD:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-FB-SS: 0, X-FB-DOMAIN-IP-MATCH: fail Received: from mail116-am1 (localhost.localdomain [127.0.0.1]) by mail116-am1 (MessageSwitch) id 1320717651943667_27089; Tue, 8 Nov 2011 02:00:51 +0000 (UTC) Received: from AM1EHSMHS003.bigfish.com (unknown [10.3.201.244]) by mail116-am1.bigfish.com (Postfix) with ESMTP id E07BF1950056; Tue, 8 Nov 2011 02:00:51 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by AM1EHSMHS003.bigfish.com (10.3.207.103) with Microsoft SMTP Server (TLS) id 14.1.225.22; Tue, 8 Nov 2011 02:00:36 +0000 Received: from az33smr01.freescale.net (10.64.34.199) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server id 14.1.339.2; Mon, 7 Nov 2011 19:59:47 -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 pA81xiMM010467; Mon, 7 Nov 2011 19:59:45 -0600 (CST) From: Richard Zhao To: CC: , , Richard Zhao Subject: [PATCH V2 1/1] ARM: mx51/53: set pwm clock parent to ipg_perclk Date: Tue, 8 Nov 2011 09:59:34 +0800 Message-ID: <1320717574-12633-1-git-send-email-richard.zhao@linaro.org> X-Mailer: git-send-email 1.7.5.4 MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com Signed-off-by: Richard Zhao --- Changes from V1: - remove parent changes of gpt_clk arch/arm/mach-mx5/clock-mx51-mx53.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mx5/clock-mx51-mx53.c b/arch/arm/mach-mx5/clock-mx51-mx53.c index 2aacf41..63cb759 100644 --- a/arch/arm/mach-mx5/clock-mx51-mx53.c +++ b/arch/arm/mach-mx5/clock-mx51-mx53.c @@ -1281,9 +1281,9 @@ DEFINE_CLOCK(gpt_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG9_OFFSET, NULL, NULL, &ipg_clk, &gpt_ipg_clk); DEFINE_CLOCK(pwm1_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG6_OFFSET, - NULL, NULL, &ipg_clk, NULL); + NULL, NULL, &ipg_perclk, NULL); DEFINE_CLOCK(pwm2_clk, 0, MXC_CCM_CCGR2, MXC_CCM_CCGRx_CG8_OFFSET, - NULL, NULL, &ipg_clk, NULL); + NULL, NULL, &ipg_perclk, NULL); /* I2C */ DEFINE_CLOCK(i2c1_clk, 0, MXC_CCM_CCGR1, MXC_CCM_CCGRx_CG9_OFFSET,