From patchwork Mon Dec 3 14:31:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 10709665 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8025815A6 for ; Mon, 3 Dec 2018 14:31:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EEFE2AF39 for ; Mon, 3 Dec 2018 14:31:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 61D6C2AF44; Mon, 3 Dec 2018 14:31:50 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,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 F34092AF39 for ; Mon, 3 Dec 2018 14:31:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726689AbeLCOdC (ORCPT ); Mon, 3 Dec 2018 09:33:02 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60170 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726690AbeLCOcx (ORCPT ); Mon, 3 Dec 2018 09:32:53 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181203143138euoutp010e2993e7fd8b3f801e54a2d122e36b81~s2R6qWKtc1581415814euoutp01F for ; Mon, 3 Dec 2018 14:31:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181203143138euoutp010e2993e7fd8b3f801e54a2d122e36b81~s2R6qWKtc1581415814euoutp01F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1543847498; bh=G8VKN1fu3uT4saAk4T2R+C4N9HJlxwCGvfKToQ8oqPE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ljUXF7jQLiCVFiWlEwcW3kqOoWomKOKfxhV7dl2bSC8orHsmjr9wxgLeq3byBWOsY oOiuI62Vf/7Zo56fb5/Ux84qZ5vSv2SJqKPa08UMqi22aJPN2+GVHHYU1ODgolBIkb SF8+vunZ1fi1q9/1Tr2kjuq4VnqLKLVmQVAQbNKU= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181203143136eucas1p27e1fa616f1ed3a287db22893e1b36b54~s2R5knNjE1206312063eucas1p2B; Mon, 3 Dec 2018 14:31:36 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 26.D1.04294.84E350C5; Mon, 3 Dec 2018 14:31:36 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181203143135eucas1p165fe6183ae90de7906f9683cb41ff4c1~s2R4r6PP_1712417124eucas1p1r; Mon, 3 Dec 2018 14:31:35 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20181203143135eusmtrp151383fb7c18e3a5f664d19aafedd3987~s2R4bIfko1680116801eusmtrp1I; Mon, 3 Dec 2018 14:31:35 +0000 (GMT) X-AuditID: cbfec7f4-c77a99c0000010c6-66-5c053e484219 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 98.F8.04128.74E350C5; Mon, 3 Dec 2018 14:31:35 +0000 (GMT) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181203143134eusmtip2b70fc582bd265d68d5c9fca5d1b74e4f~s2R3d_Gsb0580205802eusmtip2x; Mon, 3 Dec 2018 14:31:34 +0000 (GMT) From: Lukasz Luba To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org Cc: tjakobi@math.uni-bielefeld.de, myungjoo.ham@samsung.com, kyungmin.park@samsung.com, cw00.choi@samsung.com, rjw@rjwysocki.net, len.brown@intel.com, pavel@ucw.cz, gregkh@linuxfoundation.org, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com, robh+dt@kernel.org, mark.rutland@arm.com, kgene@kernel.org, krzk@kernel.org, m.szyprowski@samsung.com, b.zolnierkie@samsung.com, Lukasz Luba Subject: [PATCH v2 5/5] arm: dts: exynos4: opp-suspend in DMC and leftbus Date: Mon, 3 Dec 2018 15:31:15 +0100 Message-Id: <1543847475-7600-6-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1543847475-7600-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSfUzMcRzHfX9P9yt+7ec0fSZju4lqXPIw32GeN7+sP8zGjIbDb5fprtxP lGwqD5WnUjhKkkO36yydOu1UJpcQdwp5Wp7y7BhKYjH38zvz3+v7fr8/D/vsy5LqHnoYu864 UTQZdUkaJphyXv3hGSfMoBPGV+8Ix5dro3D1kSoaX6jupfH9njc0LnN7aLzdUsXgm3sMOL/r A4m93nMqfCvbp8KPMofj4oMNBHZ0ddD4jusYg7v3uRE+4m0k8Fl3pwqfvt9G4MdZVgZ33mj2 92htp/HOBrcK76r8TGPf7SfULBCcF520YD9uR0JJZhslFOR/RYKl/h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L0WLH6O7vH501yAXxRejZF+aUlqQoZ+cUltkrRhhZGeoaWFnpGJpZ6 hsbmsVZGpkr6djYpqTmZZalF+nYJehmXFv9gLNjFXfHrzTXGBsYmzi5GTg4JAROJNS/2MHcx cnEICSxllFjwaSMjREJMYtK+7ewQtrDEn2tdbBBFnxgldnw5DFTEwcEmoCexY1UhSFxEYDmj xP2fs9lBHGaBB8wSHc83sYJ0Cwt4Svy428EK0sAioCpxtNEHJMwLFH6xbRPUMjmJm+c6mUFs TgEviSkr5oPZQkA1LXtXME9g5FvAyLCKUSS1tDg3PbfYSK84Mbe4NC9dLzk/dxMjMF63Hfu5 ZQdj17vgQ4wCHIxKPLwO8SwxQqyJZcWVuYcYJTiYlUR4CwqBQrwpiZVVqUX58UWlOanFhxhN gW6ayCwlmpwPTCV5JfGGpobmFpaG5sbmxmYWSuK85w0qo4QE0hNLUrNTUwtSi2D6mDg4pRoY MwWurlb56nDYNS0v6MWUeK4Tf2JmLimJPyXocPRzUNSf1yJfBLatv3DpXsTUoj3nXwrFht7/ oT3fhcvtlPLeBWld/PGfhX9ou52Pk7293/Da3qSl6SZPPzyJ1jNRmhZ7eVF5x3t326Nh3Zsf 5mTUZOS4cXrnKLY4imrNVOuZFxCveUk1XPOCEktxRqKhFnNRcSIA7hsgUu0CAAA= X-CMS-MailID: 20181203143135eucas1p165fe6183ae90de7906f9683cb41ff4c1 X-Msg-Generator: CA X-RootMTR: 20181203143135eucas1p165fe6183ae90de7906f9683cb41ff4c1 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181203143135eucas1p165fe6183ae90de7906f9683cb41ff4c1 References: <1543847475-7600-1-git-send-email-l.luba@partner.samsung.com> 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 Mark the state for devfreq device while entring suspend/resume process. The patch is based on earlier work by Tobias Jakobi. Suggested-by: Tobias Jakobi Suggested-by: Chanwoo Choi Reviewed-by: Chanwoo Choi Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos4210.dtsi | 2 ++ arch/arm/boot/dts/exynos4412.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index b6091c2..4429b72 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -298,6 +298,7 @@ opp-400000000 { opp-hz = /bits/ 64 <400000000>; opp-microvolt = <1150000>; + opp-suspend; }; }; @@ -367,6 +368,7 @@ }; opp-200000000 { opp-hz = /bits/ 64 <200000000>; + opp-suspend; }; }; }; diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi index 51f72f0..908c0c4 100644 --- a/arch/arm/boot/dts/exynos4412.dtsi +++ b/arch/arm/boot/dts/exynos4412.dtsi @@ -432,6 +432,7 @@ opp-400000000 { opp-hz = /bits/ 64 <400000000>; opp-microvolt = <1050000>; + opp-suspend; }; }; @@ -520,6 +521,7 @@ opp-200000000 { opp-hz = /bits/ 64 <200000000>; opp-microvolt = <1000000>; + opp-suspend; }; };