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: 3294261 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 072089F387 for ; Fri, 6 Dec 2013 09:50:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9DBD201F2 for ; Fri, 6 Dec 2013 09:50:56 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A8215201ED for ; Fri, 6 Dec 2013 09:50:55 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vos2n-00015e-0v; Fri, 06 Dec 2013 09:49:57 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vos2b-0000Ya-RA; Fri, 06 Dec 2013 09:49:45 +0000 Received: from mail-pd0-x22b.google.com ([2607:f8b0:400e:c02::22b]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vos2P-0000Vw-9d for linux-arm-kernel@lists.infradead.org; Fri, 06 Dec 2013 09:49:34 +0000 Received: by mail-pd0-f171.google.com with SMTP id z10so737347pdj.30 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131206_044933_454574_364C487C X-CRM114-Status: GOOD ( 10.35 ) X-Spam-Score: -1.9 (-) Cc: kgene.kim@samsung.com, mturquette@linaro.org, abrestic@chromium.org, viresh.kumar@linaro.org, arunkk.samsung@gmail.com, rjw@rjwysocki.net, tomasz.figa@gmail.com, arjun.kv@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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),