mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 19:31:53 +00:00
329fe7b14d
Thermal sensor needs pll3_usb_otg when measuring temperature, otherwise the temperature read will be incorrect, so need to enable this clk before sensor working, for alarm function, as hardware will take measurement periodically, so we should keep this clk always on once alarm function is enabled. Signed-off-by: Anson Huang <b20788@freescale.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
22 lines
627 B
Plaintext
22 lines
627 B
Plaintext
* 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.
|
|
|
|
Optional properties:
|
|
- clocks : thermal sensor's clock source.
|
|
|
|
Example:
|
|
|
|
tempmon {
|
|
compatible = "fsl,imx6q-tempmon";
|
|
fsl,tempmon = <&anatop>;
|
|
fsl,tempmon-data = <&ocotp>;
|
|
clocks = <&clks 172>;
|
|
};
|