From: Dmitry Osipenko <digetx@gmail.com>
To: Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Rob Herring <robh+dt@kernel.org>,
MyungJoo Ham <myungjoo.ham@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
Peter Geis <pgwipeout@gmail.com>,
Matt Merhar <mattmerhar@protonmail.com>
Cc: linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: [PATCH v1 1/7] PM / devfreq: tegra30: Support thermal cooling
Date: Tue, 11 May 2021 00:10:02 +0300 [thread overview]
Message-ID: <20210510211008.30300-2-digetx@gmail.com> (raw)
In-Reply-To: <20210510211008.30300-1-digetx@gmail.com>
Expose ACTMON devfreq device as a cooling device in order to throttle
memory freq on overheat. Throttling of memory freq has a significant
cooling effect on NVIDIA Tegra SoCs since higher memory freqs require
higher SoC core voltage which is one of the main causes of the heating.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
drivers/devfreq/tegra30-devfreq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/devfreq/tegra30-devfreq.c b/drivers/devfreq/tegra30-devfreq.c
index ce83f883ca65..10661eb2aed8 100644
--- a/drivers/devfreq/tegra30-devfreq.c
+++ b/drivers/devfreq/tegra30-devfreq.c
@@ -688,6 +688,7 @@ static struct devfreq_dev_profile tegra_devfreq_profile = {
.polling_ms = ACTMON_SAMPLING_PERIOD,
.target = tegra_devfreq_target,
.get_dev_status = tegra_devfreq_get_dev_status,
+ .is_cooling_device = true,
};
static int tegra_governor_get_target(struct devfreq *devfreq,
--
2.30.2
next prev parent reply other threads:[~2021-05-10 21:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-10 21:10 [PATCH v1 0/7] Add thermal cooling support to NVIDIA Tegra devfreq Dmitry Osipenko
2021-05-10 21:10 ` Dmitry Osipenko [this message]
2021-05-20 2:50 ` [PATCH v1 1/7] PM / devfreq: tegra30: Support thermal cooling Chanwoo Choi
2021-05-10 21:10 ` [PATCH v1 2/7] ARM: tegra_defconfig: Enable CONFIG_DEVFREQ_THERMAL Dmitry Osipenko
2021-05-10 21:10 ` [PATCH v1 3/7] dt-bindings: devfreq: tegra30-actmon: Convert to schema Dmitry Osipenko
2021-05-17 21:34 ` Rob Herring
2021-05-20 2:50 ` Chanwoo Choi
2021-05-31 9:36 ` Thierry Reding
2021-05-31 19:21 ` Dmitry Osipenko
2021-05-10 21:10 ` [PATCH v1 4/7] dt-bindings: devfreq: tegra30-actmon: Add cooling-cells Dmitry Osipenko
2021-05-17 21:34 ` Rob Herring
2021-05-20 2:49 ` Chanwoo Choi
2021-05-31 9:37 ` Thierry Reding
2021-05-10 21:10 ` [PATCH v1 5/7] ARM: tegra: Add cooling cells to ACTMON device-tree node Dmitry Osipenko
2021-05-10 21:10 ` [PATCH v1 6/7] ARM: tegra: nexus7: Enable memory frequency thermal throttling using ACTMON Dmitry Osipenko
2021-05-10 21:10 ` [PATCH v1 7/7] ARM: tegra: ouya: " Dmitry Osipenko
2021-05-31 9:41 ` (subset) [PATCH v1 0/7] Add thermal cooling support to NVIDIA Tegra devfreq Thierry Reding
2021-05-31 9:43 ` Thierry Reding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210510211008.30300-2-digetx@gmail.com \
--to=digetx@gmail.com \
--cc=cw00.choi@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=jonathanh@nvidia.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mattmerhar@protonmail.com \
--cc=myungjoo.ham@samsung.com \
--cc=pgwipeout@gmail.com \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).