Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add I3C slave support #56

Closed
wants to merge 8 commits into from
Closed

Add I3C slave support #56

wants to merge 8 commits into from

Conversation

su-shih-hsin
Copy link

Add I3C slave to response message with IBI
Fix error, master will retry if slave (FW based) can't response in time

su-shih-hsin added 6 commits August 14, 2023 16:40
2. Add test application, tests\boards\npcm400f_evb for I3c controller API
3. merge a patch for stack warning in arch\arm\include\aarch32\cortex_m\stack.h

To test i3c,
1. You should comment PECI and uncomment for i3c default pin control in \boards\arm\npcm400f_evb\npcm400f_evb_defconfig
   #CONFIG_PECI=y
   #CONFIG_PECI_NPCM4XX=y

   CONFIG_I3C=y
   CONFIG_I3C_NPCM4XX=y

2. You must disable i2c6a node in \boards\arm\npcm400f_evb\npcm400f_evb.dts to prevent interrupt sharing.
   &i2c6a {
	clock-frequency = <200000>;
	status = "disabled";
   };

3. connect LSM6DSO to I3C1

Signed-off-by: su-shih-hsin <[email protected]>
…ply data fast enough

2. i3c slave, support send response data with ibi
Add patch, Master will retry if slave (FW based) can't response in time
Add patch, Master will retry if slave (FW based) can't response in time
su-shih-hsin added 2 commits September 4, 2023 13:28
Add patch, Master will retry if slave (FW based) can't response in time
…ed data.

2. Update MAXRD = 256 and MAXWR = 256 in MAXLIMITS register
3. Don't handle Slave DMA if START comes after STOP too quickly.
4. Remove the redundant delay in sir_allowed_worker() and test_i3c_ci()
@su-shih-hsin su-shih-hsin closed this by deleting the head repository Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant