Skip to content

Commit

Permalink
doc/sensors: be explicit about the encoding of sensor ID/handle not b…
Browse files Browse the repository at this point in the history
…eing ABI

Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
stewartsmith committed Dec 8, 2016
1 parent 33fada1 commit 2bcffb9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion doc/device-tree/ibm,opal/sensors.rst
Expand Up @@ -22,7 +22,8 @@ Each node has a minimum set of properties describing the sensor :

- a "sensor-data" property giving a unique handler for the
OPAL_SENSOR_READ call to be used by Linux to get the value of
a sensor attribute. A sensor handler has the following encoding : ::
a sensor attribute. This value is opaque to the OS but is *currently*
constructed using the following encoding : ::

| Attr. |Fam|Res. | Resource |
| Number |ily|Class| Id |
Expand Down
5 changes: 3 additions & 2 deletions doc/opal-api/opal-sensor-read-88.rst
Expand Up @@ -2,8 +2,9 @@ OPAL_SENSOR_READ
================

The OPAL sensor call reads a sensor data using a unique handler to
identity the targeted sensor.

identity the targeted sensor. The `sensor_handler` is provided
via the device tree and is opaque to the OS (although we currently
do use an encoding scheme).

This call can be asynchronous, when a message needs to be sent to a
service processor for example. In this case, the call will return
Expand Down

0 comments on commit 2bcffb9

Please sign in to comment.