]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
samples: rust: add a USB driver sample
authorDaniel Almeida <daniel.almeida@collabora.com>
Mon, 25 Aug 2025 18:18:06 +0000 (15:18 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2025 11:13:04 +0000 (13:13 +0200)
commitcc80dbb73b5d0c75b105e5214f34e1360670e0a5
tree284547a1504e68ab1f68b47b30bf92719fb69ba5
parente7e2296b0ecf9b6e934f7a1118cee91d4d486a84
samples: rust: add a USB driver sample

In light of the newly-added Rust abstractions for USB devices and
drivers, add a sample USB rust driver that serves both to showcase what
is currently supported, as well as be the only user of the USB
abstractions for now.

Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com>
Link: https://lore.kernel.org/r/20250825-b4-usb-v1-2-7aa024de7ae8@collabora.com
[ force USB = y for now - gregkh ]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
samples/rust/Kconfig
samples/rust/Makefile
samples/rust/rust_driver_usb.rs [new file with mode: 0644]