Merge branch 'drm-fixes-4.16' of git://people.freedesktop.org/~agd5f/linux into drm...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / thermal / imx-thermal.txt
1 * Temperature Monitor (TEMPMON) on Freescale i.MX SoCs
2
3 Required properties:
4 - compatible : "fsl,imx6q-tempmon" for i.MX6Q, "fsl,imx6sx-tempmon" for i.MX6SX.
5   i.MX6SX has two more IRQs than i.MX6Q, one is IRQ_LOW and the other is IRQ_PANIC,
6   when temperature is below than low threshold, IRQ_LOW will be triggered, when temperature
7   is higher than panic threshold, system will auto reboot by SRC module.
8 - fsl,tempmon : phandle pointer to system controller that contains TEMPMON
9   control registers, e.g. ANATOP on imx6q.
10 - nvmem-cells: A phandle to the calibration cells provided by ocotp.
11 - nvmem-cell-names: Should be "calib", "temp_grade".
12
13 Deprecated properties:
14 - fsl,tempmon-data : phandle pointer to fuse controller that contains TEMPMON
15   calibration data, e.g. OCOTP on imx6q.  The details about calibration data
16   can be found in SoC Reference Manual.
17
18 Direct access to OCOTP via fsl,tempmon-data is incorrect on some newer chips
19 because it does not handle OCOTP clock requirements.
20
21 Optional properties:
22 - clocks : thermal sensor's clock source.
23
24 Example:
25
26 tempmon {
27         compatible = "fsl,imx6q-tempmon";
28         fsl,tempmon = <&anatop>;
29         fsl,tempmon-data = <&ocotp>;
30         clocks = <&clks 172>;
31 };