summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDinesh Maniyam <[email protected]>2025-08-06 12:32:28 +0800
committerHeiko Schocher <[email protected]>2025-08-06 08:39:39 +0200
commit03caa3769a7cc5fc5b13af5f7221e258df3c33b1 (patch)
treecb30d0a85af87ff828a9fbcf00ee9bac7a27666f /drivers
parenta19a6e7124a4225220e1d53d021669332ef81628 (diff)
drivers: i3c: Enabled Kconfig and Makefile for DWI3C
Enable the Kconfig and Makefile for the MIPI DWI3C driver. hs: fixed typo on drivers/i3c/master/Kconfig Signed-off-by: Dinesh Maniyam <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i3c/Kconfig6
-rw-r--r--drivers/i3c/Makefile1
-rw-r--r--drivers/i3c/master/Kconfig11
-rw-r--r--drivers/i3c/master/Makefile3
4 files changed, 21 insertions, 0 deletions
diff --git a/drivers/i3c/Kconfig b/drivers/i3c/Kconfig
index 1d76a70eaa8..d4451057de0 100644
--- a/drivers/i3c/Kconfig
+++ b/drivers/i3c/Kconfig
@@ -13,3 +13,9 @@ menuconfig I3C
If you want I3C support, you should say Y here and also to the
specific driver for your bus adapter(s) below.
+
+if I3C
+
+source "drivers/i3c/master/Kconfig"
+
+endif # I3C
diff --git a/drivers/i3c/Makefile b/drivers/i3c/Makefile
index 5bb44a8d64f..5ddc4743c86 100644
--- a/drivers/i3c/Makefile
+++ b/drivers/i3c/Makefile
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
obj-y := i3c-uclass.o device.o master.o
+obj-y += master/
diff --git a/drivers/i3c/master/Kconfig b/drivers/i3c/master/Kconfig
new file mode 100644
index 00000000000..79776f60ae4
--- /dev/null
+++ b/drivers/i3c/master/Kconfig
@@ -0,0 +1,11 @@
+config DW_I3C_MASTER
+ tristate "Synopsys DesignWare I3C master driver"
+ depends on I3C
+ help
+ Support for Synopsys DesignWare MIPI I3C Controller.
+
+ For details please see
+ https://www.synopsys.com/dw/ipdir.php?ds=mipi_i3c
+
+ This driver can also be built as a module. If so, the module
+ will be called dw-i3c-master.
diff --git a/drivers/i3c/master/Makefile b/drivers/i3c/master/Makefile
new file mode 100644
index 00000000000..c7562f1aa33
--- /dev/null
+++ b/drivers/i3c/master/Makefile
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
+
+obj-$(CONFIG_DW_I3C_MASTER) += dw-i3c-master.o