* [PATCH] SUNIX SDC PCIe multi-function card core support
@ 2021-06-25 8:55 Moriis Ku
0 siblings, 0 replies; only message in thread
From: Moriis Ku @ 2021-06-25 8:55 UTC (permalink / raw)
To: lee.jones; +Cc: linux-kernel, jason_lee, taian.chen, morris_ku, Morris Ku
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-25 8:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 8:55 [PATCH] SUNIX SDC PCIe multi-function card core support Moriis Ku
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®