summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDinesh Maniyam <dinesh.maniyam@altera.com>2025-08-06 12:32:27 +0800
committerHeiko Schocher <hs@denx.de>2025-08-06 08:38:26 +0200
commita19a6e7124a4225220e1d53d021669332ef81628 (patch)
tree7291bd44baf9dd7e1be73995c8baa24d0f776c73
parente49a513760893082313b8369dc7b08f98f1055e6 (diff)
drivers: Enabled Kconfig and Makefile for i3c support
Add new i3c driver to U-Boot drivers. Signed-off-by: Dinesh Maniyam <dinesh.maniyam@altera.com>
-rw-r--r--MAINTAINERS7
-rw-r--r--drivers/Kconfig2
-rw-r--r--drivers/Makefile1
-rw-r--r--drivers/i3c/Kconfig15
-rw-r--r--drivers/i3c/Makefile3
5 files changed, 28 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index cae855da60e..d6c4587bf86 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1249,6 +1249,13 @@ S: Maintained
T: git https://source.denx.de/u-boot/custodians/u-boot-i2c.git
F: drivers/i2c/
+I3C
+M: Dinesh <dinesh.maniyam@altera.com>
+S: Maintained
+T: git https://source.denx.de/u-boot/u-boot.git
+F: cmd/i3c.c
+F: drivers/i3c/
+
KWBIMAGE / KWBOOT TOOLS
M: Pali Rohár <pali@kernel.org>
M: Marek Behún <kabel@kernel.org>
diff --git a/drivers/Kconfig b/drivers/Kconfig
index a073230c26d..0b0c610e629 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -56,6 +56,8 @@ source "drivers/hwspinlock/Kconfig"
source "drivers/i2c/Kconfig"
+source "drivers/i3c/Kconfig"
+
source "drivers/input/Kconfig"
source "drivers/iommu/Kconfig"
diff --git a/drivers/Makefile b/drivers/Makefile
index 3c0ad17138f..7560008a842 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -17,6 +17,7 @@ obj-$(CONFIG_$(PHASE_)DRIVERS_MISC) += misc/
obj-$(CONFIG_$(PHASE_)SYSRESET) += sysreset/
obj-$(CONFIG_$(PHASE_)FIRMWARE) +=firmware/
obj-$(CONFIG_$(PHASE_)I2C) += i2c/
+obj-$(CONFIG_$(PHASE_)I3C) += i3c/
obj-$(CONFIG_$(PHASE_)INPUT) += input/
obj-$(CONFIG_$(PHASE_)LED) += led/
obj-$(CONFIG_$(PHASE_)MMC) += mmc/
diff --git a/drivers/i3c/Kconfig b/drivers/i3c/Kconfig
new file mode 100644
index 00000000000..1d76a70eaa8
--- /dev/null
+++ b/drivers/i3c/Kconfig
@@ -0,0 +1,15 @@
+menuconfig I3C
+ tristate "I3C support"
+ select I2C
+ help
+ I3C is a serial protocol standardized by the MIPI alliance.
+
+ It's supposed to be backward compatible with I2C while providing
+ support for high speed transfers and native interrupt support
+ without the need for extra pins.
+
+ The I3C protocol also standardizes the slave device types and is
+ mainly designed to communicate with sensors.
+
+ If you want I3C support, you should say Y here and also to the
+ specific driver for your bus adapter(s) below.
diff --git a/drivers/i3c/Makefile b/drivers/i3c/Makefile
new file mode 100644
index 00000000000..5bb44a8d64f
--- /dev/null
+++ b/drivers/i3c/Makefile
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
+
+obj-y := i3c-uclass.o device.o master.o