From patchwork Tue Dec 12 14:08: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: 10107591 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 4E211602C2 for ; Tue, 12 Dec 2017 14:09:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41397298A9 for ; Tue, 12 Dec 2017 14:09:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 35ECA29BDB; Tue, 12 Dec 2017 14:09:05 +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 E7CD7298A9 for ; Tue, 12 Dec 2017 14:09:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753194AbdLLOJC (ORCPT ); Tue, 12 Dec 2017 09:09:02 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:43464 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753028AbdLLOJA (ORCPT ); Tue, 12 Dec 2017 09:09:00 -0500 Received: by mail-pf0-f195.google.com with SMTP id e3so14264277pfi.10; Tue, 12 Dec 2017 06:08:59 -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=FEJ2ZUt8lrOMMfEugMVpom4piERl3fWoHn8FhETr0f4=; b=qnLbC3HTRassOhVd2dyAPMvQVGSDL4rQp9PSj0a7mLt7rKRDCQcC4Og9R9ITeN7mbo c0m/TpQnHBhlq803Cc8EYl1h4Y4VbHG4h24cxW4yiGL/PPNJz+kcLYjvEAHnR+8l7z+7 tmq4k/OM99owbNnWzvvwh0ImLNIPEPCORPP+NWSfuk3gDtGcKX3h9bBN3/tvfIU0/le6 UwTZ6piQBpfH912qRbdPPM7JRHbli4E77LljKZ9hdhfLtgrXnE4Bd0y+Z8yCzp2lMSXj fGMq2Jxpx9LPbzYmtl+O3jPOWZ+rf7ZThDk1D5h4qxVffp3GIa9o2BYVJFGq/8I9MlaE topA== X-Gm-Message-State: AKGB3mJOMBu9R8G1vspOSTEj3OT8j9RHLbPzz48dvIpfTlDM4/5hZ3cX 7meY9E1ItCuUEEofzxrLNvziEJPVJv0= X-Google-Smtp-Source: ACJfBos9gxe32GbDiYTKsG3dK8qVnPa4QHa1eLdo80nqIy+/ZqiXsBMjdikWpcwCJOEaOHfRA2exUg== X-Received: by 10.98.219.198 with SMTP id f189mr2492761pfg.44.1513087739044; Tue, 12 Dec 2017 06:08:59 -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 h82sm32921381pfd.141.2017.12.12.06.08.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2017 06:08:57 -0800 (PST) From: Simon Shields To: linux-samsung-soc@vger.kernel.org Cc: Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, Simon Shields Subject: [PATCH 3/3] ARM: exynos: extend cpuidle support to midas boards Date: Wed, 13 Dec 2017 01:08:15 +1100 Message-Id: <20171212140815.28257-4-simon@lineageos.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171212140815.28257-1-simon@lineageos.org> References: <20171212140815.28257-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 has such a firmware, so allow them to use cpuidle. Signed-off-by: Simon Shields --- arch/arm/mach-exynos/exynos.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 9a9caac1125a..4ee60e31ea48 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -196,7 +196,8 @@ 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,trats2") || + of_machine_is_compatible("samsung,midas"))) || of_machine_is_compatible("samsung,exynos3250") || of_machine_is_compatible("samsung,exynos5250")) platform_device_register(&exynos_cpuidle);