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 rt1180 i3c support #81855

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

lucien-nxp
Copy link
Contributor

Support p3t1755 shield board on thermometer sample case using i3c2 instance.

drivers/clock_control/clock_control_mcux_ccm_rev2.c Outdated Show resolved Hide resolved
i3c-scl-hz = <DT_FREQ_M(4)>;
i3c-od-scl-hz = <DT_FREQ_K(1500)>;

p3t1755: p3t1755@4800000236152a0090 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a question- should we be defining this as a shield? It seems like we might reuse this sensor for I3C enablement on a bunch of platforms, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. The name "shield" wasn't defined by me. NXP release the P3T1755DP Arduino® Shield Evaluation Board officially on NXP web
  2. Yes, we can use this board on a bunch of platforms, if exist arduino interface and standalone I3C interface on nxp board.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. We don't need to do this as part of this PR, but we should consider defining this as a shield to simplify future enablement- especially because it is using the Arduino interface. Is the I3C bus on the RT1180 exposed on the same pins Arduino typically uses for I2C?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for pointing out. I have added p3t1755dp_ard shield board and support shield board on RT1180 board.

@lucien-nxp lucien-nxp force-pushed the add_rt1180_i3c_support branch 3 times, most recently from 1903bb1 to 516dc33 Compare December 1, 2024 08:37
@zephyrbot zephyrbot added the area: Shields Shields (add-on boards) label Dec 1, 2024
@lucien-nxp lucien-nxp force-pushed the add_rt1180_i3c_support branch 3 times, most recently from 6c068af to 4187e99 Compare December 2, 2024 01:19
Add a shield for P3T1755DP-ARD modules.
Support the shield on MIMXRT1180-EVK board.

Signed-off-by: Lucien Zhao <[email protected]>
add i3c instances
enable i3c clock under soc folder

Signed-off-by: Lucien Zhao <[email protected]>
add i3c case to get i3c instance clock

Signed-off-by: Lucien Zhao <[email protected]>
add the i3c2 pin setting
set i3c2 instance as ok status

Signed-off-by: Lucien Zhao <[email protected]>
add mimxrt1180-evk board support description
add shield parameter description for RT1180 board

Signed-off-by: Lucien Zhao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants