From patchwork Tue Feb 11 17:50:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 3628761 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 90DFD9F2D6 for ; Tue, 11 Feb 2014 17:57:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C8AF420115 for ; Tue, 11 Feb 2014 17:57:12 +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 D1858200F2 for ; Tue, 11 Feb 2014 17:57:11 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WDHZY-0006mj-SX; Tue, 11 Feb 2014 17:56:41 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WDHUZ-0004fj-IS; Tue, 11 Feb 2014 17:51:31 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WDHUV-0004cB-6S for linux-arm-kernel@lists.infradead.org; Tue, 11 Feb 2014 17:51:28 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N0U0038HEWZTVB0@mailout1.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 11 Feb 2014 17:50:59 +0000 (GMT) X-AuditID: cbfec7f4-b7f796d000005a13-d7-52fa6302b5ed Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id C2.AA.23059.2036AF25; Tue, 11 Feb 2014 17:50:58 +0000 (GMT) Received: from AMDC1227.digital.local ([106.116.147.199]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N0U00HM6EWUAY40@eusync3.samsung.com>; Tue, 11 Feb 2014 17:50:58 +0000 (GMT) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Subject: [PATCH] ARM: dts: exynos5250-arndale: Keep G3D regulator always on Date: Tue, 11 Feb 2014 18:50:43 +0100 Message-id: <1392141043-27170-1-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.8.5.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrAJMWRmVeSWpSXmKPExsVy+t/xq7pMyb+CDKZv47L4O+kYu0Xvgqts FpseX2O1mHF+H5PF2iN32S1OXf/MZrFg4yNGi/UzXrNYtP/dy2bx5NE2Zgcuj9+/JjF63Lm2 h81j85J6jysnmlg9+rasYvT4vEkugC2KyyYlNSezLLVI3y6BK6Nt22bGggtcFRcubGJqYLzO 0cXIySEhYCLRtH06O4QtJnHh3nq2LkYuDiGBpYwSXTsWQTl9TBJztr9iBqliE1CT+NzwiA3E FhFQlfjctoAdpIhZ4DyTxNwHa8BGCQt4S5yesATI5uBgASrqvVoCEuYVcJJ4sWo/G0hYQkBB YvV1oQmM3AsYGVYxiqaWJhcUJ6XnGuoVJ+YWl+al6yXn525ihITSlx2Mi49ZHWIU4GBU4uFl 8PwVJMSaWFZcmXuIUYKDWUmEV00NKMSbklhZlVqUH19UmpNafIiRiYNTqoFxTr33tejTGfHL 1s5dMo/ZnjHcvuP7utVmUgFLstsZtS3qz3y1OHB5jUwO0/Pbn8OjdLkanu+6nL+y6/7aaqMT i7yf1FftLt4VwOO3ftmuOT9Cbmyd2P4+bduKdLkpPQf2fJy27Yn5Cp/XwY9NT906WMZtGhse vONfRPreJzLn65mcHySv5yvZpMRSnJFoqMVcVJwIAGR7ix0DAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140211_125127_336571_CD39A286 X-CRM114-Status: GOOD ( 11.33 ) X-Spam-Score: -7.5 (-------) Cc: Kukjin Kim , Arnd Bergmann , Tomasz Figa , stable@vger.kernel.org, Vikas Sajjan , Olof Johansson , Marek Szyprowski , linux-arm-kernel@lists.infradead.org, Tushar Behera 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.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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 Apparently, if G3D regulator is powered off, the SoC cannot enter low power modes and just hangs. This patch fixes this by keeping the regulator always on when the system is running, as suggested by Exynos 4 User's Manual in case of Exynos4210/4x12 SoCs (Exynos5250 UM does not have such note, but observed behavior seems to confirm that it is true for this SoC as well). This fixes an issue preventing Arndale board from entering sleep mode observed since commit 346f372f7b72a0 clk: exynos5250: Add CLK_IGNORE_UNUSED flag for pmu clock that landed in kernel 3.11, which has fixed the clock driver to make the SoC actually try to enter the sleep mode. Signed-off-by: Tomasz Figa Acked-by: Kyungmin Park Cc: stable@vger.kernel.org Tested-by: Tushar Behera --- arch/arm/boot/dts/exynos5250-arndale.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index e14dd62..5e9ddb8 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -287,6 +287,7 @@ regulator-name = "vdd_g3d"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; + regulator-always-on; regulator-boot-on; op_mode = <1>; };