* [linux-sunxi] About the thermal sensor driver on H3/A64/H5
[not found] <20170328191855.69809125838@relay.mailchannels.net>
@ 2017-03-29 12:29 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2017-03-29 12:29 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Mar 29, 2017 at 03:18:43AM +0800, Icenowy Zheng wrote:
>
> 2017?3?29? ??3:14? Vincent Legoll <vincent.legoll@gmail.com>???
> >
> > Hello,
> >
> > On Tue, Mar 28, 2017 at 6:40 PM, Icenowy Zheng <icenowy@aosc.io> wrote:
> > > I'm trying to do a mainlinable thermal driver for H3/A64/H5 SoCs;
> >
> > What's the relationship with:
> > - DVFS - from Ond?ej Jirman
> > - THS - from Josef Gajdusek
> >
> > See : http://linux-sunxi.org/Linux_mainlining_effort#Minor_drivers
> >
> > Are those not suitable ? unrelated ?
>
> The second one is reject by Maxime.
>
> The DVFS will come in after thermal is proper.
Not really, we can totally do DVFS without thermal support. What we
can't do is thermal throttling, which is related, but not a hard
dependency.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170329/51e1d2ee/attachment-0001.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
* About the thermal sensor driver on H3/A64/H5
@ 2017-03-28 16:40 Icenowy Zheng
2017-03-28 19:14 ` [linux-sunxi] " Vincent Legoll
0 siblings, 1 reply; 2+ messages in thread
From: Icenowy Zheng @ 2017-03-28 16:40 UTC (permalink / raw)
To: linux-arm-kernel
Hi everyone,
I'm trying to do a mainlinable thermal driver for H3/A64/H5 SoCs;
however, I found some problem:
Maxime have told me to reuse the code for A10/A13/A31/A33 thermal
driver -- I tried, and it works on H3.
However, as it is an IIO driver, some failure occured on H5 -- the
temperature sensor is not linear on H5: it has a different formula
when it's higher than 70 Celsius degree.
In addition, a lot of code for A33 is in fact rewrite for H3, due to
totally changed register map. But H3/A64/H5 become a new group with
nearly identical register map.
Is it still worth to implement it with the IIO driver? Or should we
start a new thermal sensor-based driver? (For both I have already
local tested code at least for H3)
Thanks,
Icenowy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-29 12:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20170328191855.69809125838@relay.mailchannels.net>
2017-03-29 12:29 ` [linux-sunxi] About the thermal sensor driver on H3/A64/H5 Maxime Ripard
2017-03-28 16:40 Icenowy Zheng
2017-03-28 19:14 ` [linux-sunxi] " Vincent Legoll
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox