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: 1415131 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 8F2E0DFFCF for ; Thu, 6 Sep 2012 14:19:34 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T9ct2-0003rF-M7; Thu, 06 Sep 2012 14:16:53 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T9csy-0003qS-OB for linux-arm-kernel@lists.infradead.org; Thu, 06 Sep 2012 14:16:49 +0000 Received: by pbbrq8 with SMTP id rq8so2621371pbb.36 for ; Thu, 06 Sep 2012 07:16:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=PKdE2Imrsew+tozWfP2sna4fgQCSI+lwyipZV/+kTTM=; b=pqd1WO08Sr4Z+9aJSxYjUtAhpbwFO5ivRfcYroU8U2QR5X2c6wTS9K6jyCiPGImJju taH4qoNV5u4qdRNVbc2nDxD5/gwz+81LhqzoDskenk93s5UTAkqsiqQ7J85Wgab7zc7A ixGrh5srKJsvDUf3RVvVBZ0VuOCp/nNS5lji4/ZaCidco+9RaycQWOqGuxqU1zXMmGPi u+VAza+LUIG0c15Emnu+e2aRkK5WY+DfjJOHtplsEswFUxeaSZZEaC0e5lBz4Ckk1FM0 VVzm5FrWFrKlwKTakPHeXwZY//pOerK1b9brB9q4s0AqCg3AOS0DE0icbaEn15D/JdzK Z1yw== 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 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: ALoCoQlFSUXEqrhEwpxK0V34hmKciSyaEvZqGe6UTpXUEt03vJiPutoaN2Hsp+PMGDD/z7L6GBPs X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, linux-arm-kernel@lists.infradead.org, patches@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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,