Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/thermal/fsl,scu-thermal.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: i.MX SCU Client Device Node - Thermal Based on SCU Message Protocol |
| 8 | |
| 9 | maintainers: |
| 10 | - Dong Aisheng <aisheng.dong@nxp.com> |
| 11 | |
| 12 | description: i.MX SCU Client Device Node |
| 13 | Client nodes are maintained as children of the relevant IMX-SCU device node. |
| 14 | |
| 15 | allOf: |
| 16 | - $ref: thermal-sensor.yaml# |
| 17 | |
| 18 | properties: |
| 19 | compatible: |
| 20 | items: |
| 21 | - enum: |
| 22 | - fsl,imx8dxl-sc-thermal |
| 23 | - fsl,imx8qxp-sc-thermal |
| 24 | - const: fsl,imx-sc-thermal |
| 25 | |
| 26 | '#thermal-sensor-cells': |
| 27 | const: 1 |
| 28 | |
| 29 | required: |
| 30 | - compatible |
| 31 | - '#thermal-sensor-cells' |
| 32 | |
| 33 | additionalProperties: false |
| 34 | |
| 35 | examples: |
| 36 | - | |
| 37 | thermal-sensor { |
| 38 | compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal"; |
| 39 | #thermal-sensor-cells = <1>; |
| 40 | }; |