From: Dinesh Maniyam Date: Wed, 6 Aug 2025 04:32:28 +0000 (+0800) Subject: drivers: i3c: Enabled Kconfig and Makefile for DWI3C X-Git-Tag: v2025.10-rc2~14^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03caa3769a7cc5fc5b13af5f7221e258df3c33b1;p=pandora-u-boot.git 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 --- 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