linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* 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

* [linux-sunxi] About the thermal sensor driver on H3/A64/H5
  2017-03-28 16:40 About the thermal sensor driver on H3/A64/H5 Icenowy Zheng
@ 2017-03-28 19:14 ` Vincent Legoll
  0 siblings, 0 replies; 2+ messages in thread
From: Vincent Legoll @ 2017-03-28 19:14 UTC (permalink / raw)
  To: linux-arm-kernel

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 ?

Thanks

-- 
Vincent Legoll

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-28 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-28 16:40 About the thermal sensor driver on H3/A64/H5 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;
as well as URLs for NNTP newsgroup(s).