From patchwork Thu Jun 6 08:28:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 2678261 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 25220DFE82 for ; Thu, 6 Jun 2013 08:42:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757862Ab3FFImj (ORCPT ); Thu, 6 Jun 2013 04:42:39 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:34930 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757490Ab3FFImg (ORCPT ); Thu, 6 Jun 2013 04:42:36 -0400 Received: by mail-pd0-f179.google.com with SMTP id q11so3052261pdj.10 for ; Thu, 06 Jun 2013 01:42:35 -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=LNUKgG1dmQRLDjqnBUa9OZojYuZOuj7Ivsw6fpzEKI0=; b=Xm2EmRhtVaXOV4I7M3R/hYyrFGT6WFq/cwVRtJRDiGV3RQH1X8WbkwztpdRi58Bjch zt/fKg4tA/vqiKUfy/7lRsYBtjImHIxFI78d77YaaM36l1mlghluETil9agnM4IZI8Ls RaOkdVGXb1XmoF++J4vW/ubwaRP3Q3GNFrQAxjm2h09h2Uh8iJiji6UvrpUTZqOi3zsL YMcNgeBKgnGPxHQ1qyFfbSen1LOwsVmp+HRiB5jxm4RRs077XcvLl9+TNqprvh37j+Wq xjWQEDpBxLtCyLQioUQkZ9K/Fmr2nCIvNrc4wGxW+3V/1AvATyw0yzBP1yWUYA1Wh0C3 b9tQ== X-Received: by 10.66.120.164 with SMTP id ld4mr38009851pab.187.1370508155448; Thu, 06 Jun 2013 01:42:35 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id q8sm67971543pan.12.2013.06.06.01.42.32 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 01:42:34 -0700 (PDT) From: Tushar Behera To: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: mturquette@linaro.org, kgene.kim@samsung.com, patches@linaro.org Subject: [PATCH] clk: exynos5250: Add CLK_IGNORE_UNUSED flag for pmu clock Date: Thu, 6 Jun 2013 13:58:18 +0530 Message-Id: <1370507298-9230-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQn9SMiiI1iG2ModELMusPi/lgn4sNMje/xu2WOyHgS6F1QkPvk5rDb6dgnK1OgGduyfaa+v Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Currently 'pmu' clock is not handled by any of the drivers. Also before the introduction of CCF, this clock was not defined, hence was left enabled always. When this clock is disabled, software reset register becomes inaccessible and system reboot doesn't work. Upon restoring the default behaviour, system reboot starts working. 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 5c97e75..3853da9 100644 --- a/drivers/clk/samsung/clk-exynos5250.c +++ b/drivers/clk/samsung/clk-exynos5250.c @@ -378,7 +378,7 @@ struct samsung_gate_clock exynos5250_gate_clks[] __initdata = { GATE(hsi2c3, "hsi2c3", "aclk66", GATE_IP_PERIC, 31, 0, 0), GATE(chipid, "chipid", "aclk66", GATE_IP_PERIS, 0, 0, 0), GATE(sysreg, "sysreg", "aclk66", GATE_IP_PERIS, 1, 0, 0), - GATE(pmu, "pmu", "aclk66", GATE_IP_PERIS, 2, 0, 0), + GATE(pmu, "pmu", "aclk66", GATE_IP_PERIS, 2, CLK_IGNORE_UNUSED, 0), GATE(tzpc0, "tzpc0", "aclk66", GATE_IP_PERIS, 6, 0, 0), GATE(tzpc1, "tzpc1", "aclk66", GATE_IP_PERIS, 7, 0, 0), GATE(tzpc2, "tzpc2", "aclk66", GATE_IP_PERIS, 8, 0, 0),