summaryrefslogtreecommitdiff
path: root/include/gsc.h
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2022-03-07 16:24:04 -0800
committerStefano Babic <sbabic@denx.de>2022-04-12 15:36:17 +0200
commit8479b9e6c9db6dc0971283c35d59ab07b289be52 (patch)
tree7529b665c4d9bb9ae6299e71b89ab408be7140dc /include/gsc.h
parent6bec6c169ff5f5c00e58d451c6afa90f89dc6903 (diff)
downloadu-boot-8479b9e6c9db6dc0971283c35d59ab07b289be52.tar.gz
u-boot-8479b9e6c9db6dc0971283c35d59ab07b289be52.tar.bz2
u-boot-8479b9e6c9db6dc0971283c35d59ab07b289be52.zip
drivers: misc: add Gateworks System Controller driver
Add a driver for the Gateworks System Controller used on Gateworks boards which provides a boot watchdog, power control, temperature monitor, and voltage ADCs. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'include/gsc.h')
-rw-r--r--include/gsc.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/gsc.h b/include/gsc.h
new file mode 100644
index 0000000000..132c312182
--- /dev/null
+++ b/include/gsc.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2022 Gateworks Corporation
+ */
+
+#ifndef _GSC_H_
+#define _GSC_H_
+
+/*
+ * board_gsc_info - Display additional board info
+ */
+void board_gsc_info(void);
+
+/*
+ * gsc_boot_wd_disable - disable the BOOT watchdog
+ *
+ * Return: 0 on success or negative error on failure
+ */
+int gsc_boot_wd_disable(void);
+
+#endif