rust: Add basic GPIO consumer abstractions
Get series with b4
b4 am [email protected] change-id 20260905-add-rust-gpio-consumer-8799f86bbbfdVersions newest first
- v1 Latest3 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | rust: gpio: add GPIO module with common definitionsrust/ rust/ rust/ | +155 | 5 replies | |
| 2/3 | rust: gpio: Add basic consumer abstractionsrust/ rust/ rust/ | +440 | 3 replies | |
| 3/3 | sample: rust: Add GPIO consumer sample driversamples/ samples/ samples/ | +168 | 8 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] rust: Add basic GPIO consumer abstractions
This series introduces basic GPIO consumer abstractions for Rust.
- Patch 1 adds the top-level GPIO module with minimal common definitions.
- Patch 2 adds the initial GPIO consumer (gpio_desc) abstraction.
- Patch 3 adds a sample driver to demonstrate the use of the Rust GPIO APIs.
Signed-off-by Kohei Ito <[email protected]>
---
Kohei Ito (3):
rust: gpio: add GPIO module with common definitions
rust: gpio: Add basic consumer abstractions
sample: rust: Add GPIO consumer sample driver
rust/bindings/bindings_helper.h | 2 + rust/kernel/gpio.rs | 154 +++++++++++++ rust/kernel/gpio/consumer.rs | 437 +++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + samples/rust/Kconfig | 11 + samples/rust/Makefile | 1 + samples/rust/rust_gpio_consumer.rs | 156 +++++++++++++ 7 files changed, 763 insertions(+)
---
base-commit: 8d3ae59288f1e7d58d76558a6ee96d533bc5019f
change-id: 20260905-add-rust-gpio-consumer-8799f86bbbfd
Best regards,
Signature · 1 line
Kohei Ito <[email protected]>