[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZcjYk8MD4jotKNcq@skv.local>
Date: Sun, 11 Feb 2024 17:24:19 +0300
From: Andrey Skvortsov <andrej.skvortzov@...il.com>
To: Andre Przywara <andre.przywara@....com>
Cc: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Samuel Holland <samuel@...lland.org>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Arnaud Ferraris <arnaud.ferraris@...labora.com>,
Alexey Klimov <alexey.klimov@...aro.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>
Subject: Re: [PATCH] arm64: dts: allwinner: a64: Add thermal trip points for
GPU
Hi Andre,
On 24-02-11 12:52, Andre Przywara wrote:
> On Sun, 11 Feb 2024 13:53:26 +0300
> Andrey Skvortsov <andrej.skvortzov@...il.com> wrote:
>
> Hi Andrey,
>
> > From: Alexey Klimov <alexey.klimov@...aro.org>
> >
> > Without trip points for GPU, the following errors are printed in the
> > dmesg log and the sun8i-thermal driver fails to load:
>
> So how does that post differ from Alexey one's a few weeks back:
> https://lore.kernel.org/linux-arm-kernel/20240101000008.65747-1-alexey.klimov@linaro.org/
> It seems like the same patch?
Yes, it's the same patch. I've added only information about failed
dtbs_check errors in already supported boards to commit message.
I've found this patch from June 2023 without any feedback. [1] Since I've
worked on dts changes for PinePhone A64, I've decided to resend
it. Sorry, I wasn't aware that Alexey resent it in the mean time. It's
better to continue discussion in original Alexey's patch.
> And Jernej and I had some comments (no mentioning of "Linux" in commit
> message, add cooling maps, source of trip temperature values), can you
> please try to address them?
>
>
> > thermal_sys: Failed to find 'trips' node
> > thermal_sys: Failed to find trip points for thermal-sensor id=1
> > sun8i-thermal: probe of 1c25000.thermal-sensor failed with error -22
>
> I think it's pretty obvious that the trip points are missing when they
> shouldn't, so this does not need too much explanation or rationale in
> the commit message, so you can cut this short.
>
> > When thermal zones are defined, trip points definitions are mandatory.
> > Trip values for the GPU are assumed to be the same values as the CPU
> > ones. The available specs do not provide any hints about thermal regimes
> > for the GPU and it seems GPU is implemented on the same die as the CPU.
> >
> > 'make dtbs_check' complains about problem in dts for 18 A64-based boards
> > supported by the kernel:
> >
> > sun50i-a64-pine64.dtb: thermal-zones: gpu0-thermal: 'trips' is a required property
> > from schema $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml#
> > sun50i-a64-pine64.dtb: thermal-zones: gpu1-thermal: 'trips' is a required property
> > from schema $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml#
> >
> > Tested on Pine a64+ and PinePhone 1.2.
> >
> > Cc: Samuel Holland <samuel@...lland.org>
> > Cc: Jernej Skrabec <jernej.skrabec@...il.com>
> > Cc: Chen-Yu Tsai <wens@...e.org>
> > Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
> > Cc: devicetree@...r.kernel.org
> > Signed-off-by: Alexey Klimov <alexey.klimov@...aro.org>
> > Tested-by: Andrey Skvortsov <andrej.skvortzov@...il.com>
>
> You would need your Signed-off-by: here, since you send this, even when
> on Alexey's behalf.
>
> Cheers,
> Andre
>
1. https://lkml.org/lkml/2023/6/4/416
--
Best regards,
Andrey Skvortsov
Powered by blists - more mailing lists