From patchwork Fri Dec 6 09:48:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Kumar K X-Patchwork-Id: 3294231 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AE56CC0D4A for ; Fri, 6 Dec 2013 09:49:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9822F204FB for ; Fri, 6 Dec 2013 09:49:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0905F20461 for ; Fri, 6 Dec 2013 09:49:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757179Ab3LFJtN (ORCPT ); Fri, 6 Dec 2013 04:49:13 -0500 Received: from mail-pd0-f178.google.com ([209.85.192.178]:64758 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756757Ab3LFJtM (ORCPT ); Fri, 6 Dec 2013 04:49:12 -0500 Received: by mail-pd0-f178.google.com with SMTP id y10so744861pdj.9 for ; Fri, 06 Dec 2013 01:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=PHM3dTEXJxFiWxVUP9E2wqS5yl9untRU0EgtL57cnrM=; b=kjj9W6Sjg7kl21b8InBKN7prifPBV3R4rL4vNZlRm56apvwx7WObyVZmzbJ/zi0JAN /yd/5P9/b7EWR7atDE7+3DLy3YeF+OOHp9zfxuTNM7dKeoJueD3BkpY4zrMNJXAelWUB b7JG5d/kVYowaXOGX8h1mKOiNTKo8uHMCErbrHj6C3xTMPmZYRs80hn2TEqtAzX5zvrB l6oc+/y88egqRNA92Uf0lUlANC2py8g77QPWJYadCKK9A+3BrrjA5qg93tuRnSolV9op RRyr7LGzv2QOGpBuPUfZreS3pIoES+FjJAn7QpinUvR7l4Iq4lLkfAUcWBWB/N9qMOlC SjhA== X-Received: by 10.68.143.231 with SMTP id sh7mr3098844pbb.7.1386323351722; Fri, 06 Dec 2013 01:49:11 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id yg3sm175098479pab.16.2013.12.06.01.49.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 06 Dec 2013 01:49:11 -0800 (PST) From: Arun Kumar K To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, cpufreq@vger.kernel.org Cc: mturquette@linaro.org, kgene.kim@samsung.com, rjw@rjwysocki.net, viresh.kumar@linaro.org, tomasz.figa@gmail.com, arjun.kv@samsung.com, abrestic@chromium.org, arunkk.samsung@gmail.com Subject: [PATCH 2/3] clk: exynos5420: Add alias names for cpu clocks Date: Fri, 6 Dec 2013 15:18:03 +0530 Message-Id: <1386323284-15646-3-git-send-email-arun.kk@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1386323284-15646-1-git-send-email-arun.kk@samsung.com> References: <1386323284-15646-1-git-send-email-arun.kk@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adds alias names for cpu clocks to be used in the cpufreq driver. Signed-off-by: Arun Kumar K Acked-by: Mike Turquette --- drivers/clk/samsung/clk-exynos5420.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 48c4a93..c65c040 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -316,9 +316,10 @@ static struct samsung_fixed_factor_clock exynos5420_fixed_factor_clks[] __initda static struct samsung_mux_clock exynos5420_mux_clks[] __initdata = { MUX(none, "mout_mspll_kfc", mspll_cpu_p, SRC_TOP7, 8, 2), - MUX(none, "mout_mspll_cpu", mspll_cpu_p, SRC_TOP7, 12, 2), - MUX(none, "mout_apll", apll_p, SRC_CPU, 0, 1), - MUX(none, "mout_cpu", cpu_p, SRC_CPU, 16, 1), + MUX_A(none, "mout_mspll_cpu", mspll_cpu_p, SRC_TOP7, 12, 2, + "mout_mspll_cpu"), + MUX_A(none, "mout_apll", apll_p, SRC_CPU, 0, 1, "mout_apll"), + MUX_A(none, "mout_cpu", cpu_p, SRC_CPU, 16, 1, "mout_cpu"), MUX(none, "mout_kpll", kpll_p, SRC_KFC, 0, 1), MUX(none, "mout_cpu_kfc", kfc_p, SRC_KFC, 16, 1), @@ -373,7 +374,7 @@ static struct samsung_mux_clock exynos5420_mux_clks[] __initdata = { MUX(none, "sclk_mpll", mpll_p, SRC_TOP6, 0, 1), MUX(none, "sclk_vpll", vpll_p, SRC_TOP6, 4, 1), - MUX(none, "sclk_spll", spll_p, SRC_TOP6, 8, 1), + MUX_A(none, "sclk_spll", spll_p, SRC_TOP6, 8, 1, "mout_spll"), MUX(none, "sclk_ipll", ipll_p, SRC_TOP6, 12, 1), MUX(none, "sclk_rpll", rpll_p, SRC_TOP6, 16, 1), MUX(none, "sclk_epll", epll_p, SRC_TOP6, 20, 1),