aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/include/dts.h
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/skiboot/include/dts.h
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/skiboot/include/dts.h')
-rw-r--r--roms/skiboot/include/dts.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/roms/skiboot/include/dts.h b/roms/skiboot/include/dts.h
new file mode 100644
index 000000000..d506b71cf
--- /dev/null
+++ b/roms/skiboot/include/dts.h
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
+/* Copyright 2013-2017 IBM Corp. */
+
+#ifndef __DTS_H
+#define __DTS_H
+
+#include <stdint.h>
+
+extern int64_t dts_sensor_read(u32 sensor_hndl, int token, __be64 *sensor_data);
+extern bool dts_sensor_create_nodes(struct dt_node *sensors);
+
+#endif /* __DTS_H */