From patchwork Fri May 17 05:55:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 2581191 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 7A3CC40AEC for ; Fri, 17 May 2013 06:09:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753339Ab3EQGJz (ORCPT ); Fri, 17 May 2013 02:09:55 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:43716 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754564Ab3EQGJ3 (ORCPT ); Fri, 17 May 2013 02:09:29 -0400 Received: by mail-pd0-f177.google.com with SMTP id g10so3000762pdj.22 for ; Thu, 16 May 2013 23:09:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=1d/RUFOKlqIG2Ojm5JrFTMkV+KolQG2iQAEw95tjgqw=; b=HhUjyBXuv9Zf1d8zK53KQdFPAbN0NWtYZ3yaf4jrJyfO6BLDw4R28oH97liW3Oa6Ri VlBAwBDjYso2JIpMMBLco4RD5XbqUMojm7AAYIG4B3b8rNcrqQAxykfkpa1SiS+Cp0Pl 8QwCrL+hUCnslICrkq1NDynaACFsO5b4GXlSba/AuVDym+HkI9yGJnPZ39MMKKH1WZqM qQ28eFRVAhuYYwPHfkasUNuihMFF7feSxsb9HvRntcSollReelpCiZlyWn0Sx/WL2pDy bTZg9Ienx26Z5U2upH0hJCVcHosHWtg3Bwr8kWLBY1SvmS49hI0sj3hvBbSIZQxaBJen XZNg== X-Received: by 10.66.165.97 with SMTP id yx1mr17106796pab.82.1368770968586; Thu, 16 May 2013 23:09:28 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id t1sm10802497pab.12.2013.05.16.23.09.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 23:09:27 -0700 (PDT) From: Tushar Behera To: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, mturquette@linaro.org, thomas.abraham@linaro.org, patches@linaro.org Subject: [PATCH 2/2] clk: exynos5250: Add sclk_mpll to the parent list of mout_cpu clock Date: Fri, 17 May 2013 11:25:53 +0530 Message-Id: <1368770153-29041-3-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1368770153-29041-1-git-send-email-tushar.behera@linaro.org> References: <1368770153-29041-1-git-send-email-tushar.behera@linaro.org> X-Gm-Message-State: ALoCoQnrwm1VLOJYPgYhkFUL8ZCRvjIcc+jJilxxz8lc5NRYZu8Q1FBeSJ97hE+nV5Kdplm5iGmp Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 'mout_mpll' is added the list of parent clocks for 'mout_cpu'. 'mout_mpll' is an alias to the clock 'sclk_mpll'. Hence 'sclk_mpll' should be added to the list of parent clocks. This results in an error when cpufreq driver for EXYNOS5250 tries to set 'mout_mpll' as a parent for 'mout_cpu'. clk_set_parent: clk sclk_mpll can not be parent of clk mout_cpu Signed-off-by: Tushar Behera --- drivers/clk/samsung/clk-exynos5250.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5250.c b/drivers/clk/samsung/clk-exynos5250.c index 05d099d..b6d79c0 100644 --- a/drivers/clk/samsung/clk-exynos5250.c +++ b/drivers/clk/samsung/clk-exynos5250.c @@ -155,7 +155,7 @@ static __initdata unsigned long exynos5250_clk_regs[] = { /* list of all parent clock list */ PNAME(mout_apll_p) = { "fin_pll", "fout_apll", }; -PNAME(mout_cpu_p) = { "mout_apll", "mout_mpll", }; +PNAME(mout_cpu_p) = { "mout_apll", "sclk_mpll", }; PNAME(mout_mpll_fout_p) = { "fout_mplldiv2", "fout_mpll" }; PNAME(mout_mpll_p) = { "fin_pll", "mout_mpll_fout" }; PNAME(mout_bpll_fout_p) = { "fout_bplldiv2", "fout_bpll" };