From a298f3767469f28a0f005d8717cb866a50110bac Mon Sep 17 00:00:00 2001 From: Shilpasri G Bhat Date: Thu, 10 Aug 2017 08:47:04 +0530 Subject: 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 Signed-off-by: Stewart Smith --- hw/occ.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/occ.c') diff --git a/hw/occ.c b/hw/occ.c index 03291ae..78c6a6a 100644 --- a/hw/occ.c +++ b/hw/occ.c @@ -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); } } -- cgit v1.1