imx8mm-thermal.yaml (15114e8fb58ffd574da83951e89cb5ab0055cc1e) imx8mm-thermal.yaml (499f5e3c7cf77355f663ed602334a1b42223c78a)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/thermal/imx8mm-thermal.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP i.MX8M Mini Thermal
8
9maintainers:
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/thermal/imx8mm-thermal.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP i.MX8M Mini Thermal
8
9maintainers:
10 - Anson Huang <Anson.Huang@nxp.com>
10 - Shawn Guo <shawnguo@kernel.org>
11 - Sascha Hauer <s.hauer@pengutronix.de>
12 - Fabio Estevam <festevam@gmail.com>
11
12description: |
13 i.MX8MM has TMU IP to allow temperature measurement, there are
14 currently two distinct major versions of the IP that is supported
15 by a single driver. The IP versions are named v1 and v2, v1 is
16 for i.MX8MM which has ONLY 1 sensor, v2 is for i.MX8MP which has
17 2 sensors.
18
13
14description: |
15 i.MX8MM has TMU IP to allow temperature measurement, there are
16 currently two distinct major versions of the IP that is supported
17 by a single driver. The IP versions are named v1 and v2, v1 is
18 for i.MX8MM which has ONLY 1 sensor, v2 is for i.MX8MP which has
19 2 sensors.
20
19$ref: thermal-sensor.yaml#
20
21properties:
22 compatible:
23 oneOf:
24 - enum:
25 - fsl,imx8mm-tmu
26 - fsl,imx8mp-tmu
27 - items:
28 - const: fsl,imx8mn-tmu

--- 19 unchanged lines hidden (view full) ---

48 enum:
49 - 0
50 - 1
51
52required:
53 - compatible
54 - reg
55 - clocks
21properties:
22 compatible:
23 oneOf:
24 - enum:
25 - fsl,imx8mm-tmu
26 - fsl,imx8mp-tmu
27 - items:
28 - const: fsl,imx8mn-tmu

--- 19 unchanged lines hidden (view full) ---

48 enum:
49 - 0
50 - 1
51
52required:
53 - compatible
54 - reg
55 - clocks
56 - '#thermal-sensor-cells'
56
57
57unevaluatedProperties: false
58additionalProperties: false
58
59examples:
60 - |
61 #include <dt-bindings/clock/imx8mm-clock.h>
62
63 thermal-sensor@30260000 {
64 compatible = "fsl,imx8mm-tmu";
65 reg = <0x30260000 0x10000>;
66 clocks = <&clk IMX8MM_CLK_TMU_ROOT>;
67 #thermal-sensor-cells = <0>;
68 };
69
70...
59
60examples:
61 - |
62 #include <dt-bindings/clock/imx8mm-clock.h>
63
64 thermal-sensor@30260000 {
65 compatible = "fsl,imx8mm-tmu";
66 reg = <0x30260000 0x10000>;
67 clocks = <&clk IMX8MM_CLK_TMU_ROOT>;
68 #thermal-sensor-cells = <0>;
69 };
70
71...