About the thermal sensor driver on H3/A64/H5
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
Hello,
Quoted 1 line · Icenowy Zheng
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
Signature · 1 line
Vincent Legoll