aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/misc/keba.h
diff options
context:
space:
mode:
authorGerhard Engleder <eg@keba.com>2024-10-11 21:12:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-13 17:16:57 +0200
commitf965d315bcbd65adfe5e3c161e46b5dc0a463f68 (patch)
treea133af8b9f731c50805271ce66a8addc9441e23c /include/linux/misc/keba.h
parentmisc: keba: Support EEPROM sections as separate devices (diff)
downloadwireguard-linux-f965d315bcbd65adfe5e3c161e46b5dc0a463f68.tar.xz
wireguard-linux-f965d315bcbd65adfe5e3c161e46b5dc0a463f68.zip
misc: keba: Add fan device
Add support for the fan auxiliary device. This enables monitoring of the fan. Signed-off-by: Gerhard Engleder <eg@keba.com> Link: https://lore.kernel.org/r/20241011191257.19702-7-gerhard@engleder-embedded.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/misc/keba.h')
-rw-r--r--include/linux/misc/keba.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/misc/keba.h b/include/linux/misc/keba.h
index 1bd5409c6f6f..451777acc262 100644
--- a/include/linux/misc/keba.h
+++ b/include/linux/misc/keba.h
@@ -37,4 +37,14 @@ struct keba_spi_auxdev {
struct spi_board_info *info;
};
+/**
+ * struct keba_fan_auxdev - KEBA fan auxiliary device
+ * @auxdev: auxiliary device object
+ * @io: address range of fan controller IO memory
+ */
+struct keba_fan_auxdev {
+ struct auxiliary_device auxdev;
+ struct resource io;
+};
+
#endif /* _LINUX_MISC_KEBA_H */