[PATCH 0/2] Support exporting SoC info from Rust

Matthew Maurer posted 2 patches 1 day, 3 hours ago
MAINTAINERS                     |   2 +
rust/bindings/bindings_helper.h |   1 +
rust/kernel/lib.rs              |   2 +
rust/kernel/soc.rs              | 137 ++++++++++++++++++++++++++++++++++++++++
samples/rust/Kconfig            |  11 ++++
samples/rust/Makefile           |   1 +
samples/rust/rust_soc.rs        |  74 ++++++++++++++++++++++
7 files changed, 228 insertions(+)
[PATCH 0/2] Support exporting SoC info from Rust
Posted by Matthew Maurer 1 day, 3 hours ago
This is a fairly straightforward binding of `soc_device_register` and
`soc_device_unregister` which allows a driver to export basic info about
a SoC.

The second patch is a sample demonstrating usage, and can be dropped
without issue.

Signed-off-by: Matthew Maurer <mmaurer@google.com>
---
Matthew Maurer (2):
      rust: Add soc_device support
      rust: Add SoC Driver Sample

 MAINTAINERS                     |   2 +
 rust/bindings/bindings_helper.h |   1 +
 rust/kernel/lib.rs              |   2 +
 rust/kernel/soc.rs              | 137 ++++++++++++++++++++++++++++++++++++++++
 samples/rust/Kconfig            |  11 ++++
 samples/rust/Makefile           |   1 +
 samples/rust/rust_soc.rs        |  74 ++++++++++++++++++++++
 7 files changed, 228 insertions(+)
---
base-commit: 008d3547aae5bc86fac3eda317489169c3fda112
change-id: 20251029-soc-bindings-9b0731bcdbed

Best regards,
-- 
Matthew Maurer <mmaurer@google.com>