rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Support exporting SoC info from Rust
@ 2025-12-12 23:14 Matthew Maurer
  2025-12-12 23:14 ` [PATCH 1/2] rust: Add soc_device support Matthew Maurer
  2025-12-12 23:14 ` [PATCH 2/2] rust: Add SoC Driver Sample Matthew Maurer
  0 siblings, 2 replies; 5+ messages in thread
From: Matthew Maurer @ 2025-12-12 23:14 UTC (permalink / raw)
  To: Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
	Benno Lossin, Andreas Hindborg, Alice Ryhl, Trevor Gross,
	Danilo Krummrich, Greg Kroah-Hartman, Rafael J. Wysocki
  Cc: linux-kernel, rust-for-linux, Matthew Maurer

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>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-12-15 11:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-12 23:14 [PATCH 0/2] Support exporting SoC info from Rust Matthew Maurer
2025-12-12 23:14 ` [PATCH 1/2] rust: Add soc_device support Matthew Maurer
2025-12-15 11:11   ` Danilo Krummrich
2025-12-12 23:14 ` [PATCH 2/2] rust: Add SoC Driver Sample Matthew Maurer
2025-12-13  7:06   ` Dirk Behme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).