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: 28853 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E89742057C for ; Wed, 23 Apr 2014 09:27:04 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 200sf1703404ykr.2 for ; Wed, 23 Apr 2014 02:27:04 -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=X8EiohOT1rQshLd+3KRIsk5CMW1sAL5KyrObXXPQKa8=; b=J0YBMPMt+BeYvcZ7OJuaeM9GX7oqAPt14cB3bZwSxHYY60uPtVXZ6P6K515Sr4SlYr wXzWaijLCDPbfm9LjGeO0SnikVWytDA304+9G9+kWaoC9aluTSfeqNpajAS2NlKkXYik lmSrkqnSJc6xEFWH92GNaqdXTDwEhjj986tiRU6jdDtU/0gJKWWwO+C+QYa085I4nhW6 eDF4e3+uglXdJ9iPu0lq0lUFijb0DrxcFktYYcdSoVXb6zFQBNOuXrxX2jTdNeTpYkYo 4A2Ubfi/SojlgRkxo9oDvkg5Dm6e7zbVaQ4UglS7ziDZz5B7yJTHH+Gv9K4Xg0JqsX4M 3dOQ== X-Gm-Message-State: ALoCoQk0b6ZdAv+2PZaxQ0mUE11n3/CoP5vJPZppd/ReugnMC/WG7BTMwPL1eq9TDjm2cALwirgO X-Received: by 10.236.141.11 with SMTP id f11mr24772972yhj.54.1398245224719; Wed, 23 Apr 2014 02:27:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.90.51 with SMTP id w48ls296134qgd.6.gmail; Wed, 23 Apr 2014 02:27:04 -0700 (PDT) X-Received: by 10.52.241.106 with SMTP id wh10mr6134856vdc.16.1398245224629; Wed, 23 Apr 2014 02:27:04 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id ck5si69517vdd.19.2014.04.23.02.27.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 02:27:04 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id il7so797950vcb.18 for ; Wed, 23 Apr 2014 02:27:04 -0700 (PDT) X-Received: by 10.220.59.65 with SMTP id k1mr13402428vch.22.1398245224547; Wed, 23 Apr 2014 02:27:04 -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 ib8csp89236vcb; Wed, 23 Apr 2014 02:27:04 -0700 (PDT) X-Received: by 10.68.218.3 with SMTP id pc3mr18149950pbc.71.1398245223515; Wed, 23 Apr 2014 02:27:03 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cg4si247596pbb.498.2014.04.23.02.27.02; Wed, 23 Apr 2014 02:27:02 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755726AbaDWJ0X (ORCPT + 27 others); Wed, 23 Apr 2014 05:26:23 -0400 Received: from mail-pb0-f42.google.com ([209.85.160.42]:58381 "EHLO mail-pb0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755011AbaDWJ0T (ORCPT ); Wed, 23 Apr 2014 05:26:19 -0400 Received: by mail-pb0-f42.google.com with SMTP id un15so607239pbc.1 for ; Wed, 23 Apr 2014 02:26:18 -0700 (PDT) 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-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: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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