Freescale IMX6 active cooling
xobs at kosagi.com
Tue Nov 17 20:53:39 PST 2015
On 17/11/2015 8:49 PM, Catalin Crenguta wrote:
> On Tue, Nov 17, 2015 at 11:38 AM, Jon Nettleton <jon.nettleton at gmail.com> wrote:
>> I would recommend you take a look at the work that xobs did for the
>> Novena Heirloom. If you look at this branch starting around Aug 3 you
>> can see where he has converted iMX6 to use generic thermal zones and
>> adds support for for an active cooling device/fan.
> Thank you!
> I have patched my 4.3 kernel (they don't apply cleanly but they are
> straight forward to modify), added a gpio-fan and the corresponding
> thermal-zone in my DTB and it works!
> Sean Cross, are you interested in bringing this to mainline?
Yes, this does seem like the sort of thing that should make it into
Would you like me to submit it as a patch against 4.3? I'm unclear how
much should be added.
For example, the current code talks directly to the cpufreq cooling
system, but that becomes unnecessary if using generic thermal zones,
since the zones will bind cpufreq to the thermal sensor. Then again,
with such a patch, boards that do not explicitly update their device
tree to support generic thermal zones will need to have their entries
Perhaps the correct order of patches is:
1) Add generic thermal zone support
2) Remove zone and cdev from imx_thermal
3) Add cpufreq-cooling to imx6
4) Add cpufreq-cooling to all other SoCs that support imx_thermal
5) Add default generic thermal zone support to imx6qdl.dtsi
Comments on how it should be handled?
More information about the linux-arm-kernel