From patchwork Thu Sep 6 14:16:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 11213 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 4036623EFE for ; Thu, 6 Sep 2012 14:16:47 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 92386A18166 for ; Thu, 6 Sep 2012 14:15:50 +0000 (UTC) Received: by iafj25 with SMTP id j25so1905656iaf.11 for ; Thu, 06 Sep 2012 07:16:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=PKdE2Imrsew+tozWfP2sna4fgQCSI+lwyipZV/+kTTM=; b=aZuZ/T/+lDdInKn/i8YfpnLtYSJRsa7ZrKN+ecCzq1BJScUWcyLt6rlGp4m6P8YCas CdKapJjcxgPLyReK43hOKuOukurCAdWAvzfsyRJQVSgEjQJZc3+NEOONP/IWuxQ9nbnx vS+bA6MEmP9/RYroXXr8dbm4ZVeSvHiAfCN7Nl1XPvoJo8kQ1KVyKcM26b0da4SXp34o BTQHq36wCZCNreOMt9hojooL0te55loORdNnJUzUZmuzaSZic5+Q1FYS2/ThBduzYZ2G jTXXJSpVfFl+rOJY4KI47yXFRH2W8jbrEejRLtoS9XnavQjhE7VsMQpAUDtukqlwLiwd 3qCw== Received: by 10.50.191.227 with SMTP id hb3mr12851967igc.43.1346941006359; Thu, 06 Sep 2012 07:16:46 -0700 (PDT) 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.50.184.232 with SMTP id ex8csp321646igc; Thu, 6 Sep 2012 07:16:45 -0700 (PDT) Received: by 10.66.76.135 with SMTP id k7mr3753202paw.2.1346941005320; Thu, 06 Sep 2012 07:16:45 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id px5si3929541pbb.352.2012.09.06.07.16.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Sep 2012 07:16:45 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of chander.kashyap@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of chander.kashyap@linaro.org) smtp.mail=chander.kashyap@linaro.org Received: by pbcmd12 with SMTP id md12so2818381pbc.37 for ; Thu, 06 Sep 2012 07:16:44 -0700 (PDT) Received: by 10.68.129.38 with SMTP id nt6mr4951629pbb.76.1346941004855; Thu, 06 Sep 2012 07:16:44 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ka9sm1404499pbb.59.2012.09.06.07.16.41 (version=SSLv3 cipher=OTHER); Thu, 06 Sep 2012 07:16:43 -0700 (PDT) From: Chander Kashyap To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, linux-arm-kernel@lists.infradead.org, patches@linaro.org Subject: [PATCH 1/2] ARM: Exynos4: Put PCM, Slimbus, Spdif clocks to off state Date: Thu, 6 Sep 2012 19:46:08 +0530 Message-Id: <1346940968-4423-1-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlOBeh32mBoA7XaO2SZKTSKpR4+HHBhuoyXPrng6rYbooXDfUQcXIvlbn+lhbtER5Lfj4FQ The clocks for PCM, Slimbus, Spdif added to off list in order to turn them off at boot time. Signed-off-by: Chander Kashyap Acked-by: Thomas Abraham Acked-by: Sangbeom Kim --- arch/arm/mach-exynos/clock-exynos4.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-exynos/clock-exynos4.c index 7cc5491..6a45c9a 100644 --- a/arch/arm/mach-exynos/clock-exynos4.c +++ b/arch/arm/mach-exynos/clock-exynos4.c @@ -627,6 +627,25 @@ static struct clk exynos4_init_clocks_off[] = { .enable = exynos4_clk_ip_peril_ctrl, .ctrlbit = (1 << 21), }, { + .name = "pcm", + .devname = "samsung-pcm.1", + .enable = exynos4_clk_ip_peril_ctrl, + .ctrlbit = (1 << 22), + }, { + .name = "pcm", + .devname = "samsung-pcm.2", + .enable = exynos4_clk_ip_peril_ctrl, + .ctrlbit = (1 << 23), + }, { + .name = "slimbus", + .enable = exynos4_clk_ip_peril_ctrl, + .ctrlbit = (1 << 25), + }, { + .name = "spdif", + .devname = "samsung-spdif", + .enable = exynos4_clk_ip_peril_ctrl, + .ctrlbit = (1 << 26), + }, { .name = "ac97", .devname = "samsung-ac97", .enable = exynos4_clk_ip_peril_ctrl,