Hello Dniesh,

On 28.07.25 08:56, dinesh.mani...@altera.com wrote:
From: Dinesh Maniyam <dinesh.mani...@altera.com>

Enable the Kconfig and Makefile for the MIPI DWI3C driver.

Signed-off-by: Dinesh Maniyam <dinesh.mani...@altera.com>
---
  drivers/i3c/Kconfig         |  5 +++++
  drivers/i3c/Makefile        |  1 +
  drivers/i3c/master/Kconfig  | 11 +++++++++++
  drivers/i3c/master/Makefile |  3 +++
  4 files changed, 20 insertions(+)
  create mode 100644 drivers/i3c/master/Kconfig
  create mode 100644 drivers/i3c/master/Makefile

beside the typo Askar mentioned:

Reviewed-by: Heiko Schocher <h...@denx.de>

bye,
Heiko

diff --git a/drivers/i3c/Kconfig b/drivers/i3c/Kconfig
index fa68612787b..d4451057de0 100644
--- a/drivers/i3c/Kconfig
+++ b/drivers/i3c/Kconfig
@@ -14,3 +14,8 @@ 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..22bb7c21ea1
--- /dev/null
+++ b/drivers/i3c/master/Kconfig
@@ -0,0 +1,11 @@
+config DW_I3C_MASTER
+       tristate "Synospsys 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


--
DENX Software Engineering GmbH, Managing Director: Johanna Denk, Tabea Lutz
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: h...@denx.de

Reply via email to