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: 17582 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 92F0220F47 for ; Thu, 6 Jun 2013 08:42:38 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id p12sf1520471vbe.11 for ; Thu, 06 Jun 2013 01:42:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=LNUKgG1dmQRLDjqnBUa9OZojYuZOuj7Ivsw6fpzEKI0=; b=hK8kwhKV09f1AqNfcKteCqsR5NU7EuzRyMJfE0viaWouPmRoWSHSB8YT4loVNs6jok itVca0Z66zaEOLhDOQgxwsqhkWfT6EPc9ueC9E6ziiT5sJCR41ccaC8qEEHcaeCNj9HD CyoOY7ELFtRmoLeQn2JyybnOvajnP1m13tMz0ijyKOkPxnncAQvAZF7cQbf7AVM8mela OblOTvim63bCmhRfE/oqo9L0COJXP2VXchImGGzUV3kyEvTrW7eZCIUpgpMbUFc72+9r +0mT+wU3IOm9u12VWK7u1HMznMWvcOGSBBV5a2yp6Tb/fWP5o2UOeEGoldahdq0mgVt0 Dhyw== X-Received: by 10.224.53.198 with SMTP id n6mr20841116qag.2.1370508157906; Thu, 06 Jun 2013 01:42:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.98.99 with SMTP id eh3ls1210519qeb.15.gmail; Thu, 06 Jun 2013 01:42:37 -0700 (PDT) X-Received: by 10.220.87.208 with SMTP id x16mr1370637vcl.9.1370508157536; Thu, 06 Jun 2013 01:42:37 -0700 (PDT) Received: from mail-ve0-x229.google.com (mail-ve0-x229.google.com [2607:f8b0:400c:c01::229]) by mx.google.com with ESMTPS id i3si376529vdw.152.2013.06.06.01.42.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 01:42:37 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::229 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::229; Received: by mail-ve0-f169.google.com with SMTP id m1so2009325ves.28 for ; Thu, 06 Jun 2013 01:42:37 -0700 (PDT) X-Received: by 10.58.144.231 with SMTP id sp7mr672183veb.34.1370508157387; Thu, 06 Jun 2013 01:42:37 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp57973vcb; Thu, 6 Jun 2013 01:42:36 -0700 (PDT) X-Received: by 10.68.163.97 with SMTP id yh1mr319585pbb.33.1370508155952; Thu, 06 Jun 2013 01:42:35 -0700 (PDT) Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by mx.google.com with ESMTPS id xx2si48111782pac.190.2013.06.06.01.42.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 01:42:35 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.181 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.192.181; Received: by mail-pd0-f181.google.com with SMTP id 14so419098pdj.12 for ; Thu, 06 Jun 2013 01:42:35 -0700 (PDT) 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: ALoCoQlUnkbptn/Rp+9wtfypBx8SCsSpAFwfFhuLcANJ+2KI05DM0PpRrZLOxk9zYXCJoPW6In1Q X-Original-Sender: tushar.behera@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::229 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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),