aboutsummaryrefslogtreecommitdiff
path: root/kernel/ethosu_device.h
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2023-01-04 17:09:28 +0100
committerKristofer Jonsson <kristofer.jonsson@arm.com>2023-02-02 16:11:45 +0100
commitb42bc0b95dcc5fac60d52e956056fd46bfe2beb9 (patch)
tree3e739e1d609a669cdfef21ffb302fcfb92423ada /kernel/ethosu_device.h
parenta70bfde653b44763e2f4d230d30aa8382c1ac5f9 (diff)
downloadethos-u-linux-driver-stack-b42bc0b95dcc5fac60d52e956056fd46bfe2beb9.tar.gz
Removing watchdog and reset
Removing watchdog and firmware reset as a preparations for the migrations to rpmsg. Change-Id: Ic1053e3f4301ecadbde8c59dbaed437625a0a5ea
Diffstat (limited to 'kernel/ethosu_device.h')
-rw-r--r--kernel/ethosu_device.h24
1 files changed, 7 insertions, 17 deletions
diff --git a/kernel/ethosu_device.h b/kernel/ethosu_device.h
index d1e4334..8e81f91 100644
--- a/kernel/ethosu_device.h
+++ b/kernel/ethosu_device.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020-2022 Arm Limited.
+ * Copyright 2020-2023 Arm Limited and/or its affiliates
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
@@ -27,7 +27,6 @@
#include "uapi/ethosu.h"
#include "ethosu_mailbox.h"
-#include "ethosu_watchdog.h"
#include <linux/device.h>
#include <linux/cdev.h>
@@ -38,20 +37,16 @@
* Types
****************************************************************************/
-struct reset_control;
-
/**
* struct ethosu_device - Device structure
*/
struct ethosu_device {
- struct device *dev;
- struct cdev cdev;
- struct class *class;
- dev_t devt;
- struct mutex mutex;
- struct ethosu_mailbox mailbox;
- struct ethosu_watchdog watchdog;
- struct reset_control *reset;
+ struct device *dev;
+ struct cdev cdev;
+ struct class *class;
+ dev_t devt;
+ struct mutex mutex;
+ struct ethosu_mailbox mailbox;
};
/****************************************************************************
@@ -75,9 +70,4 @@ int ethosu_dev_init(struct ethosu_device *edev,
*/
void ethosu_dev_deinit(struct ethosu_device *edev);
-/**
- * ethosu_firmware_reset() - Reset the device running firmware
- */
-int ethosu_firmware_reset(struct ethosu_device *edev);
-
#endif /* ETHOSU_DEVICE_H */