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