summaryrefslogtreecommitdiff
path: root/drivers/i3c/master/mipi-i3c-hci/dct.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-12-19 12:46:52 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2020-12-19 12:46:52 -0800
commit190daf19206783bb16655db14e604a0d724c4bbf (patch)
tree39a13cd71d8a42f99bdcf1e2a57bf82bf50eed68 /drivers/i3c/master/mipi-i3c-hci/dct.h
parent11c336526e2504d34c70fcf11a3642ae333a5085 (diff)
parent95393f3e07ab53855b91881692a4a5b52dcdc03c (diff)
Merge tag 'i3c/for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux
Pull i3c updates from Boris Brezillon: - Add the HCI driver - Add a missing destroy_workqueue() in an error path - Flag Alexandre Belloni as the new maintainer * tag 'i3c/for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux: i3c/master/mipi-i3c-hci: quiet maybe-unused variable warning i3c: Resign from my maintainer role i3c/master: Fix uninitialized variable next_addr i3c/master: introduce the mipi-i3c-hci driver dt-bindings: i3c: MIPI I3C Host Controller Interface i3c master: fix missing destroy_workqueue() on error in i3c_master_register
Diffstat (limited to 'drivers/i3c/master/mipi-i3c-hci/dct.h')
-rw-r--r--drivers/i3c/master/mipi-i3c-hci/dct.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/i3c/master/mipi-i3c-hci/dct.h b/drivers/i3c/master/mipi-i3c-hci/dct.h
new file mode 100644
index 000000000000..1028e0b40d89
--- /dev/null
+++ b/drivers/i3c/master/mipi-i3c-hci/dct.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (c) 2020, MIPI Alliance, Inc.
+ *
+ * Author: Nicolas Pitre <npitre@baylibre.com>
+ *
+ * Common DCT related stuff
+ */
+
+#ifndef DCT_H
+#define DCT_H
+
+void i3c_hci_dct_get_val(struct i3c_hci *hci, unsigned int dct_idx,
+ u64 *pid, unsigned int *dcr, unsigned int *bcr);
+
+#endif