Debian Codegraph @

dtschema/schemas/thermal/thermal.yaml

raw
1 # SPDX-License-Identifier: BSD-2-Clause
2 # Copyright 2023 Collabora Ltd.
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/thermal/thermal.yaml#
6 $schema: http://devicetree.org/meta-schemas/base.yaml#
7
8 title: Thermal Consumer Common Properties
9
10 maintainers:
11 - Rob Herring <[email protected]>
12
13 # always select the core schema
14 select: true
15
16 properties:
17 thermal-zones:
18 anyOf:
19 - type: object # for nodes named 'thermal-zones'
20 - $ref: /schemas/types.yaml#/definitions/phandle-array
21 description: List of thermal zone phandles, one for each
22 thermal zone input to the device.
23
24 thermal-zone-names:
25 $ref: /schemas/types.yaml#/definitions/string-array
26 description: List of thermal zone name strings sorted in the
27 same order as the thermal-zones property. Consumer drivers
28 will use thermal-zone-names to match thermal zone input
29 names with thermal zone specifiers.
30
31 dependentRequired:
32 thermal-zone-names: [ thermal-zones ]
33
34 additionalProperties: true