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: 4023831 Return-Path: X-Original-To: patchwork-linux-arm@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 633A6BFF02 for ; Mon, 21 Apr 2014 11:57:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A9B1220375 for ; Mon, 21 Apr 2014 11:57:18 +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 C312D20395 for ; Mon, 21 Apr 2014 11:57:17 +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 1WcCjl-00070S-MK; Mon, 21 Apr 2014 11:50:13 +0000 Received: from mail-pd0-f170.google.com ([209.85.192.170]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WcCja-0005lP-0W for linux-arm-kernel@lists.infradead.org; Mon, 21 Apr 2014 11:50:02 +0000 Received: by mail-pd0-f170.google.com with SMTP id v10so3630727pde.29 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=d5mtDUoZOf/Y69KX4VNRNXNGsr7otSThRZRM6XJ+1ynpXRFK4wRiDYrWMFmZzbyiCy NHUJG47/anrpX1s3PDPX7JT8/GCyOLAP8f32xSmjzxlE6TTAMSyk5C9HBLiJRmyRl/Dd inYE1BH9VZCTafYDL5XlxnTGm2ey7btHbBg3+c8mGI/+bFPQNTbtEO9ruZ+0jdvl1loB 0jMM1kWpsRs6AyHzPxr2/C/1qcH8WtHyVaBjpuyjIUxYavnQVmDYLR86AFIAWljUTKfd 63FlmWrg5Oxxe08vkt6a77BLDpKphxDjqjl9bUqkK9fT1wbq/3Sb+ovLkmYO5nfJFGji /cTw== X-Gm-Message-State: ALoCoQl84KLz8oY1TBuosgKIGCYyb8HXgyeRCzyojA/BIsvGA9TzjuBEvfYvwF+CjMYhRT85NZ4Y 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140421_045002_113528_ED226A04 X-CRM114-Status: GOOD ( 12.07 ) 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