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/nvidia,tegra186-bpmp-thermal.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: NVIDIA Tegra186 (and later) BPMP thermal sensor |
| 8 | |
| 9 | maintainers: |
| 10 | - Thierry Reding <thierry.reding@gmail.com> |
| 11 | - Jon Hunter <jonathanh@nvidia.com> |
| 12 | |
| 13 | description: | |
| 14 | In Tegra186, the BPMP (Boot and Power Management Processor) implements |
| 15 | an interface that is used to read system temperatures, including CPU |
| 16 | cluster and GPU temperatures. This binding describes the thermal |
| 17 | sensor that is exposed by BPMP. |
| 18 | |
| 19 | The BPMP thermal node must be located directly inside the main BPMP |
| 20 | node. See ../firmware/nvidia,tegra186-bpmp.yaml for details of the |
| 21 | BPMP binding. |
| 22 | |
| 23 | This node represents a thermal sensor. See |
| 24 | |
| 25 | Documentation/devicetree/bindings/thermal/thermal-sensor.yaml |
| 26 | |
| 27 | for details of the core thermal binding. |
| 28 | |
| 29 | properties: |
| 30 | compatible: |
| 31 | enum: |
| 32 | - nvidia,tegra186-bpmp-thermal |
| 33 | - nvidia,tegra194-bpmp-thermal |
| 34 | |
| 35 | '#thermal-sensor-cells': |
| 36 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 37 | description: Number of cells needed in the phandle specifier to |
| 38 | identify a given sensor. Must be 1 and the single cell specifies |
| 39 | the sensor index. |
| 40 | const: 1 |
| 41 | |
| 42 | additionalProperties: false |