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: 2952111 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C654D9F244 for ; Fri, 27 Sep 2013 02:27:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08C17202EB for ; Fri, 27 Sep 2013 02:27:37 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 21DC9202EA for ; Fri, 27 Sep 2013 02:27:36 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VPNlT-0006WJ-Fp; Fri, 27 Sep 2013 02:26:44 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VPNlD-0002vV-P0; Fri, 27 Sep 2013 02:26:27 +0000 Received: from mail-ob0-x233.google.com ([2607:f8b0:4003:c01::233]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VPNke-0002q1-8R for linux-arm-kernel@lists.infradead.org; Fri, 27 Sep 2013 02:25:55 +0000 Received: by mail-ob0-f179.google.com with SMTP id wn1so2750183obc.24 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130926_222552_428177_81B2D9C2 X-CRM114-Status: GOOD ( 11.61 ) X-Spam-Score: -1.8 (-) Cc: "Rafael J. Wysocki" , Daniel Lezcano , Rob Herring , linux-pm@vger.kernel.org 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=-6.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 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);