From: Dinesh Maniyam <[email protected]> Enable I3C driver support.
Signed-off-by: Dinesh Maniyam <[email protected]> --- drivers/i3c/Kconfig | 21 +++++++++++++++++++++ drivers/i3c/Makefile | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 drivers/i3c/Kconfig create mode 100644 drivers/i3c/Makefile diff --git a/drivers/i3c/Kconfig b/drivers/i3c/Kconfig new file mode 100644 index 0000000000..00c8d19f62 --- /dev/null +++ b/drivers/i3c/Kconfig @@ -0,0 +1,21 @@ +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. + +config DW_I3C_MASTER + tristate "Synospsys DesignWare I3C master driver" + depends on I3C + help + Support for Synopsys DesignWare MIPI I3C Controller. \ No newline at end of file diff --git a/drivers/i3c/Makefile b/drivers/i3c/Makefile new file mode 100644 index 0000000000..2d42864d79 --- /dev/null +++ b/drivers/i3c/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + +obj-$(CONFIG_DW_I3C_MASTER) += dw-i3c-master.o \ No newline at end of file -- 2.26.2

