Messages in this thread |  | | From | Remo Senekowitsch <> | | Subject | [PATCH v5 0/9] More Rust bindings for device property reads | | Date | Tue, 20 May 2025 22:00:15 +0200 |
| |
changes in v5: * Move rust/kernel/device/mod.rs back to rust/kernel/device.rs. * Reword some commit messages. * Leave property_present on Device for now to make merging easier. * Cleanup Rust platform driver sample. * Fix conflict with alloc-next tree. * Improve documentation and safety comments. * Seal the traits Property and PropertyInt. * Move more logic into the PropertyInt trait, making its methods safe.
Best regards, Remo
Remo Senekowitsch (9): rust: device: Create FwNode abstraction for accessing device properties rust: device: Enable accessing the FwNode of a Device rust: device: Add property_present() to FwNode rust: device: Enable printing fwnode name and path rust: device: Introduce PropertyGuard rust: device: Implement accessors for firmware properties rust: device: Add child accessor and iterator rust: device: Add property_get_reference_args samples: rust: platform: Add property read examples
MAINTAINERS | 1 + drivers/of/unittest-data/tests-platform.dtsi | 3 + rust/helpers/helpers.c | 1 + rust/helpers/property.c | 8 + rust/kernel/device.rs | 17 + rust/kernel/device/property.rs | 578 +++++++++++++++++++ samples/rust/rust_driver_platform.rs | 60 +- 7 files changed, 667 insertions(+), 1 deletion(-) create mode 100644 rust/helpers/property.c create mode 100644 rust/kernel/device/property.rs
-- 2.49.0
|  |