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: 28691 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f71.google.com (mail-pb0-f71.google.com [209.85.160.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 45B672032B for ; Mon, 21 Apr 2014 11:50:20 +0000 (UTC) Received: by mail-pb0-f71.google.com with SMTP id up15sf18843839pbc.6 for ; Mon, 21 Apr 2014 04:50:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=nTWpCzVTGLC5Ht1/ATK60OJDApwMxL7NKIrnUm9KA3Q=; b=YLqfVn35gSqAbOJTtM80AqjLd9WquR4V0w650NNgzQ3gaU5tNqSKVvCxz5QB2usDew T5ZfDfvhEeE0mEB4vriNFcsufJ7UNBJBLFykqvs4sAQyhwj/jK6axDjwHEUgTJ0djrD3 2C2tRuivv+xp0ULkc8raomOnxHvBtGT1o6MrCNsxOdd4Qko9rGJUyLuj44bFmBYRg2f6 xno5isPBO8tDYdzwhwuIhPMdxAd1bFhwVOS811VTWYYvip3OFZ9K79sQmx7RvxW9aE5n Odgv1SRI9ry4NmWlT4cbYrLR9ToaacEL8rolxgO8+LcbUQtGIZkt/i3BiEYsB2jd/2qN XAXA== X-Gm-Message-State: ALoCoQmQS9d9iUNomlpjm52tcCoRGTxvcMKn70DYlK+Odukui8lrsbnsaf/kVA3Qw1WRohSmK6fw X-Received: by 10.66.182.162 with SMTP id ef2mr19859804pac.40.1398081019474; Mon, 21 Apr 2014 04:50:19 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.96.201 with SMTP id k67ls208190qge.22.gmail; Mon, 21 Apr 2014 04:50:19 -0700 (PDT) X-Received: by 10.221.28.202 with SMTP id rv10mr30801492vcb.10.1398081019242; Mon, 21 Apr 2014 04:50:19 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id oh5si5956289vcb.32.2014.04.21.04.50.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Apr 2014 04:50:19 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id jx11so7950959veb.3 for ; Mon, 21 Apr 2014 04:50:19 -0700 (PDT) X-Received: by 10.58.207.74 with SMTP id lu10mr33583782vec.15.1398081019166; Mon, 21 Apr 2014 04:50:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp285838vcb; Mon, 21 Apr 2014 04:50:18 -0700 (PDT) X-Received: by 10.66.155.7 with SMTP id vs7mr37356939pab.42.1398081017824; Mon, 21 Apr 2014 04:50:17 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yz5si1423976pbb.78.2014.04.21.04.50.17; Mon, 21 Apr 2014 04:50:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752040AbaDULuD (ORCPT + 26 others); Mon, 21 Apr 2014 07:50:03 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:56385 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751667AbaDULtk (ORCPT ); Mon, 21 Apr 2014 07:49:40 -0400 Received: by mail-pd0-f175.google.com with SMTP id x10so3605554pdj.34 for ; Mon, 21 Apr 2014 04:49:40 -0700 (PDT) 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-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: chander.kashyap@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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