From patchwork Thu Dec 14 12:50:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Shields X-Patchwork-Id: 10111975 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ADC9460352 for ; Thu, 14 Dec 2017 12:51:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CC4829C6D for ; Thu, 14 Dec 2017 12:51:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 916C629C70; Thu, 14 Dec 2017 12:51:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D54729C6D for ; Thu, 14 Dec 2017 12:51:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752349AbdLNMv0 (ORCPT ); Thu, 14 Dec 2017 07:51:26 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:38065 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752346AbdLNMvX (ORCPT ); Thu, 14 Dec 2017 07:51:23 -0500 Received: by mail-pg0-f67.google.com with SMTP id f12so3350209pgo.5; Thu, 14 Dec 2017 04:51:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=GTA20fxxKuy0ZgDqSM/3carTFNzZnrie/0rDCKzaMfE=; b=ayS6PrZXI6LlSxkT5I20AB/KfJO0qk3EgYvemazI+6BAEoBs4E+NRsPC2yoqNEE0SX WzZDeWb8jkQWTE5cvvfgS6FtA8znjHOmEBvcynpq52auBZzIsalRUWt09eVLm2h8KsZw bGiQ3wZQWNaS/p6tL233ctKBLt8tWGP19tngxxVcGLTtm6YRu3KnGoRHlClJQ4nlkDNo DmZvU+TpEY53BxKvPXhjgir+mY7JYumxW3xo80fjHhuMdi7+9Uw55nadmZKR+W77E0SD Ju+yAC39jmmLqe8Qp6lsWAOy1mG9vwaY94vbb3gXByEm7kA/xL46oLbPkCv1y99JUC4e N5Tw== X-Gm-Message-State: AKGB3mJl3oKMWTKME+irjmjzfBgYMx2szzeYT0iR/mssD4/meqAeoi2d PD1g466c6lgz62WfB9DGN2i0ZxFMmyA= X-Google-Smtp-Source: ACJfBotkgxolURpkHrXCgn+TgfkNipCZukTO3QI0cuZq62zUDvLTZ4E5pG3RGKk+oEqQ1cANEpCyww== X-Received: by 10.99.154.66 with SMTP id e2mr8555782pgo.8.1513255882836; Thu, 14 Dec 2017 04:51:22 -0800 (PST) Received: from archbox.home (27-32-42-49.static.tpgi.com.au. [27.32.42.49]) by smtp.gmail.com with ESMTPSA id a23sm8110980pfa.177.2017.12.14.04.51.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Dec 2017 04:51:21 -0800 (PST) From: Simon Shields To: linux-samsung-soc@vger.kernel.org Cc: Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, Marek Szyprowski , =?UTF-8?q?Bart=C5=82omiej=20=C5=BBo=C5=82nierkiewicz?= , Simon Shields Subject: [PATCH v2 4/4] ARM: exynos: extend cpuidle support to midas boards Date: Thu, 14 Dec 2017 23:50:15 +1100 Message-Id: <20171214125015.2611-5-simon@lineageos.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171214125015.2611-1-simon@lineageos.org> References: <20171214125015.2611-1-simon@lineageos.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Exynos4412 can only use cpuidle when running under a compatible bootloader/firmware. The midas family of boards, including trats2, have such a firmware, so allow them to use cpuidle. Signed-off-by: Simon Shields --- arch/arm/mach-exynos/exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 9a9caac1125a..bfd119d7b63f 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -196,7 +196,7 @@ static void __init exynos_dt_machine_init(void) #endif if (of_machine_is_compatible("samsung,exynos4210") || (of_machine_is_compatible("samsung,exynos4412") && - of_machine_is_compatible("samsung,trats2")) || + of_machine_is_compatible("samsung,midas")) || of_machine_is_compatible("samsung,exynos3250") || of_machine_is_compatible("samsung,exynos5250")) platform_device_register(&exynos_cpuidle);