Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp2043545pxb; Mon, 13 Sep 2021 10:40:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpmtzKJIOz3lr48aqZz5aA/6L6MhvhDiX8bVRyV6NdF0Y3Ac/NbV6CnO62iV3198s/VatX X-Received: by 2002:a17:906:57d4:: with SMTP id u20mr6946698ejr.445.1631554856916; Mon, 13 Sep 2021 10:40:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631554856; cv=none; d=google.com; s=arc-20160816; b=z9hY+p/x16HmSc26ySr3kGvrzRVEF3ljJbbczHapBzCx+9GFbQLFQI7njZlqFVS2WL WpDuHSYePuiJPlvPLtMuXEWi7ltUjOU/nOVw8IgsWjcbfPHJn32G4/B06DcsRfrzuqs3 PsjikwV2D8r29CMO3mhBRVDZH0dSNT5aFA2hRO059/unRdJJPSRGLRbVfPTggD6DYU9U voSjO6ftJz8lKGmJ9KkPwIKWMC1iI1fOQAGmNlIZwgzdl31oKmm6IQjn9EcNQMcLP7H6 kA2q3+wlOZXsFOaL7I2AVylm/ifE2JlarYhWszpRsSNdVIsGFdD34eprVyYtTOGgPm9w 6hEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=wxx28jrcEgWcu2LiQa9O0gXCeMhb34+ubK9DtkGRigQ=; b=Rd+QV3mZI+jBFLMUua7CwtRpvKdS+sGnLwtNHT+N0DCnofQAaEckB+5Mh8lVRJLgmE TiT1Jrv45igyefdXv6HFAw3S9z+J6ZgaQiLoYC9ep60kpWC1bnuP6GG6XwE8cGxNpAeG HlO6RkcfwvJkgaocN5I4i1darB9JrWjQESXm4711P8YJ1vC8Ia2dUhmw/oe0oheF8lHU wAuL+LCl78/Q45rJSk7OVIpl2lThgGqngxzD0cbkrOQtonR7hInC4JxZVNYH/bu5wH+F F+WMB2wMox+tE15lo0n2poqC1Vvd0+gmW/ngD5lhYeG+n/GbU9mR8/A7wS+VRIm9+BUA Ttnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u2si9969456ejy.557.2021.09.13.10.40.33; Mon, 13 Sep 2021 10:40:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245046AbhIMRju (ORCPT + 99 others); Mon, 13 Sep 2021 13:39:50 -0400 Received: from inva021.nxp.com ([92.121.34.21]:58742 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243866AbhIMRjn (ORCPT ); Mon, 13 Sep 2021 13:39:43 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 0340A2005D5; Mon, 13 Sep 2021 19:38:26 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id DFCE92005AC; Mon, 13 Sep 2021 19:38:25 +0200 (CEST) Received: from fsr-ub1664-175.ea.freescale.net (fsr-ub1664-175.ea.freescale.net [10.171.82.40]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 118A020363; Mon, 13 Sep 2021 19:38:25 +0200 (CEST) From: Abel Vesa To: Rob Herring , Dong Aisheng , Shawn Guo , Sascha Hauer , Fabio Estevam , "catalin.marinas@arm.com" , Will Deacon , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Georgi Djakov , Adrian Hunter , Ulf Hansson , Ahmad Fatoum Cc: Pengutronix Kernel Team , linux-serial@vger.kernel.org, NXP Linux Team , Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Abel Vesa Subject: [RFC 04/19] devfreq: imx8m-ddrc: Change governor to powersave Date: Mon, 13 Sep 2021 20:37:59 +0300 Message-Id: <1631554694-9599-5-git-send-email-abel.vesa@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1631554694-9599-1-git-send-email-abel.vesa@nxp.com> References: <1631554694-9599-1-git-send-email-abel.vesa@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org By switching to powersave governor, we allow the imx8m-ddrc to always run at minimum rate needed by all the running masters. Signed-off-by: Abel Vesa --- drivers/devfreq/imx8m-ddrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/devfreq/imx8m-ddrc.c b/drivers/devfreq/imx8m-ddrc.c index 16636973eb10..583123bf2100 100644 --- a/drivers/devfreq/imx8m-ddrc.c +++ b/drivers/devfreq/imx8m-ddrc.c @@ -367,7 +367,7 @@ static int imx8m_ddrc_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; struct imx8m_ddrc *priv; - const char *gov = DEVFREQ_GOV_USERSPACE; + const char *gov = DEVFREQ_GOV_POWERSAVE; int ret; priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); -- 2.31.1