-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thermal: add imx thermal driver support
This is based on the initial imx thermal work done by Rob Lee <rob.lee@linaro.org> (Not sure if the email address is still valid). Since he is no longer interested in the work and I have rewritten a significant amount of the code, I just took the authorship over from him. It adds the imx thermal support using Temperature Monitor (TEMPMON) block found on some Freescale i.MX SoCs. The driver uses syscon regmap interface to access TEMPMON control registers and calibration data, and supports cpufreq as the cooling device. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
- Loading branch information
Shawn Guo
authored and
Eduardo Valentin
committed
Aug 13, 2013
1 parent
ace120d
commit ca3de46
Showing
4 changed files
with
426 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
* Temperature Monitor (TEMPMON) on Freescale i.MX SoCs | ||
|
||
Required properties: | ||
- compatible : "fsl,imx6q-thermal" | ||
- fsl,tempmon : phandle pointer to system controller that contains TEMPMON | ||
control registers, e.g. ANATOP on imx6q. | ||
- fsl,tempmon-data : phandle pointer to fuse controller that contains TEMPMON | ||
calibration data, e.g. OCOTP on imx6q. The details about calibration data | ||
can be found in SoC Reference Manual. | ||
|
||
Example: | ||
|
||
tempmon { | ||
compatible = "fsl,imx6q-tempmon"; | ||
fsl,tempmon = <&anatop>; | ||
fsl,tempmon-data = <&ocotp>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.