From patchwork Fri May 16 08:03:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 30308 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CC3CB20A25 for ; Fri, 16 May 2014 08:07:10 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id rl12sf11231654iec.2 for ; Fri, 16 May 2014 01:07:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=YGgC7iNJnWH2mV0pTHIo8RDxhLBp7cNC4EOsTFz0eq0=; b=YZEtzr5Ylbi4nXxhAY19OgtiPBo6IVFQU3AuF59YscniKYwrXJJ2pZjEcagtkcI6pg 9ne1L9Wwg3sdeEX7Kx3TqR77ZsrIHY0qPyYYibkxLOcaqknFfa1Dz0xF6Yjr7oBxV6ct 7IEJfPp2OcHvF8/fzmHu4SDipqVS+sYrNdxwip/YGH9/VxJ2Rdeoaf9xbvG+rAJ4ixJ5 nbx7buCqUpN0KLKipPfd6/R70jiaWemqeekBJnr1tzTq+l9jo0CSta1kZMGn4QntACwt rYI4nQ7I6UrnOSRTMp1E3xmPJ2vL/BY+Bix2Avxy43rpwYt+t/qSNdYlz60IyKHkAeoY XnLQ== X-Gm-Message-State: ALoCoQn6SQlQLhSapBEBUlDB+Y4pz9Yp9NizQ7SkVA13vEQHeF6yTN0VCGkob4fNU3p+lCvQQxiC X-Received: by 10.182.121.232 with SMTP id ln8mr7668956obb.11.1400227630239; Fri, 16 May 2014 01:07:10 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.7 with SMTP id 7ls639206qgo.60.gmail; Fri, 16 May 2014 01:07:10 -0700 (PDT) X-Received: by 10.58.179.115 with SMTP id df19mr15195vec.41.1400227630115; Fri, 16 May 2014 01:07:10 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id sn5si1408063vdc.119.2014.05.16.01.07.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 May 2014 01:07:10 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.170 as permitted sender) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id db11so2701259veb.15 for ; Fri, 16 May 2014 01:07:10 -0700 (PDT) X-Received: by 10.221.7.71 with SMTP id on7mr12944867vcb.18.1400227630039; Fri, 16 May 2014 01:07:10 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp32212vcb; Fri, 16 May 2014 01:07:08 -0700 (PDT) X-Received: by 10.224.92.197 with SMTP id s5mr20676713qam.93.1400227628374; Fri, 16 May 2014 01:07:08 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id x7si3776203qaj.94.2014.05.16.01.07.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 May 2014 01:07:08 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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 1WlD94-0002JR-DK; Fri, 16 May 2014 08:05:34 +0000 Received: from mail-pa0-f45.google.com ([209.85.220.45]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WlD8X-0000qb-Na for linux-arm-kernel@lists.infradead.org; Fri, 16 May 2014 08:05:02 +0000 Received: by mail-pa0-f45.google.com with SMTP id ey11so2238614pad.18 for ; Fri, 16 May 2014 01:04:40 -0700 (PDT) X-Received: by 10.66.136.71 with SMTP id py7mr18966810pab.2.1400227480781; Fri, 16 May 2014 01:04:40 -0700 (PDT) Received: from localhost.localdomain ([14.140.216.146]) by mx.google.com with ESMTPSA id gu1sm13108466pbd.0.2014.05.16.01.04.37 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 May 2014 01:04:40 -0700 (PDT) From: Chander Kashyap To: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v6 5/6] exynos: cpuidle: do not allow cpuidle registration for Exynos5420 Date: Fri, 16 May 2014 13:33:57 +0530 Message-Id: <1400227438-27155-6-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1400227438-27155-1-git-send-email-chander.kashyap@linaro.org> References: <1400227438-27155-1-git-send-email-chander.kashyap@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140516_010501_801685_BCBC1747 X-CRM114-Status: GOOD ( 10.17 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.45 listed in list.dnswl.org] Cc: Chander Kashyap , lorenzo.pieralisi@arm.com, daniel.lezcano@linaro.org, rjw@rjwysocki.net, tomasz.figa@gmail.com, Chander Kashyap , kgene.kim@samsung.com, linux-arm-kernel@lists.infradead.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+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: chander.kashyap@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver. Hence do not allow exynos cpuidle driver registration for Exynos5420. Signed-off-by: Chander Kashyap Signed-off-by: Chander Kashyap Acked-by: Daniel Lezcano --- Changes in v6: 1. Move cpuidle registration check to exynos.c from cpuidle.c and use "samsung,exynos5420" compatible string to avvoid registration arch/arm/mach-exynos/exynos.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 4df3452..ef24edf 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -286,7 +286,9 @@ static void __init exynos_dt_machine_init(void) } } - exynos_cpuidle_init(); + if (!of_machine_is_compatible("samsung,exynos5420")) + exynos_cpuidle_init(); + exynos_cpufreq_init(); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);