[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190218093340.jcggm7jplpwrogsv@flea>
Date: Mon, 18 Feb 2019 10:33:40 +0100
From: Maxime Ripard <maxime.ripard@...tlin.com>
To: Frank Lee <tiny.windzz@...il.com>
Cc: Chen-Yu Tsai <wens@...e.org>, robh+dt@...nel.org,
mark.rutland@....com,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
devicetree@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/4] arm64: dts: allwinner: h6: Add CPU Operating
Performance Points table
Hi,
On Fri, Feb 15, 2019 at 10:09:51PM +0800, Frank Lee wrote:
> On Fri, Feb 15, 2019 at 9:56 PM Maxime Ripard <maxime.ripard@...tlin.com> wrote:
> >
> > Hi
> >
> > On Fri, Feb 15, 2019 at 12:56:03AM +0800, Frank Lee wrote:
> > > How about to implement a thermal driver that is not integrated with
> > > gpadc ?
> > >
> > > GPADC on soc is rarely used now.
> >
> > You mean GPADC in general, or the gpadc driver in particular?
> > Otherwise, yes, having a driver for the thermal sensor in the H6
> > sounds like a good plan for thermal throttling, but I don't see it as
> > a dependency for that whole series.
>
> At present, sunxi's thermal driver is integrated with the gpadc driver.
> I have a idea to implement the thermal driver alone. I haven't started yet,
> and it may take a while to do it.
>
> How about the plan to implement a thermal drive alone and put i
> under drivers/thermal?
The Thermal Sensor is basically a stripped down GPADC, which is why it
would make sense to have a single driver.
There was a pending series doing this that could be a good idea to
improve and merge:
https://lkml.org/lkml/2018/8/30/729
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists