From patchwork Tue Mar 13 15:04:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 131472 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp849882ljb; Tue, 13 Mar 2018 08:05:13 -0700 (PDT) X-Google-Smtp-Source: AG47ELsdFiqmCTNdFib1xomFj4cAe2qUlvYkj05MamY4sK9Vd5ZzBLVBTZvk+fZr5Nm99UIuGgZP X-Received: by 10.99.66.135 with SMTP id p129mr788543pga.220.1520953513492; Tue, 13 Mar 2018 08:05:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520953513; cv=none; d=google.com; s=arc-20160816; b=ST0DQIAgdOznU0x12fCdQd5/pfdV+Co+3LHuJz4bOe7lVCEVcQQ5HhJ3WbJ6U3Adz9 HZoLD8M/GQvpuhqMlPJkeswcLfgtc4hT75AL8VreuiFAwgB5LtwT7ER19/HI4uyKujkL XLNGxoiLtnaEXG5fgGlofQgwNnyBOKhPPlJWhcK1OpdurLVXPQBy/gtBeaWoZdMBpDi7 f4p/IjRzW3/lJEC2SRA0Plss6obr/6OFDrqCmhTHodt5TEIFND9xvEF3p4fzW1RafpO4 kW8tOuLeUKQEaP4hicOEIc9nO4Clx0BX7nJ43x8WSix02ujshS5hE6owdU3zePOkeAlC hQOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=EwngUHnM3JclmF3uBCygG0sv5r6slTMkxjI0sBfL+/M=; b=rc0NBZNdNJvPKuZ7t/8XNCAXnhWQykPNxxBQmLUsDxeIzPSnJj3plN9pAt7mzUhtwj pjNMyKoE5V9tL0M3HXvEgLcfx8sPV825F2CtxJBoZ+3PppGnIOnFQ8tQ7lVOHklm5jql vK1oYidaFpf2EJOVyF/iM/mmXSAKhYP68fzIUn/AXYwAj4EDlsEqxdvQ5yrba6nr+Dm/ jqPakipggWb0MX1d3H2Xn4c2lN4qb9DYLKd3qQypY9SAI5vML4qOlXdXPSTwMlF3/26/ yy2wucA5ZuQLvQ1ir6HSyU4pRN8nbCSdzbTl5GkMqwDnreJ1YsH6zMlXcL5UjXVz1QWW Vqxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=aDulbnBi; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u25si239268pgv.221.2018.03.13.08.05.13; Tue, 13 Mar 2018 08:05:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=aDulbnBi; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751956AbeCMPFL (ORCPT + 3 others); Tue, 13 Mar 2018 11:05:11 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:38572 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751936AbeCMPFJ (ORCPT ); Tue, 13 Mar 2018 11:05:09 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180313150506euoutp0230677615989e94f07c40e48c90930c46~bgyfhcRet1013710137euoutp02C; Tue, 13 Mar 2018 15:05:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180313150506euoutp0230677615989e94f07c40e48c90930c46~bgyfhcRet1013710137euoutp02C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520953506; bh=wwx9WgPu1DDqSbit8k4N5FmF3llYVUsz7XrTrRqQmO4=; h=From:To:Cc:Subject:Date:References:From; b=aDulbnBiMW/tPAmAr+B2hmu64Mn87x7/uCicF1+ssrIhSse2dsCNzi+bQ6EBVv4iI CTdp/yn6W0GTkbfvb+mtr0EdGZi18cG253vA361LRpuLgXMNpGvxYrWVobZ5sMxnrV RChas2ZccoCPDM1Vtz6TkMFrBkjxv6coybRiBvBw= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180313150505eucas1p2603e890e0d75afafef7c074d78a882bf~bgyeKRpqV0075200752eucas1p2C; Tue, 13 Mar 2018 15:05:05 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 94.DF.17380.0A8E7AA5; Tue, 13 Mar 2018 15:05:04 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180313150504eucas1p27e574c27e74160c01341976fd5147616~bgydewU4h1849718497eucas1p2v; Tue, 13 Mar 2018 15:05:04 +0000 (GMT) X-AuditID: cbfec7f4-6f9ff700000043e4-be-5aa7e8a0818d Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id F3.ED.04183.0A8E7AA5; Tue, 13 Mar 2018 15:05:04 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P5J009BUB8AZJ90@eusync1.samsung.com>; Tue, 13 Mar 2018 15:05:04 +0000 (GMT) From: Marek Szyprowski To: linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , Daniel Lezcano , "Rafael J . Wysocki" Subject: [PATCH] cpuidle: Enable coupled cpuidle support on Exynos3250 platform Date: Tue, 13 Mar 2018 16:04:51 +0100 Message-id: <20180313150451.5525-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.15.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrBIsWRmVeSWpSXmKPExsWy7djPc7oLXiyPMug7oWOxccZ6Vot5n2Ut zp/fwG7xufcIo8WM8/uYLNYeuctuceb0JVYHdo9NqzrZPO5c28PmseVqO4tH35ZVjB6fN8kF sEZx2aSk5mSWpRbp2yVwZaya+oGxoIer4vm1S4wNjEc5uhg5OSQETCS2Tf/C0sXIxSEksIJR 4ue3xVDOZ0aJSSuvsXYxcoBVnTqbCRFfxihx5OIDRgingUli2ak/bCCj2AQMJbredoHZIgL2 EnO3TWYCKWIWeMEocecWiMPJISwQKLFt7WdmEJtFQFVi6+YFLCA2r4CNxIsHF1ggbpKXWPx9 JxtIs4TAS1aJr/tXsEMkXCR2bz3GCGELS7w6vgUqLiNxeXI3VHO9RN/3I0wQzT2MEntbpjJB JKwlDh+/yApiMwvwSUzaNp0Z4jdeiY42IYgSD4mPZ86zQtiOEocm7gTbJSQQK7G98zfLBEbJ BYwMqxjFU0uLc9NTi43yUsv1ihNzi0vz0vWS83M3MQLj7/S/4192MO76k3SIUYCDUYmHd8XZ 5VFCrIllxZW5hxglOJiVRHhzHgCFeFMSK6tSi/Lji0pzUosPMUpzsCiJ88Zp1EUJCaQnlqRm p6YWpBbBZJk4OKUaGItuzi4rSWdmX1G8NNnv+ZXfB5fKTz8W9zDyUthzC0EGVn6hGXmHN2+5 9FQ7a4ae/kmhHQrSJhcqCl9dmBXvNTPh2/XroRYnBZukzAsufL8q/tXtxU62DqvV+pI7V9cE XFpRYx6x6OebyjWF/ixTtkY8v74ndUdI64xH3Rv2ct79ukGw0eCOkYoSS3FGoqEWc1FxIgD7 +Qq4uwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHJMWRmVeSWpSXmKPExsVy+t/xy7oLXiyPMlg7h99i44z1rBbzPsta nD+/gd3ic+8RRosZ5/cxWaw9cpfd4szpS6wO7B6bVnWyedy5tofNY8vVdhaPvi2rGD0+b5IL YI3isklJzcksSy3St0vgylg19QNjQQ9XxfNrlxgbGI9ydDFycEgImEicOpvZxcjFISSwhFFi Y/MGFginiUniye0rQA4nB5uAoUTX2y42EFtEwF5i7rbJTCBFzAKvGCVu3PnGCJIQFvCXWL14 JyuIzSKgKrF18wKwZl4BG4kXDy6A2RIC8hKLv+9km8DItYCRYRWjSGppcW56brGRXnFibnFp Xrpecn7uJkZgKGw79nPLDsaud8GHGAU4GJV4eBkuLI8SYk0sK67MPcQowcGsJMKb8wAoxJuS WFmVWpQfX1Sak1p8iFGag0VJnPe8QWWUkEB6YklqdmpqQWoRTJaJg1OqgdFy4bGUsKPLuXpD vdR4fDpXfOqUefOoLENOgUNn87Q/zLZ7eE1y2ipPLKgvSpj8I76Cs+FJjduTrX0SG7eL9f/o +egQs/1p7nJBcflkz8fJL8y+vbu79qegVPSLwFl8Cz2ND361SJp773PIu/o+xWeHOlzdAhdO trJn5rrStPh0hcBRvVAnFyWW4oxEQy3mouJEALBu2YcBAgAA X-CMS-MailID: 20180313150504eucas1p27e574c27e74160c01341976fd5147616 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180313150504eucas1p27e574c27e74160c01341976fd5147616 X-RootMTR: 20180313150504eucas1p27e574c27e74160c01341976fd5147616 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org All the needed code has been already merged to mach-exynos core in commit af9971144dde ("ARM: EXYNOS: add coupled cpuidle support for Exynos3250"), so enable support for coupled variant also for Exynos3250 SoCs. Signed-off-by: Marek Szyprowski --- This change was initially submitted with the mentioned commit: https://lkml.org/lkml/2015/2/20/321 For some reasons it has been separated from it and then it has been forgotten. This is patch brings it back to live. Tested on Exynos3250 ARTIK5 (520) development board. --- drivers/cpuidle/cpuidle-exynos.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Krzysztof Kozlowski diff --git a/drivers/cpuidle/cpuidle-exynos.c b/drivers/cpuidle/cpuidle-exynos.c index 00cd129b10a4..0171a6e190d7 100644 --- a/drivers/cpuidle/cpuidle-exynos.c +++ b/drivers/cpuidle/cpuidle-exynos.c @@ -117,7 +117,8 @@ static int exynos_cpuidle_probe(struct platform_device *pdev) int ret; if (IS_ENABLED(CONFIG_SMP) && - of_machine_is_compatible("samsung,exynos4210")) { + (of_machine_is_compatible("samsung,exynos4210") || + of_machine_is_compatible("samsung,exynos3250"))) { exynos_cpuidle_pdata = pdev->dev.platform_data; ret = cpuidle_register(&exynos_coupled_idle_driver,