From: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
linux-pm@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 0/2] thermal: rcar_gen3_thermal: Read calibration from fuses
Date: Tue, 12 Oct 2021 10:24:53 +0200 [thread overview]
Message-ID: <YWVGVZ/9GIPmGu3P@oden.dyn.berto.se> (raw)
In-Reply-To: <87czoblyyi.wl-kuninori.morimoto.gx@renesas.com>
Hello Morimoro-san,
Thanks for your test.
On 2021-10-12 12:11:01 +0900, Kuninori Morimoto wrote:
>
> Hi Niklas
>
> Thank you for the patches.
>
> > 1. Check that the driver uses the fused values, this is showed by the
> > log message, dev_info(dev, "Using fused calibration values\n"); is
> > trigged when the driver probe.
> >
> > 2. Check the temperature readings in sysfs are reasonable, the values are
> > in millidegree Celsius. On my system that uses the coefficients from
> > the driver I have 41-42 degrees Celsius at the moment.
> >
> > # grep . /sys/class/thermal/thermal_zone*/temp
> > /sys/class/thermal/thermal_zone0/temp:41000
> > /sys/class/thermal/thermal_zone1/temp:42000
> > /sys/class/thermal/thermal_zone2/temp:41000
>
> I checkout:ed v5.15-rc4, and apply your patches.
> This is the result
>
> --- log ----
> ...
> [ 1.516781] i2c-rcar e6510000.i2c: probed
> [ 1.532108] i2c-rcar e66d8000.i2c: probed
> => [ 1.539314] rcar_gen3_thermal e6198000.thermal: Using fused calibration values
> [ 1.551116] rcar_gen3_thermal e6198000.thermal: TSC0: Loaded 1 trip points
> [ 1.562274] rcar_gen3_thermal e6198000.thermal: TSC1: Loaded 1 trip points
> [ 1.573413] rcar_gen3_thermal e6198000.thermal: TSC2: Loaded 2 trip points
> [ 1.595676] random: fast init done
> [ 1.612993] NET: Registered PF_PACKET protocol family
> ...
> # login
> => # grep . /sys/class/thermal/thermal_zone*/temp
> /sys/class/thermal/thermal_zone0/temp:37000
> /sys/class/thermal/thermal_zone1/temp:38500
> /sys/class/thermal/thermal_zone2/temp:38500
>
> I'm happy if these are the expected.
>
> Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
These are reasonable temperature readings, unless you moved to an igloo
to live with the penguins :-)
Thanks again for locating a board and taking the time to test this
series much appreciated!
>
> Thank you for your help !!
>
> Best regards
> ---
> Kuninori Morimoto
--
Regards,
Niklas Söderlund
prev parent reply other threads:[~2021-10-12 8:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-11 22:58 [PATCH 0/2] thermal: rcar_gen3_thermal: Read calibration from fuses Niklas Söderlund
2021-10-11 22:58 ` [PATCH 1/2] thermal: rcar_gen3_thermal: Store thcode and ptat in priv data Niklas Söderlund
2021-10-13 13:12 ` Geert Uytterhoeven
2021-10-11 22:58 ` [PATCH 2/2] thermal: rcar_gen3_thermal: Read calibration from hardware Niklas Söderlund
2021-10-13 13:27 ` Geert Uytterhoeven
2021-10-12 3:11 ` [PATCH 0/2] thermal: rcar_gen3_thermal: Read calibration from fuses Kuninori Morimoto
2021-10-12 8:24 ` Niklas Söderlund [this message]
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=YWVGVZ/9GIPmGu3P@oden.dyn.berto.se \
--to=niklas.soderlund+renesas@ragnatech.se \
--cc=daniel.lezcano@linaro.org \
--cc=geert@linux-m68k.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=linux-pm@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
/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