From patchwork Fri Sep 27 02:24:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 2952041 Return-Path: X-Original-To: patchwork-linux-pm@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 DBA30BFF0B for ; Fri, 27 Sep 2013 02:26:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2483320279 for ; Fri, 27 Sep 2013 02:26:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5115A201B7 for ; Fri, 27 Sep 2013 02:26:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751483Ab3I0CZd (ORCPT ); Thu, 26 Sep 2013 22:25:33 -0400 Received: from mail-oa0-f49.google.com ([209.85.219.49]:42751 "EHLO mail-oa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751473Ab3I0CZb (ORCPT ); Thu, 26 Sep 2013 22:25:31 -0400 Received: by mail-oa0-f49.google.com with SMTP id i4so1655084oah.36 for ; Thu, 26 Sep 2013 19:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hEYNsKoJ4FbRZ1BAJM0rbRlcwKFVBlNYfVmeXAcrMRw=; b=tLLNo37OXnz1CaxR9vuzga4okLqMNT2R4QyI6m7YnQob+xZHnRdpmMEysB2Oe6LJ0K Rdsc6kC4QSVzlJ9V5trPYPyBvYmptTuLDwTRWn00l+c4peTTvbhWRfy/14cfkatTt6wV oQ54FTf3AmYdTZfzdZD39Zhr1zfMpnkuj4TYOQrskys0FdyVbZr25NEhaBznjD6dFoxe dw4aBbVrUEI1fiUBr926VLybhbINUXDBg6t9jVxtF3jXdiOHdnYxrqA+BMwvHZuEu36K BLCWZl/0qywJQd02S5msTNMyKvyLFoOgsgETGsMt7yCDG6XUOCKaArhK7SXkaC58dFUr dwVQ== X-Received: by 10.60.60.5 with SMTP id d5mr3699937oer.0.1380248731129; Thu, 26 Sep 2013 19:25:31 -0700 (PDT) Received: from rob-laptop.grandenetworks.net (65-36-73-129.dyn.grandenetworks.net. [65.36.73.129]) by mx.google.com with ESMTPSA id b5sm7615423obj.8.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 19:25:30 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Rob Herring , "Rafael J. Wysocki" , Daniel Lezcano , linux-pm@vger.kernel.org Subject: [PATCH 3/6] cpuidle: calxeda: add ecx-2000 support Date: Thu, 26 Sep 2013 21:24:51 -0500 Message-Id: <1380248694-13388-4-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1380248694-13388-1-git-send-email-robherring2@gmail.com> References: <1380248694-13388-1-git-send-email-robherring2@gmail.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 From: Rob Herring Add cpuidle support for Calxeda ecx-2000 SoC. Signed-off-by: Rob Herring Cc: "Rafael J. Wysocki" Cc: Daniel Lezcano Cc: linux-pm@vger.kernel.org Acked-by: Daniel Lezcano --- drivers/cpuidle/cpuidle-calxeda.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/cpuidle/cpuidle-calxeda.c b/drivers/cpuidle/cpuidle-calxeda.c index b04767a..c6e9d80 100644 --- a/drivers/cpuidle/cpuidle-calxeda.c +++ b/drivers/cpuidle/cpuidle-calxeda.c @@ -66,7 +66,9 @@ static struct cpuidle_driver calxeda_idle_driver = { static int __init calxeda_cpuidle_init(void) { - if (!of_machine_is_compatible("calxeda,highbank") || !psci_ops.cpu_suspend) + if (!of_machine_is_compatible("calxeda,highbank") || + !of_machine_is_compatible("calxeda,ecx-2000") || + !psci_ops.cpu_suspend) return -ENODEV; return cpuidle_register(&calxeda_idle_driver, NULL);