Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6631046yba; Wed, 1 May 2019 16:45:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtm70RDj/bHJHjB9vCkIhws6SJoqum7y2vcchg0e7WxK+8u2dvwMA19CuA8Wei7IjYiRvI X-Received: by 2002:a63:5a4b:: with SMTP id k11mr709479pgm.119.1556754323842; Wed, 01 May 2019 16:45:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556754323; cv=none; d=google.com; s=arc-20160816; b=ZldpTr/FhUgj13OhIJH435Y0cicjkQSyneBtmYO3UANa4gn7REC5PIhnkOwToXgLRs GucPDurNuwQSCBIi2qdC7C0ougBUAnsiVlANkmEOQtvgmXMOGiq+Dm6fmdmwhbnNmNcp FFkK/Mqm8p1PuMpGY+JEHF+mS9WM5dHb8vRIlRdxzwg8vgF7sqrJ71tjmUDXAv8cIY24 OAsDTFyKQeug7EHoQDGk0trLMt4dCTxH2p3P/WE1NXye5KlmOFTUB8ZNJp0xgHDg4aFQ Sn8+XtcsI2OLDzV9TghkRWLA/UtCsf1FjasWiI/SEPUDbv/MsQD32rraxu0PkD5vJnEh rn2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=z1/0wnRgSXVSbQEBOMgThnXBDYE/41xcxe12SD/BoTE=; b=Cwe1kT0sfTp82lk8qbIX/qlKzsoGlkrzK19MwdhwZ8KdKY4t6yiLgxtTbx+b2Yv+38 d7mreiUV31fPcI4GwRcg0wg8ImFDrJNkqKNSPv1R/xyJ0YWAJqYZMgfSjDGNWrLEG5sV H9qOtUfCKuvlAoIhxiahwwsTTzx5uUB7mzDmu/5h9AUtJh2UKs9mAsuk02VwqCAoMVpL 5s2RH1nf9quKKcJUIlJNunlwFu/lysRs//CWr2wklFpRItqeQgKZv9iVvVqmst/bs1Z4 1LibPDlFvsyD20fhi13Tzz/oaOo2cvSf0HCpSV3lyhbVa1z0z0ArRoXil2hSxAKaAOch x3Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BoWsJOFL; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1si18077282plp.272.2019.05.01.16.45.08; Wed, 01 May 2019 16:45:23 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=BoWsJOFL; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726458AbfEAXmq (ORCPT + 99 others); Wed, 1 May 2019 19:42:46 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:36617 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726438AbfEAXmG (ORCPT ); Wed, 1 May 2019 19:42:06 -0400 Received: by mail-it1-f196.google.com with SMTP id v143so369126itc.1; Wed, 01 May 2019 16:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=z1/0wnRgSXVSbQEBOMgThnXBDYE/41xcxe12SD/BoTE=; b=BoWsJOFLffHIXIsVblQVK7Kf7fvH0QiYKLB0RtZmrtQYpj1/rxGKUDuoHWJGzbVWwJ YAAguodthyUOeWrWfr9M1+yBFhdjmbd7AjMztC4MeBl8SBT7DURWNyvPFCoIo1BfVv4c C7AwhtZMdpjyvO8h2cXrWVBx+9b+WCeMhsMZsBz3BdayN8Dka5EsYrwywOSVeKGHi44a +IwzpBtOJZ5kIcecuN6R4qyrSK4dJDgsvHI6lfj12TM3kRdO2WYfeLKuZac/AwKhbC7g quoRl/d/brVETVoieyS6joYKt7kwYp91/HXzjXDx+fMippJ5cvPdI1UZbe1iLfNeQJdk CQKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=z1/0wnRgSXVSbQEBOMgThnXBDYE/41xcxe12SD/BoTE=; b=DXz7dc5HFTET9+BMrlIqbPlS3O7bF9P2hPCn9bnQbJlGLaTpwFtL7P5RC6Iv6qrHNl QU3SL22qadS2OMkh3xuaWnCWtBcDgXBwya1lWhfSDvIkd3YxVzMEbv48MgGzRCKeQXD7 YMfbAveh0mp8JY9nsuBVDWTcWl94Gweveg0UO8dP9E3ZB0/bP8RsvZriuL0OghWc3dCl zldZe2GUKnVCvfMudaF5YHmxVVs0qPp+oaWL1Ff4gD9dKqWXw+yDf5vHbJKm6v8dbsLd IcRxU0rpm6mC0+GgzIjQ01F3o0C0ornW/f6nGv28eDZpVbbYz6Oxsa7tsWlNWeqyV27K +UPw== X-Gm-Message-State: APjAAAWsjIuagGYROhBFng8s0o4n0RqMQklBMzRjLpOOlKAdXAReURL+ UCgyuY5MMJLTpLqbbq7i488= X-Received: by 2002:a24:6495:: with SMTP id t143mr206730itc.156.1556754125561; Wed, 01 May 2019 16:42:05 -0700 (PDT) Received: from localhost.localdomain (ppp94-29-35-107.pppoe.spdop.ru. [94.29.35.107]) by smtp.gmail.com with ESMTPSA id m3sm2392507ion.69.2019.05.01.16.42.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 May 2019 16:42:05 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Tomeu Vizoso Cc: linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 10/16] PM / devfreq: tegra: Mark ACTMON's governor as immutable Date: Thu, 2 May 2019 02:38:09 +0300 Message-Id: <20190501233815.32643-11-digetx@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190501233815.32643-1-digetx@gmail.com> References: <20190501233815.32643-1-digetx@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ACTMON's governor supports only the Tegra's devfreq device and there is no need to use any other governor, hence let's mark Tegra governor as immutable to permanently stick it with Tegra's devfreq device. Reviewed-by: Chanwoo Choi Signed-off-by: Dmitry Osipenko --- drivers/devfreq/Kconfig | 1 - drivers/devfreq/tegra-devfreq.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index 6a172d338f6d..a78dffe603c1 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig @@ -94,7 +94,6 @@ config ARM_EXYNOS_BUS_DEVFREQ config ARM_TEGRA_DEVFREQ tristate "Tegra DEVFREQ Driver" depends on ARCH_TEGRA_124_SOC - select DEVFREQ_GOV_SIMPLE_ONDEMAND select PM_OPP help This adds the DEVFREQ driver for the Tegra family of SoCs. diff --git a/drivers/devfreq/tegra-devfreq.c b/drivers/devfreq/tegra-devfreq.c index 5265d735419f..65b3a7c72293 100644 --- a/drivers/devfreq/tegra-devfreq.c +++ b/drivers/devfreq/tegra-devfreq.c @@ -606,6 +606,7 @@ static struct devfreq_governor tegra_devfreq_governor = { .name = "tegra_actmon", .get_target_freq = tegra_governor_get_target, .event_handler = tegra_governor_event_handler, + .immutable = true, }; static int tegra_devfreq_probe(struct platform_device *pdev) -- 2.21.0