Re: [PATCH v5 2/3] thermal: mediatek: Add LVTS drivers for SoC theraml zones

From: Ben Tseng
Date: Fri Jul 23 2021 - 02:17:43 EST


On Mon, 2021-06-21 at 13:26 +0200, Daniel Lezcano wrote:
> On 17/06/2021 13:47, Ben Tseng wrote:
> > From: Michael Kao <michael.kao@xxxxxxxxxxxx>
> >
> > Add a LVTS (Low voltage thermal sensor) driver to report junction
> > temperatures in Mediatek SoC and register the maximum temperature
> > of sensors and each sensor as a thermal zone.
>
> I think we already talked about that. We don't want a thermal sensor
> driver to aggregate the temperatures but create some kindof virtual
> sensor with a property (min, max, avg, ...) which is usable by
> anyone.
>
> [ ... ]
>
>
>

Dear Daniel,

Sorry for the late reply.

After survey ,I'm not sure whether the patch[1] is the architecture of
virtual thermal sensor which you commented.

Or, is there any existing framework on mainline already support virtual
sensor?
Could you help to provide reference to us?
Thank you so much.

[1]
https://patchwork.kernel.org/project/linux-pm/patch/1606466204-31657-1-git-send-email-gao.yunxiao6@xxxxxxxxx/

BRs
Ben