Skip to content

Commit c8755b2

Browse files
mkjPaolo Abeni
authored and
Paolo Abeni
committed
mctp i3c: MCTP I3C driver
Provides MCTP network transport over an I3C bus, as specified in DMTF DSP0233. Each I3C bus (with "mctp-controller" devicetree property) gets an "mctpi3cX" net device created. I3C devices are reachable as remote endpoints through that net device. Link layer addressing uses the I3C PID as a fixed hardware address for neighbour table entries. The driver matches I3C devices that have the MIPI assigned DCR 0xCC for MCTP. Signed-off-by: Matt Johnston <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
1 parent 0ac6486 commit c8755b2

File tree

3 files changed

+765
-0
lines changed

3 files changed

+765
-0
lines changed

drivers/net/mctp/Kconfig

+9
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ config MCTP_TRANSPORT_I2C
3333
from DMTF specification DSP0237. A MCTP protocol network device is
3434
created for each I2C bus that has been assigned a mctp-i2c device.
3535

36+
config MCTP_TRANSPORT_I3C
37+
tristate "MCTP I3C transport"
38+
depends on I3C
39+
help
40+
Provides a driver to access MCTP devices over I3C transport,
41+
from DMTF specification DSP0233.
42+
A MCTP protocol network device is created for each I3C bus
43+
having a "mctp-controller" devicetree property.
44+
3645
endmenu
3746

3847
endif

drivers/net/mctp/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
obj-$(CONFIG_MCTP_SERIAL) += mctp-serial.o
22
obj-$(CONFIG_MCTP_TRANSPORT_I2C) += mctp-i2c.o
3+
obj-$(CONFIG_MCTP_TRANSPORT_I3C) += mctp-i3c.o

0 commit comments

Comments
 (0)