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: 4039791 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 213649F319 for ; Wed, 23 Apr 2014 09:29:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 61B4B2018E for ; Wed, 23 Apr 2014 09:29:13 +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 2CD26201DE for ; Wed, 23 Apr 2014 09:29:11 +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 1WctS4-0000tY-R2; Wed, 23 Apr 2014 09:26:48 +0000 Received: from mail-pd0-f171.google.com ([209.85.192.171]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WctRv-0000b8-RE for linux-arm-kernel@lists.infradead.org; Wed, 23 Apr 2014 09:26:40 +0000 Received: by mail-pd0-f171.google.com with SMTP id r10so591256pdi.2 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=PraIsOz+TmMbhbDX1b2bSGVKYA+97cg/53ZYwRLvhgKXT30OFMhxSxpW7NtqJTknTj izwm3bqnKfvbkgrvNezAKIKfIaHgLQK2/vM917le8quW1vGnWx1W5CnEwmqbUxHDAb1e YJZKXAM+1GhjSRzJZQnfQtI5JudFqLPF0vOu3pRruFhnVmbzd4wPN1gUNDPWmJCU0zJ8 SsjE3t1IQf6zwddxyJ0gSjaqL3y+Fqj7AM+7Y9ODE0xGWY/cRerAR9T4tn/6iUY8EibQ E0FnXTjYqDkTaw+DC3A/wKjP5IjuZIfTMs+H6Q0YJ1wfaJwV1m9VqULceHuw+6m1euQq gRPQ== X-Gm-Message-State: ALoCoQkUNp+pP5pmqv5NgfxrusOkOjxVXBZAIqZDp7Jj57RDBJFTnjIxgPIV2C2zObIWXiyUPCPr 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140423_022639_894200_FA8451EA X-CRM114-Status: GOOD ( 11.15 ) X-Spam-Score: 0.0 (/) Cc: Chander Kashyap , kgene.kim@samsung.com, daniel.lezcano@linaro.org, rjw@rjwysocki.net, Chander Kashyap , lorenzo.pieralisi@arm.com 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=-2.5 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 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