]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
drivers: Enabled Kconfig and Makefile for i3c support
authorDinesh Maniyam <dinesh.maniyam@altera.com>
Wed, 6 Aug 2025 04:32:27 +0000 (12:32 +0800)
committerHeiko Schocher <hs@denx.de>
Wed, 6 Aug 2025 06:38:26 +0000 (08:38 +0200)
Add new i3c driver to U-Boot drivers.

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

index cae855da60ea7f25287933577181c3cb6c0f0b20..d6c4587bf866a352551f33bf1c5f217c54ebe884 100644 (file)
@@ -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>
index a073230c26dd6a94d2ab46fd8e68278e30b51352..0b0c610e6294ab7d05d36058727e1eef765145f2 100644 (file)
@@ -56,6 +56,8 @@ source "drivers/hwspinlock/Kconfig"
 
 source "drivers/i2c/Kconfig"
 
+source "drivers/i3c/Kconfig"
+
 source "drivers/input/Kconfig"
 
 source "drivers/iommu/Kconfig"
index 3c0ad17138f011e84489149e391c987dfe0705fa..7560008a842203ba142041446c20268a1113f674 100644 (file)
@@ -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 (file)
index 0000000..1d76a70
--- /dev/null
@@ -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 (file)
index 0000000..5bb44a8
--- /dev/null
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
+
+obj-y                          := i3c-uclass.o device.o master.o