From patchwork Mon Apr 21 11:49:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 4023681 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 D5E4CBFF02 for ; Mon, 21 Apr 2014 11:50:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B7D52038D for ; Mon, 21 Apr 2014 11:50:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2154920395 for ; Mon, 21 Apr 2014 11:50:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752053AbaDULuF (ORCPT ); Mon, 21 Apr 2014 07:50:05 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:42974 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751669AbaDULtk (ORCPT ); Mon, 21 Apr 2014 07:49:40 -0400 Received: by mail-pd0-f180.google.com with SMTP id v10so3614670pde.39 for ; Mon, 21 Apr 2014 04:49:40 -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=OvvLqyBtmoKkZLvTjSvByC54WCzC2tIaWSGqNM61U1w=; b=OACmkijjtcDEGOq/bgw6ew7ga0cizftWfWu4XKCitWYRzm0gncB9K8wLq86xo8wXJ9 rJcKCfSnj1fCFZfzAq6VqrLHNz8jbwqI+lBesk/jeeu2RfwS0cAbr/f5xuDBkoyKMvKJ d9j0wvaUPVVETUMVB5C9dIFkZgcksj3TiJ5ETNtX+t3vLoYRWwQzCcYg/No1PVhiH/Lj Cs7/GyjkXo15vw7O5ub8600VcYhnDhDIubhD9B+CJ25Eyq77Ft6FbSlus47bJmwSNAj2 3XRcYJY9xo3DOjq5d8gqRvM//wHEvFVPidnXFnJ8S7033nd+qH+yMZBEOojIq7SUMHxO uWbA== X-Gm-Message-State: ALoCoQlEBCfHkr7fyx6Ph9sdUPcTgC5YcoMehAJW/JkZB+/m7ExGm0zyB/rdfIYNFD7CQIj5LIP+ X-Received: by 10.66.189.226 with SMTP id gl2mr37587359pac.65.1398080979988; Mon, 21 Apr 2014 04:49:39 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id ir10sm77592553pbc.59.2014.04.21.04.49.36 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Apr 2014 04:49:39 -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 2/4] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420 Date: Mon, 21 Apr 2014 17:19:16 +0530 Message-Id: <1398080958-21677-3-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398080958-21677-1-git-send-email-chander.kashyap@linaro.org> References: <1398080958-21677-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