Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp2043466pxb; Mon, 13 Sep 2021 10:40:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1aqaqsPE5+QnPgVhsi4+9ZrJWqsa5P4Bo9gQi+zc2qbSM7krzPUhrgeqEFXrYoVanqCMp X-Received: by 2002:a17:906:1806:: with SMTP id v6mr14182433eje.420.1631554847533; Mon, 13 Sep 2021 10:40:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631554847; cv=none; d=google.com; s=arc-20160816; b=FFgAS61lC4cec/yw0h0dimYxEPsNNeNoMVpFRlz/ZFJTX38oEWTqyhcQKpAgOKryw1 V5v2bphTArQ3N6nqpf/I9FhKCsW9MXKb6t1tDxv1lY+qrOjW5EB0zoX8YOyxo0vfJre7 Rh67wT8jbo81oc5ERSSkBjWThiURHpocAUx6FDmZC2g0yGxm37sa02eAu4to4MwtLdIY m7r3x/Iswh+vkDP9IRs6zofS4+3EGqe8zdusXBRVxaoN/sEyQY6+CixRYPEpzF4QviiZ UE/os0CiPSbwqNhmM+8ilYHLZLE5fS3ocyK9jYtFzuVVirbH/UPHmnPeclq5zSoULCrO oI+g== 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=jaT4d7yW5gBI1hUGQa0nP03aPbnC75ANEBcB6ZaB8K8=; b=c3ZttUE8KT5oVx1RsCKca1V+243Gd7RfTowQ3p8zxS++/VhhUSFzCaMIaJhonmCXss G5z4F9sUGIEoccGXdwgmc7Spu3hboPRyAucbhPPvXBcgGgU5BWsE8jRxFkb7Tj/P4Lxs zGMKrxxjOG0O04Z6P4/LdKE6XUzKYyzzJHtUkblKafPEOwcNFXrsStybnH4s9JZk+OlH yOIvvOcWByRVA9MRk0+x1DoupmwdvC3E9MKYvRN1DH7BPW/y9Q7GC0zW5i2XaRU8fnfP gb8qA/l9KreK3CNxrLxGe9K6fXaimImOyRG0TMrUbNlufcEGyRZTMYddU6b8bMo9ryZr walg== 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 f4si5887743edv.542.2021.09.13.10.40.23; Mon, 13 Sep 2021 10:40:47 -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 S244341AbhIMRjo (ORCPT + 99 others); Mon, 13 Sep 2021 13:39:44 -0400 Received: from inva020.nxp.com ([92.121.34.13]:43618 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243787AbhIMRjl (ORCPT ); Mon, 13 Sep 2021 13:39:41 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 305801A038F; Mon, 13 Sep 2021 19:38:24 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 227801A010C; Mon, 13 Sep 2021 19:38:24 +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 4BB9E20363; Mon, 13 Sep 2021 19:38:23 +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 02/19] devfreq: imx-bus: Switch governor to powersave Date: Mon, 13 Sep 2021 20:37:57 +0300 Message-Id: <1631554694-9599-3-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 imx-bus to always run at minimum rate needed by all the running masters. Signed-off-by: Abel Vesa --- drivers/devfreq/imx-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/devfreq/imx-bus.c b/drivers/devfreq/imx-bus.c index f3f6e25053ed..9d8dc9824d21 100644 --- a/drivers/devfreq/imx-bus.c +++ b/drivers/devfreq/imx-bus.c @@ -87,7 +87,7 @@ static int imx_bus_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; struct imx_bus *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