Re: [PATCH v5 15/16] samples: rust: add Rust platform sample driver

Rob Herring
2024-12-11T15:29:04Z

On Tue, Dec 10, 2024 at 11:46:42PM +0100, Danilo Krummrich wrote:
> Add a sample Rust platform driver illustrating the usage of the platform
> bus abstractions.
>
> This driver probes through either a match of device / driver name or a
> match within the OF ID table.
>
> Signed-off-by: Danilo Krummrich <dakr@kernel.org>
> ---
> MAINTAINERS | 1 +
> drivers/of/unittest-data/tests-platform.dtsi | 5 ++
> samples/rust/Kconfig | 10 ++++
> samples/rust/Makefile | 1 +
> samples/rust/rust_driver_platform.rs | 49 ++++++++++++++++++++
> 5 files changed, 66 insertions(+)
> create mode 100644 samples/rust/rust_driver_platform.rs

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>