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

I3c controller driver #50

Merged
merged 1 commit into from
Aug 14, 2023
Merged

I3c controller driver #50

merged 1 commit into from
Aug 14, 2023

Conversation

su-shih-hsin
Copy link

  1. Add I3c controller driver support
  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

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]>
@maxdog988 maxdog988 merged commit 021fa39 into Nuvoton-Israel:npcm-v2.6 Aug 14, 2023
1 check passed
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.

2 participants