Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2481527imu; Wed, 21 Nov 2018 12:20:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/WtyuNxXG6qlxXs4vSJF0gtMZRIJ/b1Zw5SAbB/RsghfbqMe7wJaF1759Vhgwd3S0EBIGmO X-Received: by 2002:a17:902:44a:: with SMTP id 68-v6mr435324ple.73.1542831603008; Wed, 21 Nov 2018 12:20:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542831602; cv=none; d=google.com; s=arc-20160816; b=A3rkPNyaBtp/mushsKsKrguzEUpgW42Zkx1UWanf4Bf1IMyF/49evAiN2RRxcpSovw h1ilG4TgFf24+zIdDjs71ZORX8lCpkc+airjJmDnt/5Nc56BUsuaqBppKEjNmiTZIHag kYglIp08cY4qWDgPX/cR70xVhmVkt/WOdSDWee+sM43S8d22GpCfP/oljD9PY9Erhdz8 jbEuZBSV6Y7qTRq+D7FA9bsGTCVO1N7aC+JYq9IfkIQZqUpIYGb4mnZk5c8efKsD/LYg 1yJ98BlcRcmiDHqGBtUhh5j8Ngw5GOjgwmQ/hEtMmd7mn0S8Pm48Gapy5Ohxl6AGDJ/F 0BSQ== 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:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=qggsqlasb+ZB/6Cp6CuX0fwsS0GDjW2gfsWln0LyFq4=; b=JsubB4Rhbkx3cXvoVXyJiWQSA6bxMYam6DQIHIdXO1GgnmzhcwCSI7ogwwR/DcUy2V ekK1+SvpgDTUDHYJp4+DHsUv0qAFzcbujALzrcgZ62OtIuQK9LAWThaG4aIi9S8XoDmo Awi3yUKMixcs+sMuHOvtQuwLIt0cL55A8hYaZ4YgocOVLjCPKePKxKgNZkP4FvBPTAcq pGP2zPFBP9kR+QTqx8k2+uGvUIp9HqjlVDv4qf7Be4EQGlhXQPaoqwVp9uN+2XK63G/5 Laj9W4l2IPqUou/Wpx3pFVje4QqS6L5ng0ATgiPJkcGXTU85uL6AxV2ZmPUSbRgLmCfg 2Yqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="stmSg/u8"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 g184si13064465pfb.288.2018.11.21.12.19.43; Wed, 21 Nov 2018 12:20:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="stmSg/u8"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732918AbeKVEhf (ORCPT + 99 others); Wed, 21 Nov 2018 23:37:35 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:38161 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732909AbeKVEhe (ORCPT ); Wed, 21 Nov 2018 23:37:34 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181121180210euoutp018db0e6de377c964693d861275fa9bd34~pNaUTTZ1f0775807758euoutp01P for ; Wed, 21 Nov 2018 18:02:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181121180210euoutp018db0e6de377c964693d861275fa9bd34~pNaUTTZ1f0775807758euoutp01P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1542823330; bh=qggsqlasb+ZB/6Cp6CuX0fwsS0GDjW2gfsWln0LyFq4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=stmSg/u8/MwLYZ94mB+HHc3qazwZKIi2j+7ePahihmVLuV/c4AamikfAFt/5boTrE +/IbR43wKwHcY1SYQ15Qk9kkQSY2OPsIyN6E44Le2TB54sJumuWIhabEBgaVMZbEOM ZwEC12PxIAZ2gvcwl+VtlBxpKOarmZubkV3gumYA= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181121180209eucas1p1d853ab615626002510a03881fe6e14f1~pNaTNlI7j1762417624eucas1p1g; Wed, 21 Nov 2018 18:02:09 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 7C.89.04294.0AD95FB5; Wed, 21 Nov 2018 18:02:08 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181121180208eucas1p11482a783ab1b1bceb8c9f6a1f50682c3~pNaSP_TVv3115931159eucas1p1Z; Wed, 21 Nov 2018 18:02:08 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20181121180207eusmtrp161dc8d370b03e6455a15ba273a48071f~pNaSAW94I2594725947eusmtrp1r; Wed, 21 Nov 2018 18:02:07 +0000 (GMT) X-AuditID: cbfec7f4-84fff700000010c6-ca-5bf59da057ad Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 7F.7C.04128.F9D95FB5; Wed, 21 Nov 2018 18:02:07 +0000 (GMT) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181121180207eusmtip27d65ca12b1f53f0fe3942e0c93d2b410~pNaRI7Dnc1642316423eusmtip2Q; Wed, 21 Nov 2018 18:02:07 +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 6/6] arm: dts: exynos4: set opp-suspend for DMC and leftbus Date: Wed, 21 Nov 2018 19:01:41 +0100 Message-Id: <1542823301-23563-7-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542823301-23563-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSa0hTYRjHe8/d5eQ4pV40DAaBJmlF4AtKF/LDIQn8EESa5KqDhc5qJ68F zcprlpZdvDvzNufKXLpsaqGtLG15CdMsQzDS0sLczATTNo/Wt9/zf/7/53l4eRlc9pv0YE7G nuVVsYoYOSUhjC/me7ZoSmbDtw5dCkTtTT6oIb+eRI8afpFo0DZOojLzGxJdqqin0OsrSpQz Nomjnp4HNLJcnKLRsHoDKrzZhiHD2DsSvTUVU8h61QxQfs8TDN0zj9CoarAPQx9StBQa6Xpu n9HdT6LUNjON0uqmSTTV+4nYDTlji5Hk9KV6wBWp+wguN2cGcBWtXzHOoMukuKclepp7WHmB W3xBc+0/WjGucSCd4K416gCnrZujOavBK9QlTBJ0nI85Gc+r/HdGSk5M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L0Mv4cHMte0E7b8XuS1PZGxhXcXUxcnJICJhIHJ44mamL kYtDSGApo8SDlcuYIRJiEpP2bWeHsIUl/lzrYoMo+sQosf7vFaAiDg42AT2JHasKQeIiAssZ Je7/nM0O4jALPGCW6Hi+iRWkW1jAW+J5wy0mEJtFQFXixfxPYHFeAS+Jtwt/skJskJO4ea4T bDMnUP3nVRMYQWwhoJor8xayTmDkW8DIsIpRJLW0ODc9t9hIrzgxt7g0L10vOT93EyMwYrcd +7llB2PXu+BDjAIcjEo8vBqRX6OFWBPLiitzDzFKcDArifB2RAGFeFMSK6tSi/Lji0pzUosP MZoCHTWRWUo0OR+YTPJK4g1NDc0tLA3Njc2NzSyUxHnPG1RGCQmkJ5akZqemFqQWwfQxcXBK NTCenSfwj03pQd+0j9nbGg9+VFv/8fbEidXvXk1/e8Vusj3L3NKOSckvQ9Y2XGFbujJ6l1JU j5mW5dozzA7ZTl7aJitmx+axtv3etXN60M/ejk+yVtlNuwqEb7cUPni+fqXGcduJ4Xs+inKG rH/PUGN9332+sHylW9DsUKnTR1iTK9ST+QJ37xVRYinOSDTUYi4qTgQAzHcrO+4CAAA= X-CMS-MailID: 20181121180208eucas1p11482a783ab1b1bceb8c9f6a1f50682c3 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20181121180208eucas1p11482a783ab1b1bceb8c9f6a1f50682c3 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181121180208eucas1p11482a783ab1b1bceb8c9f6a1f50682c3 References: <1542823301-23563-1-git-send-email-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mark the state for devfreq device while entring suspend/resume process. The patch draws on Tobias Jakobi's work posted ~2 years ago, who tried to solve issue with devfreq device's frequency during suspend/resume. During the discussion on LKML some corner cases and comments appeared related to the design. This patch address them keeping in mind suggestions from Chanwoo Choi. Suggested-by: Tobias Jakobi Suggested-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; }; }; -- 2.7.4