aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCédric Le Goater <clg@fr.ibm.com>2015-03-09 21:56:14 +0100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-03-24 18:22:55 +1100
commit4c6ab2e4ab05111066c35ff37b6cb0f285242d30 (patch)
treecdae5583f3495b1a1b7d4cbf69a9dfc764533b34 /include
parent2d8952a581a857f010df38422ed7803d8be64061 (diff)
downloadskiboot-4c6ab2e4ab05111066c35ff37b6cb0f285242d30.zip
skiboot-4c6ab2e4ab05111066c35ff37b6cb0f285242d30.tar.gz
skiboot-4c6ab2e4ab05111066c35ff37b6cb0f285242d30.tar.bz2
dts: add device tree nodes for the core temperatures
This patch simply adds sensors nodes for the core temperatures. It uses the core PIR as a resource identifier to fit in the sensor model. The device tree nodes use the new layout. Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/dts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dts.h b/include/dts.h
index ed083a9..b37919f 100644
--- a/include/dts.h
+++ b/include/dts.h
@@ -20,5 +20,6 @@
#include <stdint.h>
extern int64_t dts_sensor_read(uint32_t sensor_hndl, uint32_t *sensor_data);
+extern bool dts_sensor_create_nodes(struct dt_node *sensors);
#endif /* __DTS_H */