mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Moriis Ku <saumah@gmail.com>
To: lee.jones@linaro.org
Cc: linux-kernel@vger.kernel.org, jason_lee@sunix.com,
	taian.chen@sunix.com, morris_ku@sunix.com,
	Morris Ku <saumah@gmail.com>
Subject: [PATCH] SUNIX SDC PCIe multi-function card core support
Date: Fri, 25 Jun 2021 16:55:02 +0800	[thread overview]
Message-ID: <20210625085502.10524-1-saumah@gmail.com> (raw)

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


                 reply	other threads:[~2021-06-25  8:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210625085502.10524-1-saumah@gmail.com \
    --to=saumah@gmail.com \
    --cc=jason_lee@sunix.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=morris_ku@sunix.com \
    --cc=taian.chen@sunix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®