summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/thermal/st,thermal-spear1340.yaml
blob: e3462a97469139532cae2f8295749b646f1d87f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/thermal/st,thermal-spear1340.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: SPEAr Thermal Sensor

maintainers:
  - Viresh Kumar <vireshk@kernel.org>

properties:
  compatible:
    const: st,thermal-spear1340

  reg:
    maxItems: 1

  st,thermal-flags:
    description: flags used to enable thermal sensor
    $ref: /schemas/types.yaml#/definitions/uint32

required:
  - compatible
  - reg
  - st,thermal-flags

additionalProperties: false

examples:
  - |
    thermal@fc000000 {
      compatible = "st,thermal-spear1340";
      reg = <0xfc000000 0x1000>;
      st,thermal-flags = <0x7000>;
    };