Skip to content

Commit

Permalink
mctp i3c: MCTP I3C driver
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mkj authored and Paolo Abeni committed Oct 17, 2023
1 parent 0ac6486 commit c8755b2
Show file tree
Hide file tree
Showing 3 changed files with 765 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/net/mctp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ config MCTP_TRANSPORT_I2C
from DMTF specification DSP0237. A MCTP protocol network device is
created for each I2C bus that has been assigned a mctp-i2c device.

config MCTP_TRANSPORT_I3C
tristate "MCTP I3C transport"
depends on I3C
help
Provides a driver to access MCTP devices over I3C transport,
from DMTF specification DSP0233.
A MCTP protocol network device is created for each I3C bus
having a "mctp-controller" devicetree property.

endmenu

endif
1 change: 1 addition & 0 deletions drivers/net/mctp/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
obj-$(CONFIG_MCTP_SERIAL) += mctp-serial.o
obj-$(CONFIG_MCTP_TRANSPORT_I2C) += mctp-i2c.o
obj-$(CONFIG_MCTP_TRANSPORT_I3C) += mctp-i3c.o
Loading

0 comments on commit c8755b2

Please sign in to comment.