lkml.org 
[lkml]   [2021]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] SUNIX SDC PCIe multi-function card core support
Date
From: Morris Ku <saumah@gmail.com>

Add support for SUNIX SDC PCIe multi-function card

Cc: Jason Lee <jason_lee@sunix.com>
Cc: Taian Chen <taian.chen@sunix.com>
Cc: Morris Ku <morris_ku@sunix.com>
Signed-off-by: Morris Ku <saumah@gmail.com>
---
sunix-sdc.h | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 sunix-sdc.h

diff --git a/drivers/mfd/sunix-sdc.h b/drivers/mfd/sunix-sdc.h
new file mode 100644
index 0000000..ce8f6c1
--- /dev/null
+++ b/sunix-sdc.h
@@ -0,0 +1,24 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * SUNIX SDC PCIe multi-function card core support.
+ *
+ * Copyright (C) 2021, SUNIX Co., Ltd.
+ *
+ */
+
+#ifndef __SUNIX_SDC_H
+#define __SUNIX_SDC_H
+
+struct device;
+
+struct sunix_sdc_platform_info {
+ struct resource *b0_mem;
+ struct resource *b1_io;
+ struct resource *b2_mem;
+ int irq;
+};
+
+int sunix_sdc_probe(struct device *dev, struct sunix_sdc_platform_info *info);
+void sunix_sdc_remove(struct device *dev);
+
+#endif // __SUNIX_SDC_H
--
2.20.1
\
 
 \ /
  Last update: 2021-06-25 10:55    [W:0.027 / U:1.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site