From: Dinesh Maniyam Date: Wed, 6 Aug 2025 04:32:27 +0000 (+0800) Subject: drivers: Enabled Kconfig and Makefile for i3c support X-Git-Tag: v2025.10-rc2~14^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a19a6e7124a4225220e1d53d021669332ef81628;p=pandora-u-boot.git drivers: Enabled Kconfig and Makefile for i3c support Add new i3c driver to U-Boot drivers. Signed-off-by: Dinesh Maniyam --- 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 +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 M: Marek Behún 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