diff options
author | Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> | 2017-08-10 08:47:04 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-11 16:37:29 +1000 |
commit | a298f3767469f28a0f005d8717cb866a50110bac (patch) | |
tree | 10ec8e0c8a86287cb8318391b4eaab0c7317155d /hw/occ.c | |
parent | 98e5c27e15e355de01a6c8f362be3e1ee95ff014 (diff) | |
download | skiboot-a298f3767469f28a0f005d8717cb866a50110bac.zip skiboot-a298f3767469f28a0f005d8717cb866a50110bac.tar.gz skiboot-a298f3767469f28a0f005d8717cb866a50110bac.tar.bz2 |
sensor-groups : occ: Add 'ops' DT property
Add new device-tree property 'ops' to define different operations
supported on each sensor-group.
Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/occ.c')
-rw-r--r-- | hw/occ.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1533,6 +1533,7 @@ void occ_add_sensor_groups(struct dt_node *sg, u32 *phandles, int nr_phandles, dt_add_property_string(node, "type", limits[j].str); dt_add_property_cells(node, "ibm,chip-id", chipid); dt_add_property(node, "sensors", phandles, nr_phandles); + dt_add_property_cells(node, "ops", OPAL_SENSOR_GROUP_CLEAR); } } |