xref: /linux/Documentation/devicetree/bindings/hwmon/ibm,opal-sensor.yaml (revision 5561d91b2cddab8b03a3160c195265febd1c51a6)
1*5561d91bSJavier Carrasco# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*5561d91bSJavier Carrasco%YAML 1.2
3*5561d91bSJavier Carrasco---
4*5561d91bSJavier Carrasco$id: http://devicetree.org/schemas/hwmon/ibm,opal-sensor.yaml#
5*5561d91bSJavier Carrasco$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5561d91bSJavier Carrasco
7*5561d91bSJavier Carrascotitle: IBM POWERNV platform sensors
8*5561d91bSJavier Carrasco
9*5561d91bSJavier Carrascomaintainers:
10*5561d91bSJavier Carrasco  - Javier Carrasco <javier.carrasco.cruz@gmail.com>
11*5561d91bSJavier Carrasco
12*5561d91bSJavier Carrascoproperties:
13*5561d91bSJavier Carrasco  compatible:
14*5561d91bSJavier Carrasco    enum:
15*5561d91bSJavier Carrasco      - ibm,opal-sensor-cooling-fan
16*5561d91bSJavier Carrasco      - ibm,opal-sensor-amb-temp
17*5561d91bSJavier Carrasco      - ibm,opal-sensor-power-supply
18*5561d91bSJavier Carrasco      - ibm,opal-sensor-power
19*5561d91bSJavier Carrasco
20*5561d91bSJavier Carrasco  sensor-id:
21*5561d91bSJavier Carrasco    description:
22*5561d91bSJavier Carrasco      An opaque id provided by the firmware to the kernel, identifies a
23*5561d91bSJavier Carrasco      given sensor and its attribute data.
24*5561d91bSJavier Carrasco    $ref: /schemas/types.yaml#/definitions/uint32
25*5561d91bSJavier Carrasco
26*5561d91bSJavier Carrascorequired:
27*5561d91bSJavier Carrasco  - compatible
28*5561d91bSJavier Carrasco  - sensor-id
29*5561d91bSJavier Carrasco
30*5561d91bSJavier CarrascoadditionalProperties: false
31*5561d91bSJavier Carrasco
32*5561d91bSJavier Carrascoexamples:
33*5561d91bSJavier Carrasco  - |
34*5561d91bSJavier Carrasco    sensor {
35*5561d91bSJavier Carrasco        compatible = "ibm,opal-sensor-cooling-fan";
36*5561d91bSJavier Carrasco        sensor-id = <0x7052107>;
37*5561d91bSJavier Carrasco    };
38