From: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-renesas-soc@vger.kernel.org,
Marek Vasut <marek.vasut@gmail.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Zhang Rui <rui.zhang@intel.com>,
Lukasz Luba <lukasz.luba@arm.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
linux-pm@vger.kernel.org
Subject: Re: [RFC PATCH 2/2] thermal/drivers/rcar_gen3: use approved default values
Date: Tue, 9 Sep 2025 16:51:56 +0200 [thread overview]
Message-ID: <20250909145156.GB3476608@ragnatech.se> (raw)
In-Reply-To: <20250909084618.23082-6-wsa+renesas@sang-engineering.com>
Hi Wolfram,
Thanks for your work.
On 2025-09-09 10:46:20 +0200, Wolfram Sang wrote:
> The current default values for R-Car Gen4 are from a V4H Rev3.0 SoC.
> They seem incomplete because of the same values for all THS instances.
> Also, the bits to flag valid fuses were not set. So, better use the
> values from the Rev2.2 SoC which have the valid flags set.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
> drivers/thermal/renesas/rcar_gen3_thermal.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/thermal/renesas/rcar_gen3_thermal.c b/drivers/thermal/renesas/rcar_gen3_thermal.c
> index 07b53d4f2683..b7026ab733d4 100644
> --- a/drivers/thermal/renesas/rcar_gen3_thermal.c
> +++ b/drivers/thermal/renesas/rcar_gen3_thermal.c
> @@ -372,12 +372,12 @@ static const struct rcar_gen3_thermal_fuse_default rcar_gen3_thermal_fuse_defaul
> };
>
> static const struct rcar_gen3_thermal_fuse_default rcar_gen3_thermal_fuse_default_info_gen4 = {
> - .ptat = { 3274, 2164, 985 },
> - .thcodes = { /* All four THS units share the same trimming */
> - { 3218, 2617, 1980 },
> - { 3218, 2617, 1980 },
> - { 3218, 2617, 1980 },
> - { 3218, 2617, 1980 },
> + .ptat = { 3146, 2076, 928 },
> + .thcodes = {
> + { 3092, 2505, 1881 },
> + { 2181, 2609, 2001 },
If these values come from the board I think they do, s/2181/3181/ ?
> + { 3175, 2587, 1962 },
> + { 3163, 2592, 1986 },
> }
> };
>
> --
> 2.47.2
>
--
Kind Regards,
Niklas Söderlund
next prev parent reply other threads:[~2025-09-09 14:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-09 8:46 [RFC PATCH 0/2] thermal/drivers/rcar_gen3: improve Gen4 handling Wolfram Sang
2025-09-09 8:46 ` [RFC PATCH 1/2] thermal/drivers/rcar_gen3: fix mapping SoCs to generic Gen4 entry Wolfram Sang
2025-09-09 14:46 ` Niklas Söderlund
2025-09-09 8:46 ` [RFC PATCH 2/2] thermal/drivers/rcar_gen3: use approved default values Wolfram Sang
2025-09-09 14:51 ` Niklas Söderlund [this message]
2025-09-09 12:01 ` [RFC PATCH 0/2] thermal/drivers/rcar_gen3: improve Gen4 handling Geert Uytterhoeven
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=20250909145156.GB3476608@ragnatech.se \
--to=niklas.soderlund@ragnatech.se \
--cc=daniel.lezcano@linaro.org \
--cc=geert+renesas@glider.be \
--cc=linux-pm@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=lukasz.luba@arm.com \
--cc=magnus.damm@gmail.com \
--cc=marek.vasut@gmail.com \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.com \
--cc=wsa+renesas@sang-engineering.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