Skip to content

Conversation

@stevenlee7189
Copy link
Collaborator

Includes:

  • i3c_controller.rs: main controller logic for master/target
  • i3c_master.rs: master mode operations (DAA, private xfer, CCC handling)
  • i3c_target.rs: target mode support and IBI response flow
  • i3c_config.rs: configuration structure and timing setup
  • ibi_workq.rs: IBI workqueue handler and task scheduling
  • ccc.rs: CCC command helpers (ENEC, GETSTATUS, SETDASA, etc.)
  • ast1060_i3c.rs: AST1060-specific register mapping and initialization
  • i3c_test.rs: basic test hooks for controller and device ops
  • mod.rs: module integration and trait exports

This commit introduces the initial functional version of the ASPEED I3C driver in Rust, supporting both master and target modes, CCC handling, IBI workqueue, and configuration flow based on the Zephyr reference.

Includes:
- i3c_controller.rs: main controller logic for master/target
- i3c_master.rs: master mode operations (DAA, private xfer, CCC handling)
- i3c_target.rs: target mode support and IBI response flow
- i3c_config.rs: configuration structure and timing setup
- ibi_workq.rs: IBI workqueue handler and task scheduling
- ccc.rs: CCC command helpers (ENEC, GETSTATUS, SETDASA, etc.)
- ast1060_i3c.rs: AST1060-specific register mapping and initialization
- i3c_test.rs: basic test hooks for controller and device ops
- mod.rs: module integration and trait exports

This commit introduces the initial functional version of the ASPEED I3C
driver in Rust, supporting both master and target modes, CCC handling,
IBI workqueue, and configuration flow based on the Zephyr reference.

Signed-off-by: Steven Lee <[email protected]>
Fix format issues

Signed-off-by: Steven Lee <[email protected]>
@stevenlee7189
Copy link
Collaborator Author

@rusty1968 i3c driver(master+target) is ready for review.

Remove hardcoded timing settings.

Signed-off-by: Steven Lee <[email protected]>
Originally, the I3C functional test cases were designed for the DCSCM card.
This update adjust them to work with the ast1060_prot EVB.

Signed-off-by: Steven Lee <[email protected]>
Signed-off-by: Steven Lee <[email protected]>
Originally, the I3C functional test cases were designed for the DCSCM card.
This update adjust them to work with the ast1060_prot EVB.

Signed-off-by: Steven Lee <[email protected]>
@stevenlee7189
Copy link
Collaborator Author

stevenlee7189 commented Oct 23, 2025

uart_ast10x0_i3c.zip

Attached prebuilt images for verifying I3C bus functionality on the ast1060_prot EVB.
Ensure J15 jumper is configured with pins 13–14 shorted and pins 15–16 shorted before powering on the board

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant