From patchwork Thu Nov 3 06:16:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: huang lin X-Patchwork-Id: 9410327 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 ED0B960585 for ; Thu, 3 Nov 2016 06:18:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE9312A511 for ; Thu, 3 Nov 2016 06:18:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D0B9F2A516; Thu, 3 Nov 2016 06:18:39 +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=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9176B2A511 for ; Thu, 3 Nov 2016 06:18:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2BL3-00083c-Bk; Thu, 03 Nov 2016 06:17:25 +0000 Received: from mail-pf0-f193.google.com ([209.85.192.193]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2BKQ-0007sG-N1; Thu, 03 Nov 2016 06:16:47 +0000 Received: by mail-pf0-f193.google.com with SMTP id a136so3847989pfa.0; Wed, 02 Nov 2016 23:16:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TY43rrVab0CXVi6DzHs3XskM0N6wEHiQiT2FVP/6YsU=; b=Rh+M1cOQRaMcG/GoasFF+iXFLy+Pn+HGYsTr/Ffe44pg7n6rJzd3U8cDJLGBaZ+hZm fOyxbOGsLqrZv8v86UYohYbKV7bD8EAmUgmqxy0B7APZTSbQpReAVj1QpSMdcNIrDIkS 9/YZRSm9o0Itxj/Xni4NsVsdBrFMzHUrOPsXekdq9pTbz2sJqhD9Z/8kIW0ybR/A0Upi c5mik4kYzrCRvTV7xgMmPu0WvnqJP9rnplMLS7arF5V0i8fXWjle2+6e9rjpVrgoknJx Tku5zaxeLiPKmhZruNhHB2Bone88bdmGGAKNkBFPTH4fL8r7f0wWUp46LHCzyw7h//aa a5kA== X-Gm-Message-State: ABUngvfc+qk0SSpp0hL6VfDDJ5FhBktjTJ5usGhdrDRpabxxL1mET8OQzfs5XS+Xmm9WaA== X-Received: by 10.99.19.71 with SMTP id 7mr11686433pgt.38.1478153785516; Wed, 02 Nov 2016 23:16:25 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id p14sm9238777par.25.2016.11.02.23.16.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Nov 2016 23:16:25 -0700 (PDT) From: Lin Huang To: myungjoo.ham@samsung.com Subject: [PATCH v2 2/2] PM/devfreq: rk3399: set specific ddr frequency when stop ddr dvfs Date: Thu, 3 Nov 2016 14:16:10 +0800 Message-Id: <1478153770-8433-3-git-send-email-hl@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1478153770-8433-1-git-send-email-hl@rock-chips.com> References: <1478153770-8433-1-git-send-email-hl@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161102_231646_826138_468E9482 X-CRM114-Status: UNSURE ( 9.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lin Huang , linux-pm@vger.kernel.org, dbasehore@chromium.org, dianders@chromium.org, linux-kernel@vger.kernel.org, cw00.choi@samsung.com, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We need ddr run a specific frequency when ddr dvfs stop working. For example: if we enable two monitor, then we will stop ddr dvfs, but we hope ddr can run in highest frequency obviously. Change-Id: I02460f0becbf0e1a732e2a55b8e529f53c01109c Signed-off-by: Lin Huang --- Changes in v2: - None drivers/devfreq/rk3399_dmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c index e24b73d..9309941 100644 --- a/drivers/devfreq/rk3399_dmc.c +++ b/drivers/devfreq/rk3399_dmc.c @@ -443,7 +443,7 @@ static int rk3399_dmcfreq_probe(struct platform_device *pdev) if (IS_ERR(data->devfreq)) return PTR_ERR(data->devfreq); devm_devfreq_register_opp_notifier(dev, data->devfreq); - + devfreq_opp_get_suspend_opp(dev, data->devfreq); data->dev = dev; platform_set_drvdata(pdev, data);