From patchwork Wed Apr 23 09:25:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 4039751 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 E998CBFF02 for ; Wed, 23 Apr 2014 09:28:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1A244201DE for ; Wed, 23 Apr 2014 09:28:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 440E22018E for ; Wed, 23 Apr 2014 09:28:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751708AbaDWJ0W (ORCPT ); Wed, 23 Apr 2014 05:26:22 -0400 Received: from mail-pb0-f53.google.com ([209.85.160.53]:42951 "EHLO mail-pb0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755454AbaDWJ0T (ORCPT ); Wed, 23 Apr 2014 05:26:19 -0400 Received: by mail-pb0-f53.google.com with SMTP id rp16so590844pbb.26 for ; Wed, 23 Apr 2014 02:26:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hczMjS+jZ2VCGZYqWi2gFjo2GQenP3i7bJts4UYPwA0=; b=CWAMVbmcxka+9urxQVt6whOgWbuYJoV7RqN32QW6NPRIsWtHdtRJjj8q9pRz1/mA6U Dr/QR6Jrk0ntFKQ6qwnA/z4yrgXtMiVMbVWqGP1pxZlPATbmVn2/Yc1FyhzG0OC4F/cA SEFpU/5aJHsfPWkeIY0XEcAAbSoHzzJXqOe8GctjmOYEv8nJsHRQGpxc7YYmXte+myb0 DZW9XnpL7TiCj9iJPuXjfAeGN+Q3tR1FBaoyZOKVC1VkjUvgQmLYqbNrjno4RtYi5Urm +4c5NgZAcm60HNB5TE0cipQjTgfriu5PYdpbjaLKCstdtLYAWpwD7ETKKMZW7uGJdWyG HoIg== X-Gm-Message-State: ALoCoQkDV4inRNl0/REfckXFupIJsAWh41alZxk+imwSMUIGsV1eWd3OKwrMds+ChyhaFZYu80+q X-Received: by 10.68.112.225 with SMTP id it1mr17880866pbb.142.1398245178827; Wed, 23 Apr 2014 02:26:18 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id vg1sm1119481pbc.44.2014.04.23.02.26.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 02:26:18 -0700 (PDT) From: Chander Kashyap To: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: lorenzo.pieralisi@arm.com, daniel.lezcano@linaro.org, rjw@rjwysocki.net, kgene.kim@samsung.com, Chander Kashyap , Chander Kashyap Subject: [Patch v2 2/4] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420 Date: Wed, 23 Apr 2014 14:55:52 +0530 Message-Id: <1398245154-18771-3-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398245154-18771-1-git-send-email-chander.kashyap@linaro.org> References: <1398080958-21677-5-git-send-email-chander.kashyap@linaro.org> <1398245154-18771-1-git-send-email-chander.kashyap@linaro.org> 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.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Add "samsung,exynos5420" compatible string to initialize generic big-little cpuidle driver for Exynos5420. Signed-off-by: Chander Kashyap Signed-off-by: Chander Kashyap Acked-by: Daniel Lezcano --- drivers/cpuidle/cpuidle-big_little.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/cpuidle/cpuidle-big_little.c b/drivers/cpuidle/cpuidle-big_little.c index b45fc62..d0fac53 100644 --- a/drivers/cpuidle/cpuidle-big_little.c +++ b/drivers/cpuidle/cpuidle-big_little.c @@ -170,7 +170,8 @@ static int __init bl_idle_init(void) /* * Initialize the driver just for a compliant set of machines */ - if (!of_machine_is_compatible("arm,vexpress,v2p-ca15_a7")) + if (!of_machine_is_compatible("arm,vexpress,v2p-ca15_a7") && + (!of_machine_is_compatible("samsung,exynos5420"))) return -ENODEV; /* * For now the differentiation between little and big cores