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: 2827874 Return-Path: X-Original-To: patchwork-linux-arm@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 60E05C0AB2 for ; Tue, 16 Jul 2013 03:28:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8D0382018B for ; Tue, 16 Jul 2013 03:28:32 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 605BB20182 for ; Tue, 16 Jul 2013 03:28:31 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UyvwC-0007uD-Ly; Tue, 16 Jul 2013 03:28:28 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UyvwA-0007WF-4O; Tue, 16 Jul 2013 03:28:26 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uyvw6-0007Va-Q6 for linux-arm-kernel@lists.infradead.org; Tue, 16 Jul 2013 03:28:24 +0000 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-arm-kernel@lists.infradead.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 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 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+RDLBC9shKbDkB9JSlxcMUNl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ALMrdZ/Tz5XqLOj/t4ooAjQUKeQva qtc+tFJa/s8o2H1bu6LgwZsr3ERkrk57YL1u4yQRnhaBlou3LoYvubvpVJLE80fJ/6/H1Gns /XQl4pWU1HFj74/vNq1/XLNky8HHrO7BBab/feOvuTznfP/auX7TqUorJZbijERDLeai4kQA baqwnxgDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130715_232823_080303_02342F91 X-CRM114-Status: GOOD ( 11.09 ) X-Spam-Score: -7.3 (-------) Cc: 'Kukjin Kim' 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: , 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.6 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 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; }