All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chanwoo Choi <cw00.choi@samsung.com>
To: Dmitry Osipenko <digetx@gmail.com>,
	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>,
	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: Re: [PATCH v1 1/7] PM / devfreq: tegra30: Support thermal cooling
Date: Thu, 20 May 2021 11:50:50 +0900	[thread overview]
Message-ID: <65cdeb50-7ec1-4ed4-1eeb-342c4c915aa1@samsung.com> (raw)
In-Reply-To: <20210510211008.30300-2-digetx@gmail.com>

On 5/11/21 6:10 AM, Dmitry Osipenko wrote:
> 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,
> 

Applied it. Thanks.

-- 
Best Regards,
Chanwoo Choi
Samsung Electronics

  reply	other threads:[~2021-05-20  2:33 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 ` [PATCH v1 1/7] PM / devfreq: tegra30: Support thermal cooling Dmitry Osipenko
2021-05-20  2:50   ` Chanwoo Choi [this message]
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=65cdeb50-7ec1-4ed4-1eeb-342c4c915aa1@samsung.com \
    --to=cw00.choi@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=digetx@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.