Add i3c module with pointer-based architecture and minimal coupling

Integrate i3c controller from aspeed-rust into peripherals crate with:
- Raw pointer architecture: Replace generic Instance trait with direct
  *const pointers to i3c and i3cglobal register blocks
- Yield closure pattern: Use Y: FnMut(u32) for cooperative polling instead
  of blocking DelayNs trait calls
- No SCU coupling: Remove all SCU reset/clock operations; caller responsible
  for pre-initialization
- No Logger coupling: Remove Logger trait; provide no-op stubs in common.rs
- Aligned with i2c module design: Minimal hardware abstraction layer with
  safe helper methods for register access

Complete build with all tests passing.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
14 files changed
tree: f2c9796ad574d66b4605f742602cb7ec5c733611
  1. .github/
  2. docs/
  3. drivers/
  4. hal/
  5. openprot/
  6. platform/
  7. presubmit/
  8. services/
  9. target/
  10. third_party/
  11. tools/
  12. util/
  13. .bazelignore
  14. .bazelrc
  15. .bazelversion
  16. .clang-format
  17. .gitignore
  18. .semgrepignore
  19. BUILD.bazel
  20. CONTRIBUTING.md
  21. LICENSE
  22. MODULE.bazel
  23. MODULE.bazel.lock
  24. pw
  25. README.md
  26. rust-toolchain.toml
  27. workflows.json
README.md

OpenPRoT

Technical Charter

The OpenPRoT Technical Charter can be found at https://github.com/OpenPRoT/.github/blob/main/GOVERNANCE.md

Getting Started

NOTE: We are converting our build system to bazel. We recommend installing bazelisk to automatically manage bazel versions.

Available Tasks

You can run tasks using the Pigweed workflow launcher pw or bazel.

  • ./pw presubmit - Run presubmit checks: formatting, license checks, C/C++ header checks and clippy.
  • ./pw format - Run the code formatters.
  • bazel test //... - Run all tests.
  • bazel build //docs - Build documentation.

Development

The project is structured as a bazel module.

Requirements

  • Bazel. We recommend installing bazelisk to automatically manage bazel versions.

No additional tools are required - all dependencies are managed by bazel.