All of lore.kernel.org
 help / color / mirror / Atom feed
* Freescale IMX6 active cooling
@ 2015-11-16  9:43 Catalin Crenguta
  2015-11-16 14:51 ` Fabio Estevam
  2015-11-17  6:12 ` Fwd: " Catalin Crenguta
  0 siblings, 2 replies; 14+ messages in thread
From: Catalin Crenguta @ 2015-11-16  9:43 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

I'm trying to use a GPIO Fan to cool down a Riotboard (I.MX6 Solo).
I've read [0], investigated the driver which provides the on-die
temperature ( fsl,imx6q-tempmon [1]) but it seems to provide the
temperature by creating a thermal zone (relevant dts: [2][3][4]).
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 ?

Best regards,
Catalin Crenguta

[0] http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/thermal/thermal.txt
[1] http://lxr.free-electrons.com/source/drivers/thermal/imx_thermal.c
[2] http://lxr.free-electrons.com/source/arch/arm/boot/dts/imx6dl-riotboard.dts
[3] http://lxr.free-electrons.com/source/arch/arm/boot/dts/imx6dl.dtsi
[4] http://lxr.free-electrons.com/source/arch/arm/boot/dts/imx6qdl.dtsi

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

end of thread, other threads:[~2015-11-18 21:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-16  9:43 Freescale IMX6 active cooling Catalin Crenguta
2015-11-16 14:51 ` Fabio Estevam
2015-11-17  9:38   ` Jon Nettleton
2015-11-17 12:49     ` Catalin Crenguta
2015-11-17 12:49       ` Catalin Crenguta
2015-11-18  4:53       ` Sean Cross
2015-11-18  4:53         ` Sean Cross
2015-11-18 10:00         ` Catalin Crenguta
2015-11-18 10:00           ` Catalin Crenguta
2015-11-18 21:56           ` Eduardo Valentin
2015-11-18 21:56             ` Eduardo Valentin
2015-11-17  6:12 ` Fwd: " Catalin Crenguta
2015-11-17  8:23   ` Viresh Kumar
2015-11-17  9:56   ` Fwd: " Javi Merino

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.