]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
drivers: i3c: Enabled Kconfig and Makefile for DWI3C
authorDinesh Maniyam <dinesh.maniyam@altera.com>
Wed, 6 Aug 2025 04:32:28 +0000 (12:32 +0800)
committerHeiko Schocher <hs@denx.de>
Wed, 6 Aug 2025 06:39:39 +0000 (08:39 +0200)
Enable the Kconfig and Makefile for the MIPI DWI3C driver.

hs: fixed typo on drivers/i3c/master/Kconfig

Signed-off-by: Dinesh Maniyam <dinesh.maniyam@altera.com>
drivers/i3c/Kconfig
drivers/i3c/Makefile
drivers/i3c/master/Kconfig [new file with mode: 0644]
drivers/i3c/master/Makefile [new file with mode: 0644]

index 1d76a70eaa8d85f1d9935221d8916ba9a1df3f10..d4451057de0d8d5755d529194bb392f9af583af6 100644 (file)
@@ -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
index 5bb44a8d64f2e1ff5a29872faf202f17216ea9d6..5ddc4743c86b717c5f4d27c9a3edb5fe936371ee 100644 (file)
@@ -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 (file)
index 0000000..79776f6
--- /dev/null
@@ -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 (file)
index 0000000..c7562f1
--- /dev/null
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
+
+obj-$(CONFIG_DW_I3C_MASTER) += dw-i3c-master.o