From patchwork Tue Aug 5 13:34:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 4679171 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 94072C0338 for ; Tue, 5 Aug 2014 13:37:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 054A12011D for ; Tue, 5 Aug 2014 13:37:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 5D21820108 for ; Tue, 5 Aug 2014 13:37:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XEeti-0003WH-93; Tue, 05 Aug 2014 13:35:26 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XEetT-0002BL-Op for linux-arm-kernel@lists.infradead.org; Tue, 05 Aug 2014 13:35:13 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N9U00I7G5QD4J20@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 05 Aug 2014 22:35:01 +0900 (KST) X-AuditID: cbfee61b-f79f86d00000144c-58-53e0dd84efd4 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 08.12.05196.48DD0E35; Tue, 05 Aug 2014 22:35:01 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N9U00GY75PGK020@mmp1.samsung.com>; Tue, 05 Aug 2014 22:35:00 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Kukjin Kim Subject: [PATCH v5 5/5] ARM: EXYNOS: cpuidle: allow driver usage on Exynos4x12 SoCs Date: Tue, 05 Aug 2014 15:34:26 +0200 Message-id: <1407245666-20016-6-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1407245666-20016-1-git-send-email-b.zolnierkie@samsung.com> References: <1407245666-20016-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrELMWRmVeSWpSXmKPExsVy+t9jAd3Wuw+CDdaaWGycsZ7VYt5nWYve BVfZLM42vWG3eH/oGbPFpsfXWC0u75rDZvG59wijxYzz+5gszpy+xGpx8k8vo8X6Ga9ZLDZ+ 9XDg9bhzbQ+bx+Yl9R63/z1m9thytZ3Fo2/LKkaPz5vkAtiiuGxSUnMyy1KL9O0SuDI2XbnB VPCUs2LXl0dMDYxbOLoYOTgkBEwkFlyM6GLkBDLFJC7cW8/WxcjFISSwiFHi7dNj7BBOF5PE /W1/WUCq2ASsJCa2r2IEsUUE1CR6Fm9lBCliFtjLLLG0exM7SEJYIFSi/fceRpANLAKqEu3L mEHCvAIeEpu+n2eD2KYo0f1sApjNKeAp0XjtGViNEFDN5iu7mSYw8i5gZFjFKJpakFxQnJSe a6RXnJhbXJqXrpecn7uJERySz6R3MK5qsDjEKMDBqMTDK6B2P1iINbGsuDL3EKMEB7OSCC/7 7QfBQrwpiZVVqUX58UWlOanFhxilOViUxHkPtloHCgmkJ5akZqemFqQWwWSZODilGhi7Jdqa v/5l/7bB9y2nfr+RRmRgfs6kta+eGd1I+tG/3V/qubWaeoXSvE6p+taVUxtZ5C24OYs8PHvq NBubrZ6tM5VLXurh//hIz5KaJcyJJcel3n/YuqVLgCu+UnvqX6vVlRZyO7++y/DKi1jFn3x0 8t5UrhnGK5kPr3FWm56dvMn2yfmnL5RYijMSDbWYi4oTASzIcUZFAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140805_063511_977296_F238391F X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.7 (-----) Cc: linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, Sachin Kamat , Viresh Kumar , Tomasz Figa , Daniel Lezcano , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Kyungmin Park , linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org, b.zolnierkie@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-2.6 required=5.0 tests=BAYES_00,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 Register cpuidle platform device on Exynos4x12 SoCs allowing EXYNOS cpuidle driver usage on these SoCs. AFTR mode reduces power consumption on Trats2 board (Exynos4412 SoC with secure firmware enabled) by ~12% when EXYNOS cpuidle driver is enabled (in both cases the default exynos_defconfig config is used and CPU1-3 are offlined). Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park --- arch/arm/mach-exynos/exynos.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 6a24e11..15cf86d 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -317,7 +317,9 @@ static void __init exynos_dt_machine_init(void) exynos_sysram_init(); if (of_machine_is_compatible("samsung,exynos4210") || - of_machine_is_compatible("samsung,exynos5250")) + of_machine_is_compatible("samsung,exynos4212") || + of_machine_is_compatible("samsung,exynos4412") || + of_machine_is_compatible("samsung,exynos5250")) platform_device_register(&exynos_cpuidle); platform_device_register_simple("exynos-cpufreq", -1, NULL, 0);