]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: Add soc_device support
authorMatthew Maurer <mmaurer@google.com>
Fri, 26 Dec 2025 20:17:07 +0000 (20:17 +0000)
committerDanilo Krummrich <dakr@kernel.org>
Sun, 28 Dec 2025 11:43:56 +0000 (12:43 +0100)
commit057d44b057755f31a38a3cb040960e8727b93610
treeaffb8e4337112e3160accc29e1aba3c0799fb894
parent43e3518582cfc0fc1bb536b62d7f8366ee069ce9
rust: Add soc_device support

Allow SoC drivers in Rust to present metadata about their devices to
userspace through /sys/devices/socX and other drivers to identify their
properties through `soc_device_match`.

Signed-off-by: Matthew Maurer <mmaurer@google.com>
Link: https://patch.msgid.link/20251226-soc-bindings-v4-1-2c2fac08f820@google.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
MAINTAINERS
rust/bindings/bindings_helper.h
rust/kernel/lib.rs
rust/kernel/soc.rs [new file with mode: 0644]