-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
base: main
Are you sure you want to change the base?
Add rt1180 i3c support #81855
Conversation
samples/sensor/thermometer/boards/mimxrt1180_evk_mimxrt1189_cm33.overlay
Outdated
Show resolved
Hide resolved
i3c-scl-hz = <DT_FREQ_M(4)>; | ||
i3c-od-scl-hz = <DT_FREQ_K(1500)>; | ||
|
||
p3t1755: p3t1755@4800000236152a0090 { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The name "shield" wasn't defined by me. NXP release the P3T1755DP Arduino® Shield Evaluation Board officially on NXP web
- Yes, we can use this board on a bunch of platforms, if exist arduino interface and standalone I3C interface on nxp board.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
1903bb1
to
516dc33
Compare
6c068af
to
4187e99
Compare
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]>
4187e99
to
899b546
Compare
filter: dt_alias_exists("ambient-temp0") | ||
extra_args: SHIELD=p3t1755dp_ard | ||
platform_allow: | ||
- mimxrt1180_evk/mimxrt1189/cm33 # p3t1755 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not add this, you can update the original test scenario by using
extra_args: platform:mimxrt1180_evk/mimxrt1189/cm33:SHIELD=p3t1755dp_ard
test PASS
|
Support p3t1755 shield board on thermometer sample case using i3c2 instance.