Freescale IMX6 active cooling
jon.nettleton at gmail.com
Tue Nov 17 01:38:13 PST 2015
On Mon, Nov 16, 2015 at 3:51 PM, Fabio Estevam <festevam at gmail.com> wrote:
> On Mon, Nov 16, 2015 at 7:43 AM, Catalin Crenguta
> <catalin.crenguta at gmail.com> wrote:
>> I'm trying to use a GPIO Fan to cool down a Riotboard (I.MX6 Solo).
>> I've read , investigated the driver which provides the on-die
>> temperature ( fsl,imx6q-tempmon ) but it seems to provide the
>> temperature by creating a thermal zone (relevant dts: ).
>> I don't know how I should proceed:
>> 1) Should I research how can I attach a cooling device to this already
>> existing thermal zone? (I believe it involves modifying the existing
>> driver by adding new device tree handles)
>> 2) Should I create another thermal zone, use the existing driver to
>> get the temperature and bind to a cooling device?
>> 3) Should I modify the existing driver to not create a thermal zone
>> and move the creation in the device tree using the of-thermal driver ?
> Maybe you could add the following folks on Cc?
> M: Amit Daniel Kachhap <amit.kachhap at gmail.com>
> M: Viresh Kumar <viresh.kumar at linaro.org>
> M: Javi Merino <javi.merino at arm.com>
> L: linux-pm at vger.kernel.org
> S: Supported
> F: Documentation/thermal/cpu-cooling-api.txt
> F: drivers/thermal/cpu_cooling.c
> F: include/linux/cpu_cooling.h
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.
More information about the linux-arm-kernel