Skip to content

Commit

Permalink
Merge branch 'mctp-add-mctp-over-usb-hardware-transport-binding'
Browse files Browse the repository at this point in the history
Jeremy Kerr says:

====================
mctp: Add MCTP-over-USB hardware transport binding

Add an implementation of the DMTF standard DSP0283, providing an MCTP
channel over high-speed USB.

This is a fairly trivial first implementation, in that we only submit
one tx and one rx URB at a time. We do accept multi-packet transfers,
but do not yet generate them on transmit.

Of course, questions and comments are most welcome, particularly on the
USB interfaces.

v2: https://lore.kernel.org/[email protected]
v1: https://lore.kernel.org/[email protected]
====================

Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
kuba-moo committed Feb 22, 2025
2 parents e6a5321 + 0791c03 commit b66e19d
Show file tree
Hide file tree
Showing 6 changed files with 428 additions and 0 deletions.
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -13896,6 +13896,7 @@ L: [email protected]
S: Maintained
F: Documentation/networking/mctp.rst
F: drivers/net/mctp/
F: include/linux/usb/mctp-usb.h
F: include/net/mctp.h
F: include/net/mctpdevice.h
F: include/net/netns/mctp.h
Expand Down
10 changes: 10 additions & 0 deletions drivers/net/mctp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ config MCTP_TRANSPORT_I3C
A MCTP protocol network device is created for each I3C bus
having a "mctp-controller" devicetree property.

config MCTP_TRANSPORT_USB
tristate "MCTP USB transport"
depends on USB
help
Provides a driver to access MCTP devices over USB transport,
defined by DMTF specification DSP0283.

MCTP-over-USB interfaces are peer-to-peer, so each interface
represents a physical connection to one remote MCTP endpoint.

endmenu

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

0 comments on commit b66e19d

Please sign in to comment.