From patchwork Tue Jul 16 03:27:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Kukjin X-Patchwork-Id: 2827873 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 750EBC0AB2 for ; Tue, 16 Jul 2013 03:28:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7880C2019C for ; Tue, 16 Jul 2013 03:28:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D7DFF2018D for ; Tue, 16 Jul 2013 03:27:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758655Ab3GPD1z (ORCPT ); Mon, 15 Jul 2013 23:27:55 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:49011 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757532Ab3GPD1y (ORCPT ); Mon, 15 Jul 2013 23:27:54 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MQ000J5EEYFG0K0@mailout2.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 16 Jul 2013 12:27:52 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id E1.8B.29708.7BDB4E15; Tue, 16 Jul 2013 12:27:52 +0900 (KST) X-AuditID: cbfee690-b7f6f6d00000740c-26-51e4bdb7f8d6 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id A6.0E.03947.7BDB4E15; Tue, 16 Jul 2013 12:27:51 +0900 (KST) Received: from DOKGENEKIM03 ([12.23.120.199]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MQ000EICEYFPLK0@mmp1.samsung.com>; Tue, 16 Jul 2013 12:27:51 +0900 (KST) From: Kukjin Kim To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: 'Kukjin Kim' Subject: [PATCH] ARM: EXYNOS: skip pm support on exynos5440 Date: Tue, 16 Jul 2013 12:27:51 +0900 Message-id: <027501ce81d4$73a0a200$5ae1e600$%kim@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac6B1HOMadHDEAHIT/uu4IoLNd7E0A== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrBIsWRmVeSWpSXmKPExsVy+t8zI90de58EGpxay2jR//g1s8Wmx9dY LWac38fkwOyxaVUnm8fmJfUenzfJBTBHcdmkpOZklqUW6dslcGUsf7qZuWALe8XG6S+YGhib 2boYOTkkBEwktr7/zw5hi0lcuLceKM7FISSwjFFi46FuZpiiez+msoLYQgKLGCWm3OaDKPrL KLF8/hNGkASbgIbE4ffPgCZxcIgIeEssv6YIYjILKEtceScHUiEsYC1xaM18sGoWAVWJd/N3 soDYvAK2EuePdjFC2IISPybfA4szC2hJrN95nAnClpfYvOYtM8hICQF1iUd/dUHCIgJ6EtvP XGSEKBGR2PfiHSPIZRICy9glvr7dzAyxS0Di2+RDLBC9shKbDkB9JSlxcMUNlgmMYrOQbJ6F ZPMsJJtnIVmxgJFlFaNoakFyQXFSepGJXnFibnFpXrpecn7uJkZILE3YwXjvgPUhxmSg9ROZ pUST84GxmFcSb2hsZmRhamJqbGRuaUaasJI4r3qLdaCQQHpiSWp2ampBal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vuTznfP/auX7TqUorJZbijERDLeai4kQA baqwnxgDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 EXYNOS5440 doesn't support PM and current single image for EXYNOS will be break without this patch. Actually, SSDK5440 cannot boot without this so this should be merged during -rc. Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/pm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index 41c2069..c679db5 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -217,6 +217,9 @@ static __init int exynos_pm_drvinit(void) struct clk *pll_base; unsigned int tmp; + if (soc_is_exynos5440()) + return 0; + s3c_pm_init(); /* All wakeup disable */ @@ -340,6 +343,9 @@ static struct syscore_ops exynos_pm_syscore_ops = { static __init int exynos_pm_syscore_init(void) { + if (soc_is_exynos5440()) + return 0; + register_syscore_ops(&exynos_pm_syscore_ops); return 0; }